summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2_regs.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2024-08-02 18:36:47 +0200
committerTom Rini <trini@konsulko.com>2024-08-15 16:14:36 -0600
commit4f5cc096bfd0a591f8a11e86999e3d90a9484c34 (patch)
tree201c9c347730ed88a64c748a7fcc75af23ba6283 /drivers/ddr/microchip/ddr2_regs.h
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 <richard@nod.at> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions