Hay
Date
July 23, 2025, 3:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.881247] ==================================================================
[   40.881354] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   40.881354] 
[   40.881455] Out-of-bounds read at 0x00000000b14c1698 (105B right of kfence-#180):
[   40.881521]  test_kmalloc_aligned_oob_read+0x238/0x468
[   40.881572]  kunit_try_run_case+0x170/0x3f0
[   40.881618]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.881665]  kthread+0x328/0x630
[   40.881707]  ret_from_fork+0x10/0x20
[   40.881750] 
[   40.881776] kfence-#180: 0x00000000fc6b713b-0x00000000934bc69f, size=73, cache=kmalloc-96
[   40.881776] 
[   40.881832] allocated by task 356 on cpu 1 at 40.880985s (0.000843s ago):
[   40.881923]  test_alloc+0x29c/0x628
[   40.881966]  test_kmalloc_aligned_oob_read+0x100/0x468
[   40.882012]  kunit_try_run_case+0x170/0x3f0
[   40.882054]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.882102]  kthread+0x328/0x630
[   40.882139]  ret_from_fork+0x10/0x20
[   40.882180] 
[   40.882231] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   40.882320] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   40.882359] Hardware name: linux,dummy-virt (DT)
[   40.882397] ==================================================================

[   36.180913] ==================================================================
[   36.181343] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   36.181343] 
[   36.181882] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#152):
[   36.182304]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   36.182514]  kunit_try_run_case+0x1a5/0x480
[   36.182681]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.182932]  kthread+0x337/0x6f0
[   36.183104]  ret_from_fork+0x116/0x1d0
[   36.183259]  ret_from_fork_asm+0x1a/0x30
[   36.183464] 
[   36.183534] kfence-#152: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   36.183534] 
[   36.183925] allocated by task 372 on cpu 0 at 36.180689s (0.003234s ago):
[   36.184250]  test_alloc+0x364/0x10f0
[   36.184411]  test_kmalloc_aligned_oob_read+0x105/0x560
[   36.184638]  kunit_try_run_case+0x1a5/0x480
[   36.184817]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.184989]  kthread+0x337/0x6f0
[   36.185109]  ret_from_fork+0x116/0x1d0
[   36.185248]  ret_from_fork_asm+0x1a/0x30
[   36.185446] 
[   36.185566] CPU: 0 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   36.186313] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.186466] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.186732] ==================================================================