Re: [BUG] KASAN: slab-out-of-bounds in select_usb_power_delivery_show
From: Greg KH
Date: Sun Jun 14 2026 - 12:38:36 EST
On Sun, Jun 14, 2026 at 11:22:45AM -0400, Shuangpeng Bai wrote:
> Hi Kernel Maintainers,
>
> I hit the following report while testing current upstream kernel:
>
> KASAN: slab-out-of-bounds in select_usb_power_delivery_show
>
> on commit: e8c2f9fdadee7cbc75134dc463c1e0d856d6e5c7 (May 25 2026)
What about the latest tree?
>
> The reproducer and .config files are here.
> https://gist.github.com/shuangpengbai/79c08ada299b3ae37b7a0af292ca413f
>
> I'm happy to test debug patches or provide additional information.
>
> Reported-by: Shuangpeng Bai <shuangpeng.kernel@xxxxxxxxx>
>
> [ 102.318332] BUG: KASAN: slab-out-of-bounds in select_usb_power_delivery_show (drivers/usb/typec/class.c:1642)
> [ 102.319225] Read of size 8 at addr ffff888117d2f2c0 by task cat/8378
> [ 102.319943] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Does this happen on real hardware, or just on emulated hardware?
thanks,
greg k-h