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

Environment
qemu-arm64
qemu-x86_64

[   20.722514] ==================================================================
[   20.722658] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.722658] 
[   20.723051] Out-of-bounds write at 0x00000000a8bbb79c (1B left of kfence-#89):
[   20.723114]  test_out_of_bounds_write+0x100/0x240
[   20.723442]  kunit_try_run_case+0x170/0x3f0
[   20.723551]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.723658]  kthread+0x328/0x630
[   20.723708]  ret_from_fork+0x10/0x20
[   20.724072] 
[   20.724101] kfence-#89: 0x000000005dcc85c3-0x00000000c52aa246, size=32, cache=kmalloc-32
[   20.724101] 
[   20.724472] allocated by task 291 on cpu 0 at 20.722288s (0.002160s ago):
[   20.724907]  test_alloc+0x29c/0x628
[   20.725029]  test_out_of_bounds_write+0xc8/0x240
[   20.725125]  kunit_try_run_case+0x170/0x3f0
[   20.725469]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.725687]  kthread+0x328/0x630
[   20.725730]  ret_from_fork+0x10/0x20
[   20.725986] 
[   20.726235] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.726654] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.726792] Hardware name: linux,dummy-virt (DT)
[   20.727208] ==================================================================
[   20.936499] ==================================================================
[   20.936614] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.936614] 
[   20.936819] Out-of-bounds write at 0x00000000fa3ddf04 (1B left of kfence-#91):
[   20.936991]  test_out_of_bounds_write+0x100/0x240
[   20.937084]  kunit_try_run_case+0x170/0x3f0
[   20.937152]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.937205]  kthread+0x328/0x630
[   20.937243]  ret_from_fork+0x10/0x20
[   20.937283] 
[   20.937308] kfence-#91: 0x0000000011041d17-0x00000000a8796dbc, size=32, cache=test
[   20.937308] 
[   20.937389] allocated by task 293 on cpu 0 at 20.936372s (0.001012s ago):
[   20.937478]  test_alloc+0x230/0x628
[   20.937655]  test_out_of_bounds_write+0xc8/0x240
[   20.937697]  kunit_try_run_case+0x170/0x3f0
[   20.937736]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.937779]  kthread+0x328/0x630
[   20.937815]  ret_from_fork+0x10/0x20
[   20.937873] 
[   20.937919] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.938021] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.938052] Hardware name: linux,dummy-virt (DT)
[   20.938106] ==================================================================

[   17.635223] ==================================================================
[   17.635629] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.635629] 
[   17.636086] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#74):
[   17.636429]  test_out_of_bounds_write+0x10d/0x260
[   17.636728]  kunit_try_run_case+0x1a5/0x480
[   17.636888]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.637076]  kthread+0x337/0x6f0
[   17.637254]  ret_from_fork+0x116/0x1d0
[   17.637473]  ret_from_fork_asm+0x1a/0x30
[   17.637660] 
[   17.637843] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.637843] 
[   17.638258] allocated by task 310 on cpu 0 at 17.635162s (0.003094s ago):
[   17.638564]  test_alloc+0x2a6/0x10f0
[   17.638750]  test_out_of_bounds_write+0xd4/0x260
[   17.639059]  kunit_try_run_case+0x1a5/0x480
[   17.639225]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.639398]  kthread+0x337/0x6f0
[   17.639541]  ret_from_fork+0x116/0x1d0
[   17.639750]  ret_from_fork_asm+0x1a/0x30
[   17.640086] 
[   17.640215] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.640795] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.640938] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.641376] ==================================================================
[   17.323332] ==================================================================
[   17.323734] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.323734] 
[   17.324191] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   17.324534]  test_out_of_bounds_write+0x10d/0x260
[   17.324788]  kunit_try_run_case+0x1a5/0x480
[   17.324993]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.325313]  kthread+0x337/0x6f0
[   17.325466]  ret_from_fork+0x116/0x1d0
[   17.325628]  ret_from_fork_asm+0x1a/0x30
[   17.325870] 
[   17.325948] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.325948] 
[   17.326255] allocated by task 308 on cpu 1 at 17.323188s (0.003065s ago):
[   17.326597]  test_alloc+0x364/0x10f0
[   17.326788]  test_out_of_bounds_write+0xd4/0x260
[   17.326981]  kunit_try_run_case+0x1a5/0x480
[   17.327188]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.327448]  kthread+0x337/0x6f0
[   17.327626]  ret_from_fork+0x116/0x1d0
[   17.327787]  ret_from_fork_asm+0x1a/0x30
[   17.327936] 
[   17.328067] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.328566] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.329069] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.329429] ==================================================================