Hay
Date
July 2, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   34.781987] ==================================================================
[   34.782058] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.782058] 
[   34.782145] Out-of-bounds write at 0x000000008349ab00 (1B left of kfence-#121):
[   34.782205]  test_out_of_bounds_write+0x100/0x240
[   34.782264]  kunit_try_run_case+0x170/0x3f0
[   34.782311]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.782364]  kthread+0x328/0x630
[   34.782413]  ret_from_fork+0x10/0x20
[   34.782463] 
[   34.782498] kfence-#121: 0x000000003c67233e-0x00000000a5ee97bf, size=32, cache=kmalloc-32
[   34.782498] 
[   34.782553] allocated by task 324 on cpu 1 at 34.781546s (0.001004s ago):
[   34.782634]  test_alloc+0x29c/0x628
[   34.782675]  test_out_of_bounds_write+0xc8/0x240
[   34.782719]  kunit_try_run_case+0x170/0x3f0
[   34.782758]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.782803]  kthread+0x328/0x630
[   34.782839]  ret_from_fork+0x10/0x20
[   34.782886] 
[   34.782943] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   34.783027] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.783058] Hardware name: linux,dummy-virt (DT)
[   34.783103] ==================================================================
[   34.889413] ==================================================================
[   34.889496] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.889496] 
[   34.889578] Out-of-bounds write at 0x00000000cd6b1d81 (1B left of kfence-#122):
[   34.889728]  test_out_of_bounds_write+0x100/0x240
[   34.889785]  kunit_try_run_case+0x170/0x3f0
[   34.889847]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.890240]  kthread+0x328/0x630
[   34.890288]  ret_from_fork+0x10/0x20
[   34.890549] 
[   34.890639] kfence-#122: 0x00000000416f8ed5-0x00000000ba181160, size=32, cache=test
[   34.890639] 
[   34.891057] allocated by task 326 on cpu 1 at 34.889294s (0.001754s ago):
[   34.891196]  test_alloc+0x230/0x628
[   34.891276]  test_out_of_bounds_write+0xc8/0x240
[   34.891323]  kunit_try_run_case+0x170/0x3f0
[   34.891381]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.891493]  kthread+0x328/0x630
[   34.891540]  ret_from_fork+0x10/0x20
[   34.891613] 
[   34.892023] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   34.892228] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.892319] Hardware name: linux,dummy-virt (DT)
[   34.892403] ==================================================================

[   37.096667] ==================================================================
[   37.096838] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   37.096838] 
[   37.096964] Out-of-bounds write at 0x00000000bf103a0e (1B left of kfence-#128):
[   37.097082]  test_out_of_bounds_write+0x100/0x240
[   37.097151]  kunit_try_run_case+0x170/0x3f0
[   37.097330]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.097378]  kthread+0x328/0x630
[   37.097438]  ret_from_fork+0x10/0x20
[   37.097652] 
[   37.097693] kfence-#128: 0x0000000064e214ed-0x00000000e853c049, size=32, cache=kmalloc-32
[   37.097693] 
[   37.097837] allocated by task 322 on cpu 1 at 37.096498s (0.001328s ago):
[   37.097922]  test_alloc+0x29c/0x628
[   37.097982]  test_out_of_bounds_write+0xc8/0x240
[   37.098027]  kunit_try_run_case+0x170/0x3f0
[   37.098114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.098173]  kthread+0x328/0x630
[   37.098208]  ret_from_fork+0x10/0x20
[   37.098250] 
[   37.098482] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   37.098601] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.098642] Hardware name: linux,dummy-virt (DT)
[   37.098680] ==================================================================
[   37.200226] ==================================================================
[   37.200304] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   37.200304] 
[   37.200391] Out-of-bounds write at 0x000000007da92333 (1B left of kfence-#129):
[   37.200799]  test_out_of_bounds_write+0x100/0x240
[   37.200879]  kunit_try_run_case+0x170/0x3f0
[   37.200977]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.201055]  kthread+0x328/0x630
[   37.201124]  ret_from_fork+0x10/0x20
[   37.201246] 
[   37.201305] kfence-#129: 0x00000000dfae34fe-0x00000000202815a6, size=32, cache=test
[   37.201305] 
[   37.201430] allocated by task 324 on cpu 1 at 37.200134s (0.001276s ago):
[   37.201543]  test_alloc+0x230/0x628
[   37.201635]  test_out_of_bounds_write+0xc8/0x240
[   37.201687]  kunit_try_run_case+0x170/0x3f0
[   37.201726]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.201947]  kthread+0x328/0x630
[   37.202130]  ret_from_fork+0x10/0x20
[   37.202227] 
[   37.202295] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   37.202404] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.202457] Hardware name: linux,dummy-virt (DT)
[   37.202529] ==================================================================

