aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug_vm_pgtable.c
diff options
context:
space:
mode:
authorPhillip Lougher <[email protected]>2025-08-11 22:37:40 +0000
committerAndrew Morton <[email protected]>2025-08-19 23:35:53 +0000
commitb64700d41bdc4e9f82f1346c15a3678ebb91a89c (patch)
treec8be9bf503c746e9e308bf366144807bc2a33662 /mm/debug_vm_pgtable.c
parentkho: warn if KHO is disabled due to an error (diff)
downloadkernel-b64700d41bdc4e9f82f1346c15a3678ebb91a89c.tar.gz
kernel-b64700d41bdc4e9f82f1346c15a3678ebb91a89c.zip
squashfs: fix memory leak in squashfs_fill_super
If sb_min_blocksize returns 0, squashfs_fill_super exits without freeing allocated memory (sb->s_fs_info). Fix this by moving the call to sb_min_blocksize to before memory is allocated. Link: https://lkml.kernel.org/r/[email protected] Fixes: 734aa85390ea ("Squashfs: check return result of sb_min_blocksize") Signed-off-by: Phillip Lougher <[email protected]> Reported-by: Scott GUO <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions