Hay
Date
July 24, 2025, 4:41 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.752288] ==================================================================
[   35.752388] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.752388] 
[   35.752766] Out-of-bounds read at 0x0000000049e1fe5d (32B right of kfence-#122):
[   35.752862]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.753249]  kunit_try_run_case+0x170/0x3f0
[   35.753434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.753670]  kthread+0x328/0x630
[   35.753774]  ret_from_fork+0x10/0x20
[   35.753838] 
[   35.753864] kfence-#122: 0x000000004833623a-0x00000000bf581e1d, size=32, cache=kmalloc-32
[   35.753864] 
[   35.754106] allocated by task 318 on cpu 1 at 35.751737s (0.002261s ago):
[   35.754306]  test_alloc+0x29c/0x628
[   35.754354]  test_out_of_bounds_read+0x198/0x3e0
[   35.754620]  kunit_try_run_case+0x170/0x3f0
[   35.754918]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.755010]  kthread+0x328/0x630
[   35.755113]  ret_from_fork+0x10/0x20
[   35.755295] 
[   35.755347] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   35.755437] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.755469] Hardware name: linux,dummy-virt (DT)
[   35.756085] ==================================================================
[   35.964022] ==================================================================
[   35.964137] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.964137] 
[   35.964283] Out-of-bounds read at 0x000000002ac74a1c (32B right of kfence-#124):
[   35.964358]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.964406]  kunit_try_run_case+0x170/0x3f0
[   35.964451]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.964496]  kthread+0x328/0x630
[   35.964736]  ret_from_fork+0x10/0x20
[   35.964984] 
[   35.965104] kfence-#124: 0x0000000063632c37-0x000000000dfcddda, size=32, cache=test
[   35.965104] 
[   35.965188] allocated by task 320 on cpu 1 at 35.963652s (0.001514s ago):
[   35.965568]  test_alloc+0x230/0x628
[   35.965633]  test_out_of_bounds_read+0x198/0x3e0
[   35.965755]  kunit_try_run_case+0x170/0x3f0
[   35.965802]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.965849]  kthread+0x328/0x630
[   35.965886]  ret_from_fork+0x10/0x20
[   35.966191] 
[   35.966503] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   35.966639] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.966776] Hardware name: linux,dummy-virt (DT)
[   35.966820] ==================================================================
[   35.861351] ==================================================================
[   35.861432] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.861432] 
[   35.861513] Out-of-bounds read at 0x0000000098996d79 (1B left of kfence-#123):
[   35.861883]  test_out_of_bounds_read+0x114/0x3e0
[   35.861959]  kunit_try_run_case+0x170/0x3f0
[   35.862009]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.862055]  kthread+0x328/0x630
[   35.862098]  ret_from_fork+0x10/0x20
[   35.862144] 
[   35.862284] kfence-#123: 0x0000000083740b85-0x000000002da4efeb, size=32, cache=test
[   35.862284] 
[   35.862373] allocated by task 320 on cpu 1 at 35.861261s (0.001107s ago):
[   35.862519]  test_alloc+0x230/0x628
[   35.862562]  test_out_of_bounds_read+0xdc/0x3e0
[   35.862603]  kunit_try_run_case+0x170/0x3f0
[   35.862643]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.862688]  kthread+0x328/0x630
[   35.862724]  ret_from_fork+0x10/0x20
[   35.862779] 
[   35.862825] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   35.862933] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.863445] Hardware name: linux,dummy-virt (DT)
[   35.863765] ==================================================================
[   35.541589] ==================================================================
[   35.541824] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.541824] 
[   35.541966] Out-of-bounds read at 0x00000000e78d26cc (1B left of kfence-#120):
[   35.542240]  test_out_of_bounds_read+0x114/0x3e0
[   35.542317]  kunit_try_run_case+0x170/0x3f0
[   35.542366]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.542411]  kthread+0x328/0x630
[   35.542452]  ret_from_fork+0x10/0x20
[   35.542511] 
[   35.542689] kfence-#120: 0x0000000038eb3b80-0x000000007d9fe70f, size=32, cache=kmalloc-32
[   35.542689] 
[   35.542895] allocated by task 318 on cpu 1 at 35.539789s (0.003037s ago):
[   35.545038]  test_alloc+0x29c/0x628
[   35.545134]  test_out_of_bounds_read+0xdc/0x3e0
[   35.545187]  kunit_try_run_case+0x170/0x3f0
[   35.545242]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.545293]  kthread+0x328/0x630
[   35.545344]  ret_from_fork+0x10/0x20
[   35.545445] 
[   35.545559] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   35.545664] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.545706] Hardware name: linux,dummy-virt (DT)
[   35.545769] ==================================================================

