linux-yocto/fs/exfat
Namjae Jeon 66e84439ec exfat: fix double free in delayed_free
[ Upstream commit 1f3d9724e1 ]

The double free could happen in the following path.

exfat_create_upcase_table()
        exfat_create_upcase_table() : return error
        exfat_free_upcase_table() : free ->vol_utbl
        exfat_load_default_upcase_table : return error
     exfat_kill_sb()
           delayed_free()
                  exfat_free_upcase_table() <--------- double free
This patch set ->vol_util as NULL after freeing it.

Reported-by: Jianzhou Zhao <xnxc22xnxc22@qq.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:05:28 +01:00
..
balloc.c exfat: fix soft lockup in exfat_clear_bitmap 2025-03-13 12:51:07 +01:00
cache.c
dir.c exfat: fix the infinite loop in exfat_readdir() 2025-01-23 17:15:48 +01:00
exfat_fs.h exfat: fix soft lockup in exfat_clear_bitmap 2025-03-13 12:51:07 +01:00
exfat_raw.h
fatent.c exfat: fix the infinite loop in exfat_find_last_cluster() 2025-04-10 14:32:02 +02:00
file.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00
inode.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00
Kconfig
Makefile
misc.c
namei.c exfat: fix uninit-value in __exfat_get_dentry_set 2024-12-14 19:51:14 +01:00
nls.c exfat: fix double free in delayed_free 2025-06-27 11:05:28 +01:00
super.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00