Hay
Date
July 3, 2025, 3:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   20.154870] ==================================================================
[   20.154997] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.154997] 
[   20.155113] Out-of-bounds write at 0x00000000827248e2 (1B left of kfence-#93):
[   20.155184]  test_out_of_bounds_write+0x100/0x240
[   20.155231]  kunit_try_run_case+0x170/0x3f0
[   20.155290]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.155347]  kthread+0x328/0x630
[   20.155388]  ret_from_fork+0x10/0x20
[   20.155429] 
[   20.155454] kfence-#93: 0x0000000027d2fc31-0x00000000f7362a9e, size=32, cache=kmalloc-32
[   20.155454] 
[   20.155505] allocated by task 294 on cpu 0 at 20.154673s (0.000828s ago):
[   20.155575]  test_alloc+0x29c/0x628
[   20.155613]  test_out_of_bounds_write+0xc8/0x240
[   20.155655]  kunit_try_run_case+0x170/0x3f0
[   20.155696]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.155739]  kthread+0x328/0x630
[   20.155779]  ret_from_fork+0x10/0x20
[   20.155817] 
[   20.155861] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   20.155938] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.155979] Hardware name: linux,dummy-virt (DT)
[   20.156012] ==================================================================
[   20.258655] ==================================================================
[   20.258756] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.258756] 
[   20.258848] Out-of-bounds write at 0x000000005f1650f9 (1B left of kfence-#94):
[   20.258904]  test_out_of_bounds_write+0x100/0x240
[   20.258966]  kunit_try_run_case+0x170/0x3f0
[   20.259011]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.259057]  kthread+0x328/0x630
[   20.259099]  ret_from_fork+0x10/0x20
[   20.259140] 
[   20.259164] kfence-#94: 0x000000006d3c89d5-0x000000004d28d8b1, size=32, cache=test
[   20.259164] 
[   20.259215] allocated by task 296 on cpu 0 at 20.258570s (0.000641s ago):
[   20.259285]  test_alloc+0x230/0x628
[   20.259326]  test_out_of_bounds_write+0xc8/0x240
[   20.259368]  kunit_try_run_case+0x170/0x3f0
[   20.259409]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.259454]  kthread+0x328/0x630
[   20.259494]  ret_from_fork+0x10/0x20
[   20.259535] 
[   20.259578] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   20.259656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.259685] Hardware name: linux,dummy-virt (DT)
[   20.259720] ==================================================================

[   16.161782] ==================================================================
[   16.162186] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.162186] 
[   16.162610] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   16.163001]  test_out_of_bounds_write+0x10d/0x260
[   16.163239]  kunit_try_run_case+0x1a5/0x480
[   16.163446]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.164274]  kthread+0x337/0x6f0
[   16.164446]  ret_from_fork+0x41/0x80
[   16.164849]  ret_from_fork_asm+0x1a/0x30
[   16.165170] 
[   16.165453] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.165453] 
[   16.165884] allocated by task 311 on cpu 1 at 16.161650s (0.004232s ago):
[   16.166384]  test_alloc+0x364/0x10f0
[   16.166737]  test_out_of_bounds_write+0xd4/0x260
[   16.167050]  kunit_try_run_case+0x1a5/0x480
[   16.167268]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.167514]  kthread+0x337/0x6f0
[   16.167672]  ret_from_fork+0x41/0x80
[   16.167841]  ret_from_fork_asm+0x1a/0x30
[   16.168028] 
[   16.168139] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   16.168600] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.169291] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.169775] ==================================================================
[   16.473713] ==================================================================
[   16.474126] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.474126] 
[   16.474572] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   16.474958]  test_out_of_bounds_write+0x10d/0x260
[   16.475135]  kunit_try_run_case+0x1a5/0x480
[   16.475474]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.475719]  kthread+0x337/0x6f0
[   16.475847]  ret_from_fork+0x41/0x80
[   16.476038]  ret_from_fork_asm+0x1a/0x30
[   16.476246] 
[   16.476362] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.476362] 
[   16.476698] allocated by task 313 on cpu 0 at 16.473647s (0.003048s ago):
[   16.477041]  test_alloc+0x2a6/0x10f0
[   16.477237]  test_out_of_bounds_write+0xd4/0x260
[   16.477455]  kunit_try_run_case+0x1a5/0x480
[   16.477635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.477882]  kthread+0x337/0x6f0
[   16.478036]  ret_from_fork+0x41/0x80
[   16.478170]  ret_from_fork_asm+0x1a/0x30
[   16.478321] 
[   16.478422] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   16.478909] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.479118] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.479500] ==================================================================