[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_53EC36AE4A8A751776E7672A3C8737D69709@qq.com>
Date: Sat, 13 Jan 2024 18:55:09 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+a5e651ca75fa0260acd5@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [f2fs?] KASAN: slab-use-after-free Read in destroy_device_list
please test slab-use-after-free Read in destroy_device_list
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 23a80d462c67
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index d00d21a8b53a..9939e2445b1e 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -4879,6 +4879,7 @@ static int f2fs_fill_super(struct super_block *sb, void *data, int silent)
free_sbi:
if (sbi->s_chksum_driver)
crypto_free_shash(sbi->s_chksum_driver);
+ sb->s_fs_info = NULL;
kfree(sbi);
/* give only one another chance */
Powered by blists - more mailing lists