From: "Habil Eren Türker" <habilerenturker@hotmail.com>
To: "Habil Eren Türker" <habilerenturker@hotmail.com>
Cc: "jgg@ziepe.ca" <jgg@ziepe.ca>,
"jiri@resnulli.us" <jiri@resnulli.us>,
"leon@kernel.org" <leon@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"parav@nvidia.com" <parav@nvidia.com>,
"syzbot+8c2fa00c27ecafd148f5@syzkaller.appspotmail.com"
<syzbot+8c2fa00c27ecafd148f5@syzkaller.appspotmail.com>
Subject: [PATCH] RDMA/core: Fix slab-use-after-free in kernfs_find_ns()
Date: Tue, 24 Nov 2026 19:39:58 +0000 [thread overview]
Message-ID: <20261124193956.62075-1-habilerenturker@hotmail.com> (raw)
In-Reply-To: <20261124163151.50468-2-habilerenturker@hotmail.com>
Hi,
Tested with CONFIG_KASAN=y, CONFIG_PROVE_LOCKING=y, CONFIG_LOCKDEP=y
and CONFIG_RDMA_RXE=y on QEMU with -smp 4, using the syzbot reproducer.
Without the patch (pre-c41d577ac525), the reproducer reliably triggers
a KASAN slab-use-after-free in the device_del() path (observed in
kobject_uevent_env, reading a uevent_net that was freed by cleanup_net
in a racing netns teardown).
With the patch applied, the same reproducer over 10 iterations of the
rxe0 add/del + netns teardown race shows no KASAN splat and no lockdep
warning.
Regards,
Türker
next prev parent reply other threads:[~2026-11-24 19:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 16:32 Habil Eren Türker
2026-11-24 19:39 ` Habil Eren Türker [this message]
2026-11-26 12:17 ` Leon Romanovsky
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=20261124193956.62075-1-habilerenturker@hotmail.com \
--to=habilerenturker@hotmail.com \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=parav@nvidia.com \
--cc=syzbot+8c2fa00c27ecafd148f5@syzkaller.appspotmail.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®