Hay
Date
July 9, 2025, 2:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.066771] ==================================================================
[   21.066853] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.066853] 
[   21.066943] Out-of-bounds write at 0x00000000e563b02f (1B left of kfence-#86):
[   21.066999]  test_out_of_bounds_write+0x100/0x240
[   21.067051]  kunit_try_run_case+0x170/0x3f0
[   21.067113]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.067159]  kthread+0x328/0x630
[   21.067200]  ret_from_fork+0x10/0x20
[   21.067242] 
[   21.067268] kfence-#86: 0x000000006483277d-0x000000007e404f45, size=32, cache=test
[   21.067268] 
[   21.067321] allocated by task 293 on cpu 1 at 21.066689s (0.000629s ago):
[   21.067392]  test_alloc+0x230/0x628
[   21.067433]  test_out_of_bounds_write+0xc8/0x240
[   21.067476]  kunit_try_run_case+0x170/0x3f0
[   21.067515]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.067560]  kthread+0x328/0x630
[   21.067597]  ret_from_fork+0x10/0x20
[   21.067636] 
[   21.067680] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   21.067762] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   21.067793] Hardware name: linux,dummy-virt (DT)
[   21.067825] ==================================================================
[   20.756793] ==================================================================
[   20.756913] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.756913] 
[   20.757019] Out-of-bounds write at 0x00000000d3149fb3 (1B left of kfence-#83):
[   20.757100]  test_out_of_bounds_write+0x100/0x240
[   20.757151]  kunit_try_run_case+0x170/0x3f0
[   20.757198]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.757242]  kthread+0x328/0x630
[   20.757506]  ret_from_fork+0x10/0x20
[   20.757893] 
[   20.758383] kfence-#83: 0x000000005c01d891-0x00000000d109f9e3, size=32, cache=kmalloc-32
[   20.758383] 
[   20.758446] allocated by task 291 on cpu 1 at 20.756583s (0.001859s ago):
[   20.758519]  test_alloc+0x29c/0x628
[   20.759106]  test_out_of_bounds_write+0xc8/0x240
[   20.759288]  kunit_try_run_case+0x170/0x3f0
[   20.759442]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.759599]  kthread+0x328/0x630
[   20.759684]  ret_from_fork+0x10/0x20
[   20.759727] 
[   20.760043] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   20.760174] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   20.760217] Hardware name: linux,dummy-virt (DT)
[   20.760261] ==================================================================

[   17.543294] ==================================================================
[   17.543708] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.543708] 
[   17.544303] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   17.544658]  test_out_of_bounds_write+0x10d/0x260
[   17.545086]  kunit_try_run_case+0x1a5/0x480
[   17.545310]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.545503]  kthread+0x337/0x6f0
[   17.545639]  ret_from_fork+0x116/0x1d0
[   17.545803]  ret_from_fork_asm+0x1a/0x30
[   17.546115] 
[   17.546369] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.546369] 
[   17.546855] allocated by task 308 on cpu 1 at 17.543157s (0.003696s ago):
[   17.547196]  test_alloc+0x364/0x10f0
[   17.547391]  test_out_of_bounds_write+0xd4/0x260
[   17.547558]  kunit_try_run_case+0x1a5/0x480
[   17.547763]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.548185]  kthread+0x337/0x6f0
[   17.548391]  ret_from_fork+0x116/0x1d0
[   17.548533]  ret_from_fork_asm+0x1a/0x30
[   17.548730] 
[   17.548910] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.549470] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.549645] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.550202] ==================================================================
[   17.751141] ==================================================================
[   17.751533] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.751533] 
[   17.752109] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   17.752752]  test_out_of_bounds_write+0x10d/0x260
[   17.752961]  kunit_try_run_case+0x1a5/0x480
[   17.753116]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.753381]  kthread+0x337/0x6f0
[   17.753558]  ret_from_fork+0x116/0x1d0
[   17.753763]  ret_from_fork_asm+0x1a/0x30
[   17.754089] 
[   17.754178] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.754178] 
[   17.754489] allocated by task 310 on cpu 0 at 17.751078s (0.003410s ago):
[   17.754754]  test_alloc+0x2a6/0x10f0
[   17.755026]  test_out_of_bounds_write+0xd4/0x260
[   17.755333]  kunit_try_run_case+0x1a5/0x480
[   17.755571]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.755874]  kthread+0x337/0x6f0
[   17.755999]  ret_from_fork+0x116/0x1d0
[   17.756193]  ret_from_fork_asm+0x1a/0x30
[   17.756443] 
[   17.756566] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.757158] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.757372] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.757806] ==================================================================