Hay
Date
May 13, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.243519] ==================================================================
[   23.243656] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.243656] 
[   23.243788] Out-of-bounds write at 0x00000000790ab28c (1B left of kfence-#103):
[   23.243852]  test_out_of_bounds_write+0x100/0x240
[   23.243907]  kunit_try_run_case+0x170/0x3f0
[   23.243959]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.244022]  kthread+0x328/0x630
[   23.244067]  ret_from_fork+0x10/0x20
[   23.244107] 
[   23.244140] kfence-#103: 0x000000009a5c2f04-0x00000000b0e9a372, size=32, cache=test
[   23.244140] 
[   23.244195] allocated by task 293 on cpu 1 at 23.243418s (0.000773s ago):
[   23.244274]  test_alloc+0x230/0x628
[   23.244318]  test_out_of_bounds_write+0xc8/0x240
[   23.244362]  kunit_try_run_case+0x170/0x3f0
[   23.244432]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.244489]  kthread+0x328/0x630
[   23.244534]  ret_from_fork+0x10/0x20
[   23.244610] 
[   23.244679] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   23.244780] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.244816] Hardware name: linux,dummy-virt (DT)
[   23.244866] ==================================================================
[   23.035206] ==================================================================
[   23.035316] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.035316] 
[   23.035459] Out-of-bounds write at 0x00000000cbfc27dc (1B left of kfence-#101):
[   23.035541]  test_out_of_bounds_write+0x100/0x240
[   23.035601]  kunit_try_run_case+0x170/0x3f0
[   23.035652]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.035701]  kthread+0x328/0x630
[   23.035748]  ret_from_fork+0x10/0x20
[   23.035795] 
[   23.035825] kfence-#101: 0x00000000bd3ca3e5-0x0000000032393000, size=32, cache=kmalloc-32
[   23.035825] 
[   23.035885] allocated by task 291 on cpu 1 at 23.035005s (0.000875s ago):
[   23.035981]  test_alloc+0x29c/0x628
[   23.036051]  test_out_of_bounds_write+0xc8/0x240
[   23.036151]  kunit_try_run_case+0x170/0x3f0
[   23.036239]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.036334]  kthread+0x328/0x630
[   23.036382]  ret_from_fork+0x10/0x20
[   23.036427] 
[   23.036484] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   23.036582] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.036619] Hardware name: linux,dummy-virt (DT)
[   23.036660] ==================================================================

[   16.306931] ==================================================================
[   16.307387] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.307387] 
[   16.307890] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   16.308195]  test_out_of_bounds_write+0x10d/0x260
[   16.308806]  kunit_try_run_case+0x1a5/0x480
[   16.309039]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.309300]  kthread+0x337/0x6f0
[   16.309469]  ret_from_fork+0x116/0x1d0
[   16.309681]  ret_from_fork_asm+0x1a/0x30
[   16.309852] 
[   16.309956] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.309956] 
[   16.310844] allocated by task 308 on cpu 0 at 16.306811s (0.004030s ago):
[   16.311121]  test_alloc+0x364/0x10f0
[   16.311445]  test_out_of_bounds_write+0xd4/0x260
[   16.311743]  kunit_try_run_case+0x1a5/0x480
[   16.311940]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.312383]  kthread+0x337/0x6f0
[   16.312627]  ret_from_fork+0x116/0x1d0
[   16.312784]  ret_from_fork_asm+0x1a/0x30
[   16.313107] 
[   16.313221] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   16.313877] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.314135] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.314593] ==================================================================
[   16.410938] ==================================================================
[   16.411404] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.411404] 
[   16.411870] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   16.412160]  test_out_of_bounds_write+0x10d/0x260
[   16.412391]  kunit_try_run_case+0x1a5/0x480
[   16.412553]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.412832]  kthread+0x337/0x6f0
[   16.412962]  ret_from_fork+0x116/0x1d0
[   16.413157]  ret_from_fork_asm+0x1a/0x30
[   16.413398] 
[   16.413473] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.413473] 
[   16.413873] allocated by task 310 on cpu 1 at 16.410878s (0.002993s ago):
[   16.414154]  test_alloc+0x2a6/0x10f0
[   16.414383]  test_out_of_bounds_write+0xd4/0x260
[   16.414590]  kunit_try_run_case+0x1a5/0x480
[   16.414789]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.415004]  kthread+0x337/0x6f0
[   16.415178]  ret_from_fork+0x116/0x1d0
[   16.415379]  ret_from_fork_asm+0x1a/0x30
[   16.415561] 
[   16.415669] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   16.416146] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.416361] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.416647] ==================================================================