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

Environment
qemu-arm64
qemu-x86_64

[   43.269071] ==================================================================
[   43.269172] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   43.269172] 
[   43.269279] Out-of-bounds read at 0x0000000052d39993 (105B right of kfence-#206):
[   43.269340]  test_kmalloc_aligned_oob_read+0x238/0x468
[   43.269390]  kunit_try_run_case+0x170/0x3f0
[   43.269437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   43.269483]  kthread+0x328/0x630
[   43.269521]  ret_from_fork+0x10/0x20
[   43.269564] 
[   43.269589] kfence-#206: 0x00000000161bdc8a-0x000000004c3de870, size=73, cache=kmalloc-96
[   43.269589] 
[   43.269643] allocated by task 355 on cpu 1 at 43.268779s (0.000860s ago):
[   43.269716]  test_alloc+0x29c/0x628
[   43.269758]  test_kmalloc_aligned_oob_read+0x100/0x468
[   43.269804]  kunit_try_run_case+0x170/0x3f0
[   43.269859]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   43.269906]  kthread+0x328/0x630
[   43.269941]  ret_from_fork+0x10/0x20
[   43.269990] 
[   43.270040] CPU: 1 UID: 0 PID: 355 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   43.270123] Tainted: [B]=BAD_PAGE, [N]=TEST
[   43.270153] Hardware name: linux,dummy-virt (DT)
[   43.270187] ==================================================================

[   34.041692] ==================================================================
[   34.042065] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.042065] 
[   34.042570] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#146):
[   34.042920]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.043094]  kunit_try_run_case+0x1a5/0x480
[   34.043445]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.043718]  kthread+0x337/0x6f0
[   34.043914]  ret_from_fork+0x116/0x1d0
[   34.044102]  ret_from_fork_asm+0x1a/0x30
[   34.044301] 
[   34.044368] kfence-#146: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   34.044368] 
[   34.044938] allocated by task 372 on cpu 1 at 34.041468s (0.003468s ago):
[   34.045344]  test_alloc+0x364/0x10f0
[   34.045551]  test_kmalloc_aligned_oob_read+0x105/0x560
[   34.045725]  kunit_try_run_case+0x1a5/0x480
[   34.045950]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.046200]  kthread+0x337/0x6f0
[   34.046380]  ret_from_fork+0x116/0x1d0
[   34.046560]  ret_from_fork_asm+0x1a/0x30
[   34.046762] 
[   34.046875] CPU: 1 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   34.047443] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.047583] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.048411] ==================================================================