Re: [BUG] KASAN: slab-use-after-free in pci_endpoint_test_ioctl

From: Greg KH

Date: Sun Jun 14 2026 - 22:40:47 EST


On Sun, Jun 14, 2026 at 06:16:39PM -0400, Shuangpeng Bai wrote:
> Hi Kernel Maintainers,
>
> I hit the following report while testing current upstream kernel:
>
> KASAN: slab-use-after-free in pci_endpoint_test_ioctl
>
> I reproduced this on commit: e8c2f9fdadee7cbc75134dc463c1e0d856d6e5c7 (May 25 2026)
>
> The reproducer and .config files are here.
> https://gist.github.com/shuangpengbai/1e03464adfefbb75fb5d8112691e38b3
>
> I'm happy to test debug patches or provide additional information.

As we are drowning in real/fake/unknown bug reports, why not take the
time to work on a patch to fix these issues as you have a reproducer for
them? That way you get full credit for the fix.

thanks,

greg k-h