Hay
Date
July 3, 2025, 11:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[   31.990866] ==================================================================
[   31.991047] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   31.991047] 
[   31.991171] Out-of-bounds read at 0x000000007d8fd77a (105B right of kfence-#173):
[   31.991239]  test_kmalloc_aligned_oob_read+0x238/0x468
[   31.991292]  kunit_try_run_case+0x170/0x3f0
[   31.991340]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.991385]  kthread+0x328/0x630
[   31.991426]  ret_from_fork+0x10/0x20
[   31.991467] 
[   31.991494] kfence-#173: 0x000000003993b46c-0x0000000002fc5586, size=73, cache=kmalloc-96
[   31.991494] 
[   31.991551] allocated by task 323 on cpu 1 at 31.990453s (0.001094s ago):
[   31.991629]  test_alloc+0x29c/0x628
[   31.991673]  test_kmalloc_aligned_oob_read+0x100/0x468
[   31.991719]  kunit_try_run_case+0x170/0x3f0
[   31.991759]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.991803]  kthread+0x328/0x630
[   31.991840]  ret_from_fork+0x10/0x20
[   31.991883] 
[   31.991938] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   31.992039] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.992076] Hardware name: linux,dummy-virt (DT)
[   31.992117] ==================================================================

[   21.953822] ==================================================================
[   21.954315] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.954315] 
[   21.954743] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#120):
[   21.954985]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.955178]  kunit_try_run_case+0x1a5/0x480
[   21.955331]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.955508]  kthread+0x337/0x6f0
[   21.955634]  ret_from_fork+0x116/0x1d0
[   21.955850]  ret_from_fork_asm+0x1a/0x30
[   21.956057] 
[   21.956178] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   21.956178] 
[   21.956582] allocated by task 341 on cpu 0 at 21.953607s (0.002973s ago):
[   21.956815]  test_alloc+0x364/0x10f0
[   21.956948]  test_kmalloc_aligned_oob_read+0x105/0x560
[   21.957151]  kunit_try_run_case+0x1a5/0x480
[   21.957366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.957639]  kthread+0x337/0x6f0
[   21.957846]  ret_from_fork+0x116/0x1d0
[   21.958056]  ret_from_fork_asm+0x1a/0x30
[   21.958467] 
[   21.958606] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   21.958952] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.959092] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.959497] ==================================================================