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

Environment
qemu-arm64
qemu-x86_64

[   20.460106] ==================================================================
[   20.460274] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.460274] 
[   20.460383] Out-of-bounds write at 0x00000000a337e88a (1B left of kfence-#89):
[   20.460460]  test_out_of_bounds_write+0x100/0x240
[   20.460580]  kunit_try_run_case+0x170/0x3f0
[   20.460633]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.460679]  kthread+0x328/0x630
[   20.460873]  ret_from_fork+0x10/0x20
[   20.461032] 
[   20.461164] kfence-#89: 0x00000000f1233262-0x000000005ff964f9, size=32, cache=test
[   20.461164] 
[   20.461275] allocated by task 293 on cpu 0 at 20.459901s (0.001353s ago):
[   20.461358]  test_alloc+0x230/0x628
[   20.461459]  test_out_of_bounds_write+0xc8/0x240
[   20.461513]  kunit_try_run_case+0x170/0x3f0
[   20.461555]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.461809]  kthread+0x328/0x630
[   20.461957]  ret_from_fork+0x10/0x20
[   20.462189] 
[   20.462253] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.462444] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.462503] Hardware name: linux,dummy-virt (DT)
[   20.462537] ==================================================================
[   20.355794] ==================================================================
[   20.355873] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.355873] 
[   20.355963] Out-of-bounds write at 0x00000000cdc10de9 (1B left of kfence-#88):
[   20.356016]  test_out_of_bounds_write+0x100/0x240
[   20.356066]  kunit_try_run_case+0x170/0x3f0
[   20.356129]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.356221]  kthread+0x328/0x630
[   20.356269]  ret_from_fork+0x10/0x20
[   20.356309] 
[   20.356334] kfence-#88: 0x00000000bf2155d8-0x0000000057e7227b, size=32, cache=kmalloc-32
[   20.356334] 
[   20.356399] allocated by task 291 on cpu 0 at 20.355366s (0.001028s ago):
[   20.356469]  test_alloc+0x29c/0x628
[   20.356510]  test_out_of_bounds_write+0xc8/0x240
[   20.356562]  kunit_try_run_case+0x170/0x3f0
[   20.356603]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.356649]  kthread+0x328/0x630
[   20.356687]  ret_from_fork+0x10/0x20
[   20.356726] 
[   20.356772] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.356853] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.356883] Hardware name: linux,dummy-virt (DT)
[   20.356916] ==================================================================

[   18.093776] ==================================================================
[   18.094174] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.094174] 
[   18.094756] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#72):
[   18.095161]  test_out_of_bounds_write+0x10d/0x260
[   18.096020]  kunit_try_run_case+0x1a5/0x480
[   18.096270]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.096686]  kthread+0x337/0x6f0
[   18.096965]  ret_from_fork+0x116/0x1d0
[   18.097165]  ret_from_fork_asm+0x1a/0x30
[   18.097544] 
[   18.097671] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.097671] 
[   18.098219] allocated by task 309 on cpu 0 at 18.093661s (0.004556s ago):
[   18.098794]  test_alloc+0x364/0x10f0
[   18.099074]  test_out_of_bounds_write+0xd4/0x260
[   18.099411]  kunit_try_run_case+0x1a5/0x480
[   18.099647]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.100026]  kthread+0x337/0x6f0
[   18.100209]  ret_from_fork+0x116/0x1d0
[   18.100547]  ret_from_fork_asm+0x1a/0x30
[   18.100831] 
[   18.101044] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.101604] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.101887] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.102420] ==================================================================
[   18.405686] ==================================================================
[   18.406241] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.406241] 
[   18.406680] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#75):
[   18.407174]  test_out_of_bounds_write+0x10d/0x260
[   18.407933]  kunit_try_run_case+0x1a5/0x480
[   18.408138]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.408684]  kthread+0x337/0x6f0
[   18.408865]  ret_from_fork+0x116/0x1d0
[   18.409041]  ret_from_fork_asm+0x1a/0x30
[   18.409204] 
[   18.409558] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.409558] 
[   18.409969] allocated by task 311 on cpu 1 at 18.405627s (0.004340s ago):
[   18.410572]  test_alloc+0x2a6/0x10f0
[   18.410853]  test_out_of_bounds_write+0xd4/0x260
[   18.411154]  kunit_try_run_case+0x1a5/0x480
[   18.411468]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.411805]  kthread+0x337/0x6f0
[   18.412065]  ret_from_fork+0x116/0x1d0
[   18.412259]  ret_from_fork_asm+0x1a/0x30
[   18.412650] 
[   18.412799] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.413409] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.413751] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.414135] ==================================================================