[   27.698130] ==================================================================
[   27.698548] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.698548] 
[   27.699075] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#87):
[   27.699377]  test_out_of_bounds_write+0x10d/0x260
[   27.700012]  kunit_try_run_case+0x1a5/0x480
[   27.700189]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.700456]  kthread+0x337/0x6f0
[   27.700867]  ret_from_fork+0x116/0x1d0
[   27.701122]  ret_from_fork_asm+0x1a/0x30
[   27.701382] 
[   27.701478] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.701478] 
[   27.702048] allocated by task 339 on cpu 0 at 27.698001s (0.004043s ago):
[   27.702463]  test_alloc+0x364/0x10f0
[   27.702831]  test_out_of_bounds_write+0xd4/0x260
[   27.703038]  kunit_try_run_case+0x1a5/0x480
[   27.703343]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.703701]  kthread+0x337/0x6f0
[   27.703856]  ret_from_fork+0x116/0x1d0
[   27.704137]  ret_from_fork_asm+0x1a/0x30
[   27.704314] 
[   27.704435] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   27.705095] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.705279] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.705806] ==================================================================
[   27.906053] ==================================================================
[   27.906458] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.906458] 
[   27.906889] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   27.907268]  test_out_of_bounds_write+0x10d/0x260
[   27.907438]  kunit_try_run_case+0x1a5/0x480
[   27.907621]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.907915]  kthread+0x337/0x6f0
[   27.908153]  ret_from_fork+0x116/0x1d0
[   27.908394]  ret_from_fork_asm+0x1a/0x30
[   27.908611] 
[   27.908732] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.908732] 
[   27.909011] allocated by task 341 on cpu 1 at 27.905993s (0.003016s ago):
[   27.909328]  test_alloc+0x2a6/0x10f0
[   27.909529]  test_out_of_bounds_write+0xd4/0x260
[   27.909867]  kunit_try_run_case+0x1a5/0x480
[   27.910098]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.910285]  kthread+0x337/0x6f0
[   27.910409]  ret_from_fork+0x116/0x1d0
[   27.910733]  ret_from_fork_asm+0x1a/0x30
[   27.910931] 
[   27.911052] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   27.911624] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.911904] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.912168] ==================================================================

[   28.283621] ==================================================================
[   28.284128] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   28.284128] 
[   28.284617] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#92):
[   28.284951]  test_out_of_bounds_write+0x10d/0x260
[   28.285200]  kunit_try_run_case+0x1a5/0x480
[   28.285366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.285535]  kthread+0x337/0x6f0
[   28.285682]  ret_from_fork+0x116/0x1d0
[   28.285892]  ret_from_fork_asm+0x1a/0x30
[   28.286126] 
[   28.286228] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.286228] 
[   28.286654] allocated by task 342 on cpu 0 at 28.283549s (0.003102s ago):
[   28.286952]  test_alloc+0x2a6/0x10f0
[   28.287116]  test_out_of_bounds_write+0xd4/0x260
[   28.287263]  kunit_try_run_case+0x1a5/0x480
[   28.287488]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.287741]  kthread+0x337/0x6f0
[   28.287958]  ret_from_fork+0x116/0x1d0
[   28.288132]  ret_from_fork_asm+0x1a/0x30
[   28.288343] 
[   28.288444] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   28.288864] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.289070] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.289445] ==================================================================
[   27.971689] ==================================================================
[   27.972196] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.972196] 
[   27.972578] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   27.972888]  test_out_of_bounds_write+0x10d/0x260
[   27.973109]  kunit_try_run_case+0x1a5/0x480
[   27.973756]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.974051]  kthread+0x337/0x6f0
[   27.974252]  ret_from_fork+0x116/0x1d0
[   27.974403]  ret_from_fork_asm+0x1a/0x30
[   27.974599] 
[   27.974705] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.974705] 
[   27.975566] allocated by task 340 on cpu 1 at 27.971534s (0.004028s ago):
[   27.975846]  test_alloc+0x364/0x10f0
[   27.976255]  test_out_of_bounds_write+0xd4/0x260
[   27.976548]  kunit_try_run_case+0x1a5/0x480
[   27.976709]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.977200]  kthread+0x337/0x6f0
[   27.977391]  ret_from_fork+0x116/0x1d0
[   27.977780]  ret_from_fork_asm+0x1a/0x30
[   27.977957] 
[   27.978226] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   27.978700] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.978869] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.979479] ==================================================================