[   31.985299] ==================================================================
[   31.985703] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   31.985703] 
[   31.986123] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#92):
[   31.986479]  test_out_of_bounds_read+0x216/0x4e0
[   31.986703]  kunit_try_run_case+0x1a5/0x480
[   31.986851]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.987100]  kthread+0x337/0x6f0
[   31.987354]  ret_from_fork+0x116/0x1d0
[   31.987528]  ret_from_fork_asm+0x1a/0x30
[   31.987712] 
[   31.987786] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.987786] 
[   31.988314] allocated by task 335 on cpu 1 at 31.985111s (0.003201s ago):
[   31.988599]  test_alloc+0x364/0x10f0
[   31.988759]  test_out_of_bounds_read+0x1e2/0x4e0
[   31.989010]  kunit_try_run_case+0x1a5/0x480
[   31.989194]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.989384]  kthread+0x337/0x6f0
[   31.989499]  ret_from_fork+0x116/0x1d0
[   31.989642]  ret_from_fork_asm+0x1a/0x30
[   31.989779] 
[   31.989888] CPU: 1 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   31.990399] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   31.990621] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.990902] ==================================================================
[   32.089241] ==================================================================
[   32.089662] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   32.089662] 
[   32.090058] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#93):
[   32.090384]  test_out_of_bounds_read+0x126/0x4e0
[   32.090596]  kunit_try_run_case+0x1a5/0x480
[   32.090812]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.091051]  kthread+0x337/0x6f0
[   32.091176]  ret_from_fork+0x116/0x1d0
[   32.091368]  ret_from_fork_asm+0x1a/0x30
[   32.091570] 
[   32.091670] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.091670] 
[   32.091948] allocated by task 337 on cpu 0 at 32.089170s (0.002776s ago):
[   32.092487]  test_alloc+0x2a6/0x10f0
[   32.092705]  test_out_of_bounds_read+0xed/0x4e0
[   32.092990]  kunit_try_run_case+0x1a5/0x480
[   32.093184]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.093357]  kthread+0x337/0x6f0
[   32.093530]  ret_from_fork+0x116/0x1d0
[   32.093738]  ret_from_fork_asm+0x1a/0x30
[   32.093899] 
[   32.094054] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   32.094466] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   32.094654] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.095169] ==================================================================
[   31.882167] ==================================================================
[   31.882647] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   31.882647] 
[   31.883109] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#91):
[   31.883561]  test_out_of_bounds_read+0x126/0x4e0
[   31.883784]  kunit_try_run_case+0x1a5/0x480
[   31.883934]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.884160]  kthread+0x337/0x6f0
[   31.884329]  ret_from_fork+0x116/0x1d0
[   31.884497]  ret_from_fork_asm+0x1a/0x30
[   31.884655] 
[   31.884976] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.884976] 
[   31.885542] allocated by task 335 on cpu 1 at 31.881107s (0.004380s ago):
[   31.886105]  test_alloc+0x364/0x10f0
[   31.886267]  test_out_of_bounds_read+0xed/0x4e0
[   31.886478]  kunit_try_run_case+0x1a5/0x480
[   31.886699]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.886875]  kthread+0x337/0x6f0
[   31.887018]  ret_from_fork+0x116/0x1d0
[   31.887208]  ret_from_fork_asm+0x1a/0x30
[   31.887604] 
[   31.887733] CPU: 1 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   31.888221] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   31.888478] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.888779] ==================================================================
[   32.193221] ==================================================================
[   32.193623] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   32.193623] 
[   32.193989] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#94):
[   32.194349]  test_out_of_bounds_read+0x216/0x4e0
[   32.194552]  kunit_try_run_case+0x1a5/0x480
[   32.194716]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.194963]  kthread+0x337/0x6f0
[   32.195164]  ret_from_fork+0x116/0x1d0
[   32.195393]  ret_from_fork_asm+0x1a/0x30
[   32.195567] 
[   32.195648] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.195648] 
[   32.196150] allocated by task 337 on cpu 0 at 32.193160s (0.002987s ago):
[   32.196468]  test_alloc+0x2a6/0x10f0
[   32.196645]  test_out_of_bounds_read+0x1e2/0x4e0
[   32.196798]  kunit_try_run_case+0x1a5/0x480
[   32.196940]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.197146]  kthread+0x337/0x6f0
[   32.197312]  ret_from_fork+0x116/0x1d0
[   32.197514]  ret_from_fork_asm+0x1a/0x30
[   32.197717] 
[   32.197832] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   32.198251] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   32.198486] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.198885] ==================================================================