[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <691ca91c.a70a0220.3124cb.00d2.GAE@google.com>
Date: Tue, 18 Nov 2025 09:13:00 -0800
From: syzbot <syzbot+b4c65e7d749285a82467@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Forwarded: [syzbot] [kernel?] general protection fault in put_ipc_ns
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com.
***
Subject: [syzbot] [kernel?] general protection fault in put_ipc_ns
Author: hellouser819@...il.com
#syz test
diff --git a/ipc/namespace.c b/ipc/namespace.c
index 535f16e..ea3015c 100644
--- a/ipc/namespace.c
+++ b/ipc/namespace.c
@@ -201,7 +201,7 @@ static void free_ipc(struct work_struct *unused)
*/
void put_ipc_ns(struct ipc_namespace *ns)
{
- if (ns_ref_put_and_lock(ns, &mq_lock)) {
+ if (ns != NULL && ns_ref_put_and_lock(ns, &mq_lock)) {
mq_clear_sbinfo(ns);
spin_unlock(&mq_lock);
Powered by blists - more mailing lists