Hay
Date
June 17, 2025, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.398978] ==================================================================
[   21.399075] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.399075] 
[   21.399176] Out-of-bounds write at 0x0000000025a8ed8e (1B left of kfence-#88):
[   21.399254]  test_out_of_bounds_write+0x100/0x240
[   21.399322]  kunit_try_run_case+0x170/0x3f0
[   21.399367]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.399437]  kthread+0x328/0x630
[   21.399476]  ret_from_fork+0x10/0x20
[   21.399518] 
[   21.399544] kfence-#88: 0x0000000075033939-0x00000000556af892, size=32, cache=test
[   21.399544] 
[   21.399595] allocated by task 302 on cpu 1 at 21.398859s (0.000733s ago):
[   21.399667]  test_alloc+0x230/0x628
[   21.399914]  test_out_of_bounds_write+0xc8/0x240
[   21.399989]  kunit_try_run_case+0x170/0x3f0
[   21.400050]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.400094]  kthread+0x328/0x630
[   21.400146]  ret_from_fork+0x10/0x20
[   21.400198] 
[   21.400265] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   21.400357] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.400404] Hardware name: linux,dummy-virt (DT)
[   21.400450] ==================================================================
[   21.186945] ==================================================================
[   21.187030] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.187030] 
[   21.187158] Out-of-bounds write at 0x0000000004805c33 (1B left of kfence-#86):
[   21.187394]  test_out_of_bounds_write+0x100/0x240
[   21.187561]  kunit_try_run_case+0x170/0x3f0
[   21.187627]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.187673]  kthread+0x328/0x630
[   21.187732]  ret_from_fork+0x10/0x20
[   21.187776] 
[   21.187807] kfence-#86: 0x00000000d92d34d2-0x00000000c344b6bb, size=32, cache=kmalloc-32
[   21.187807] 
[   21.187900] allocated by task 300 on cpu 1 at 21.186768s (0.001091s ago):
[   21.188025]  test_alloc+0x29c/0x628
[   21.188074]  test_out_of_bounds_write+0xc8/0x240
[   21.188132]  kunit_try_run_case+0x170/0x3f0
[   21.188190]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.188240]  kthread+0x328/0x630
[   21.188278]  ret_from_fork+0x10/0x20
[   21.188316] 
[   21.188371] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   21.188474] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.188504] Hardware name: linux,dummy-virt (DT)
[   21.188539] ==================================================================

[   26.691917] ==================================================================
[   26.692542] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   26.692542] 
[   26.693890] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#110):
[   26.694167]  test_out_of_bounds_write+0x10d/0x260
[   26.694851]  kunit_try_run_case+0x1a5/0x480
[   26.695178]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.695722]  kthread+0x337/0x6f0
[   26.696113]  ret_from_fork+0x116/0x1d0
[   26.696557]  ret_from_fork_asm+0x1a/0x30
[   26.696989] 
[   26.697202] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   26.697202] 
[   26.698078] allocated by task 320 on cpu 1 at 26.691797s (0.006275s ago):
[   26.698596]  test_alloc+0x2a6/0x10f0
[   26.699051]  test_out_of_bounds_write+0xd4/0x260
[   26.699573]  kunit_try_run_case+0x1a5/0x480
[   26.700049]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.700573]  kthread+0x337/0x6f0
[   26.700961]  ret_from_fork+0x116/0x1d0
[   26.701388]  ret_from_fork_asm+0x1a/0x30
[   26.701815] 
[   26.702103] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   26.703181] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.703581] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.704384] ==================================================================
[   26.275980] ==================================================================
[   26.276642] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   26.276642] 
[   26.277421] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#106):
[   26.278085]  test_out_of_bounds_write+0x10d/0x260
[   26.278511]  kunit_try_run_case+0x1a5/0x480
[   26.279096]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.279853]  kthread+0x337/0x6f0
[   26.280207]  ret_from_fork+0x116/0x1d0
[   26.280618]  ret_from_fork_asm+0x1a/0x30
[   26.280939] 
[   26.281189] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.281189] 
[   26.281991] allocated by task 318 on cpu 0 at 26.275750s (0.006235s ago):
[   26.282654]  test_alloc+0x364/0x10f0
[   26.282995]  test_out_of_bounds_write+0xd4/0x260
[   26.283567]  kunit_try_run_case+0x1a5/0x480
[   26.283950]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.284307]  kthread+0x337/0x6f0
[   26.284605]  ret_from_fork+0x116/0x1d0
[   26.284999]  ret_from_fork_asm+0x1a/0x30
[   26.285570] 
[   26.285845] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   26.286737] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.287035] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.288224] ==================================================================