[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250624005552.1589-1-hdanton@sina.com>
Date: Tue, 24 Jun 2025 08:55:51 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+25317a459958aec47bfa@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [fs?] general protection fault in pidfs_free_pid
> Date: Mon, 23 Jun 2025 11:27:26 -0700
> syzbot found the following issue on:
>
> HEAD commit: 5d4809e25903 Add linux-next specific files for 20250620
> git tree: linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=150ef30c580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=58afc4b78b52b7e3
> dashboard link: https://syzkaller.appspot.com/bug?extid=25317a459958aec47bfa
> compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10a5330c580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12c9f6bc580000
#syz test
--- x/fs/pidfs.c
+++ y/fs/pidfs.c
@@ -150,7 +150,7 @@ void pidfs_free_pid(struct pid *pid)
*/
VFS_WARN_ON_ONCE(pid->stashed);
- if (IS_ERR(attr))
+ if (IS_ERR(attr) || !attr)
return;
/*
--
Powered by blists - more mailing lists