summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2024-08-02 18:36:47 +0200
committerTom Rini <[email protected]>2024-08-15 16:14:36 -0600
commit4f5cc096bfd0a591f8a11e86999e3d90a9484c34 (patch)
tree201c9c347730ed88a64c748a7fcc75af23ba6283 /include/linux
parent3fb1df1e57ee26f4b92932de804ef265e5ae0d3b (diff)
squashfs: Fix stack overflow while symlink resolving
The squashfs driver blindly follows symlinks, and calls sqfs_size() recursively. So an attacker can create a crafted filesystem and with a deep enough nesting level a stack overflow can be achieved. Fix by limiting the nesting level to 8. Signed-off-by: Richard Weinberger <[email protected]> Reviewed-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions