Hay
Date
July 1, 2025, 12:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.157608] ==================================================================
[   22.157703] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.157703] 
[   22.158145] Out-of-bounds write at 0x00000000e431ada1 (1B left of kfence-#95):
[   22.158557]  test_out_of_bounds_write+0x100/0x240
[   22.158837]  kunit_try_run_case+0x170/0x3f0
[   22.158982]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.159076]  kthread+0x328/0x630
[   22.159121]  ret_from_fork+0x10/0x20
[   22.159591] 
[   22.159769] kfence-#95: 0x0000000067b98917-0x000000005613dfcf, size=32, cache=kmalloc-32
[   22.159769] 
[   22.159975] allocated by task 291 on cpu 0 at 22.157367s (0.002576s ago):
[   22.160136]  test_alloc+0x29c/0x628
[   22.160640]  test_out_of_bounds_write+0xc8/0x240
[   22.160825]  kunit_try_run_case+0x170/0x3f0
[   22.161066]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.161152]  kthread+0x328/0x630
[   22.161572]  ret_from_fork+0x10/0x20
[   22.161711] 
[   22.162051] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.162437] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.162624] Hardware name: linux,dummy-virt (DT)
[   22.162864] ==================================================================
[   22.363435] ==================================================================
[   22.363559] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.363559] 
[   22.363656] Out-of-bounds write at 0x000000000e678661 (1B left of kfence-#97):
[   22.363716]  test_out_of_bounds_write+0x100/0x240
[   22.363763]  kunit_try_run_case+0x170/0x3f0
[   22.363810]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.363860]  kthread+0x328/0x630
[   22.363900]  ret_from_fork+0x10/0x20
[   22.363940] 
[   22.363965] kfence-#97: 0x00000000f6bfd2cb-0x000000006a1152d2, size=32, cache=test
[   22.363965] 
[   22.364017] allocated by task 293 on cpu 0 at 22.363350s (0.000663s ago):
[   22.364088]  test_alloc+0x230/0x628
[   22.364130]  test_out_of_bounds_write+0xc8/0x240
[   22.364173]  kunit_try_run_case+0x170/0x3f0
[   22.364214]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.364259]  kthread+0x328/0x630
[   22.364296]  ret_from_fork+0x10/0x20
[   22.364337] 
[   22.364383] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.364475] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.364506] Hardware name: linux,dummy-virt (DT)
[   22.364543] ==================================================================

[   16.825398] ==================================================================
[   16.825816] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.825816] 
[   16.826415] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   16.826686]  test_out_of_bounds_write+0x10d/0x260
[   16.826863]  kunit_try_run_case+0x1a5/0x480
[   16.827098]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.827414]  kthread+0x337/0x6f0
[   16.827542]  ret_from_fork+0x116/0x1d0
[   16.827743]  ret_from_fork_asm+0x1a/0x30
[   16.827953] 
[   16.828064] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.828064] 
[   16.828400] allocated by task 310 on cpu 0 at 16.825338s (0.003060s ago):
[   16.828681]  test_alloc+0x2a6/0x10f0
[   16.828872]  test_out_of_bounds_write+0xd4/0x260
[   16.829112]  kunit_try_run_case+0x1a5/0x480
[   16.829357]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.829563]  kthread+0x337/0x6f0
[   16.829728]  ret_from_fork+0x116/0x1d0
[   16.829903]  ret_from_fork_asm+0x1a/0x30
[   16.830113] 
[   16.830252] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.830664] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.830859] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.831258] ==================================================================
[   16.409505] ==================================================================
[   16.409914] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.409914] 
[   16.410387] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   16.410705]  test_out_of_bounds_write+0x10d/0x260
[   16.410920]  kunit_try_run_case+0x1a5/0x480
[   16.411135]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.411375]  kthread+0x337/0x6f0
[   16.411513]  ret_from_fork+0x116/0x1d0
[   16.411703]  ret_from_fork_asm+0x1a/0x30
[   16.411889] 
[   16.411978] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.411978] 
[   16.412393] allocated by task 308 on cpu 0 at 16.409384s (0.003006s ago):
[   16.412681]  test_alloc+0x364/0x10f0
[   16.412857]  test_out_of_bounds_write+0xd4/0x260
[   16.413077]  kunit_try_run_case+0x1a5/0x480
[   16.413229]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.413507]  kthread+0x337/0x6f0
[   16.413656]  ret_from_fork+0x116/0x1d0
[   16.413830]  ret_from_fork_asm+0x1a/0x30
[   16.414004] 
[   16.414135] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.414597] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.414772] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.415053] ==================================================================