Hay
Date
May 30, 2025, 4:14 a.m.

Environment
qemu-arm64

[   24.082511] ==================================================================
[   24.082815] BUG: KFENCE: out-of-bounds read in kmalloc_node_oob_right+0x160/0x330
[   24.082815] 
[   24.082978] Out-of-bounds read at 0x000000007748945b (4096B right of kfence-#86):
[   24.083562]  kmalloc_node_oob_right+0x160/0x330
[   24.083674]  kunit_try_run_case+0x170/0x3f0
[   24.083805]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.083931]  kthread+0x328/0x630
[   24.084196]  ret_from_fork+0x10/0x20
[   24.084436] 
[   24.085146] kfence-#86: 0x00000000028b77d8-0x00000000363bdff7, size=4096, cache=kmalloc-4k
[   24.085146] 
[   24.085910] allocated by task 141 on cpu 0 at 24.079275s (0.006234s ago):
[   24.088428]  kmalloc_node_oob_right+0xbc/0x330
[   24.089011]  kunit_try_run_case+0x170/0x3f0
[   24.089194]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.089559]  kthread+0x328/0x630
[   24.089719]  ret_from_fork+0x10/0x20
[   24.090471] 
[   24.090828] CPU: 0 UID: 0 PID: 141 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   24.091377] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.091444] Hardware name: linux,dummy-virt (DT)
[   24.091915] ==================================================================