From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+25317a459958aec47bfa@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] general protection fault in pidfs_free_pid
Date: Tue, 24 Jun 2025 08:55:51 +0800 [thread overview]
Message-ID: <20250624005552.1589-1-hdanton@sina.com> (raw)
In-Reply-To: <68599c8e.a00a0220.34b642.000f.GAE@google.com>
> 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;
/*
--
next prev parent reply other threads:[~2025-06-24 0:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 18:27 syzbot
2025-06-24 0:55 ` Hillf Danton [this message]
2025-06-24 2:23 ` syzbot
2025-06-24 8:44 ` Christian Brauner
2025-06-24 8:45 ` Christian Brauner
2025-06-24 8:45 ` syzbot
2025-06-24 9:23 ` Christian Brauner
2025-06-24 10:39 ` syzbot
2025-06-24 10:52 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250624005552.1589-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+25317a459958aec47bfa@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®