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

Environment
qemu-arm64
qemu-x86_64

[   20.727108] ==================================================================
[   20.727228] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.727228] 
[   20.727375] Out-of-bounds write at 0x00000000c58f8979 (1B left of kfence-#85):
[   20.727453]  test_out_of_bounds_write+0x100/0x240
[   20.727505]  kunit_try_run_case+0x170/0x3f0
[   20.727589]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.727635]  kthread+0x328/0x630
[   20.727694]  ret_from_fork+0x10/0x20
[   20.727759] 
[   20.727785] kfence-#85: 0x00000000aba77c94-0x00000000d2241b54, size=32, cache=kmalloc-32
[   20.727785] 
[   20.727990] allocated by task 291 on cpu 0 at 20.726952s (0.001006s ago):
[   20.728215]  test_alloc+0x29c/0x628
[   20.728276]  test_out_of_bounds_write+0xc8/0x240
[   20.728346]  kunit_try_run_case+0x170/0x3f0
[   20.728390]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.728435]  kthread+0x328/0x630
[   20.728472]  ret_from_fork+0x10/0x20
[   20.728511] 
[   20.728591] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.728675] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.728722] Hardware name: linux,dummy-virt (DT)
[   20.728755] ==================================================================
[   20.833603] ==================================================================
[   20.833703] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.833703] 
[   20.833991] Out-of-bounds write at 0x0000000009a95332 (1B left of kfence-#86):
[   20.834217]  test_out_of_bounds_write+0x100/0x240
[   20.834271]  kunit_try_run_case+0x170/0x3f0
[   20.834317]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.834373]  kthread+0x328/0x630
[   20.834434]  ret_from_fork+0x10/0x20
[   20.834476] 
[   20.834500] kfence-#86: 0x0000000075cc165e-0x0000000034241277, size=32, cache=test
[   20.834500] 
[   20.834761] allocated by task 293 on cpu 0 at 20.833072s (0.001682s ago):
[   20.834853]  test_alloc+0x230/0x628
[   20.835009]  test_out_of_bounds_write+0xc8/0x240
[   20.835079]  kunit_try_run_case+0x170/0x3f0
[   20.835120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.835164]  kthread+0x328/0x630
[   20.835201]  ret_from_fork+0x10/0x20
[   20.835253] 
[   20.835302] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.835699] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.835735] Hardware name: linux,dummy-virt (DT)
[   20.836066] ==================================================================

[   17.796221] ==================================================================
[   17.796684] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.796684] 
[   17.797172] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   17.797456]  test_out_of_bounds_write+0x10d/0x260
[   17.797698]  kunit_try_run_case+0x1a5/0x480
[   17.797877]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.798704]  kthread+0x337/0x6f0
[   17.798857]  ret_from_fork+0x116/0x1d0
[   17.799264]  ret_from_fork_asm+0x1a/0x30
[   17.799455] 
[   17.799544] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.799544] 
[   17.799912] allocated by task 310 on cpu 0 at 17.796166s (0.003744s ago):
[   17.800211]  test_alloc+0x2a6/0x10f0
[   17.800401]  test_out_of_bounds_write+0xd4/0x260
[   17.800608]  kunit_try_run_case+0x1a5/0x480
[   17.800796]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.801493]  kthread+0x337/0x6f0
[   17.801639]  ret_from_fork+0x116/0x1d0
[   17.801914]  ret_from_fork_asm+0x1a/0x30
[   17.802279] 
[   17.802392] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.802998] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.803292] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.803708] ==================================================================
[   17.692601] ==================================================================
[   17.692961] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.692961] 
[   17.693328] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   17.693593]  test_out_of_bounds_write+0x10d/0x260
[   17.693828]  kunit_try_run_case+0x1a5/0x480
[   17.694869]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.695133]  kthread+0x337/0x6f0
[   17.695305]  ret_from_fork+0x116/0x1d0
[   17.695482]  ret_from_fork_asm+0x1a/0x30
[   17.695640] 
[   17.695734] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.695734] 
[   17.696122] allocated by task 308 on cpu 1 at 17.692498s (0.003621s ago):
[   17.696543]  test_alloc+0x364/0x10f0
[   17.697125]  test_out_of_bounds_write+0xd4/0x260
[   17.697293]  kunit_try_run_case+0x1a5/0x480
[   17.697444]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.697620]  kthread+0x337/0x6f0
[   17.697797]  ret_from_fork+0x116/0x1d0
[   17.697984]  ret_from_fork_asm+0x1a/0x30
[   17.698200] 
[   17.698297] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.698622] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.698761] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.699040] ==================================================================