Hay
Date
April 22, 2025, 11:09 a.m.

Environment
qemu-x86_64

[   16.767859] ==================================================================
[   16.768752] BUG: KFENCE: out-of-bounds read in kmalloc_node_oob_right+0x183/0x3c0
[   16.768752] 
[   16.770180] Out-of-bounds read at 0x(____ptrval____) (4096B right of kfence-#49):
[   16.771777]  kmalloc_node_oob_right+0x183/0x3c0
[   16.772161]  kunit_try_run_case+0x1a5/0x480
[   16.772800]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.773202]  kthread+0x337/0x6f0
[   16.773628]  ret_from_fork+0x41/0x80
[   16.774032]  ret_from_fork_asm+0x1a/0x30
[   16.774475] 
[   16.775130] kfence-#49: 0x(____ptrval____)-0x(____ptrval____), size=4096, cache=kmalloc-4k
[   16.775130] 
[   16.776804] allocated by task 160 on cpu 1 at 16.764230s (0.012417s ago):
[   16.778019]  kmalloc_node_oob_right+0xab/0x3c0
[   16.778625]  kunit_try_run_case+0x1a5/0x480
[   16.779009]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.779897]  kthread+0x337/0x6f0
[   16.780185]  ret_from_fork+0x41/0x80
[   16.780839]  ret_from_fork_asm+0x1a/0x30
[   16.781373] 
[   16.781904] CPU: 1 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   16.782978] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.783421] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.784521] ==================================================================