Hay
Date
June 24, 2025, 12:47 p.m.

Environment
qemu-arm64
qemu-x86_64

[   30.352747] ==================================================================
[   30.353169] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   30.353169] 
[   30.353530] Out-of-bounds write at 0x0000000080ac6ea0 (1B left of kfence-#123):
[   30.353660]  test_out_of_bounds_write+0x100/0x240
[   30.353768]  kunit_try_run_case+0x170/0x3f0
[   30.355422]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.355572]  kthread+0x328/0x630
[   30.355683]  ret_from_fork+0x10/0x20
[   30.355740] 
[   30.355770] kfence-#123: 0x000000007130df1a-0x000000004259527e, size=32, cache=test
[   30.355770] 
[   30.355876] allocated by task 295 on cpu 1 at 30.352283s (0.003583s ago):
[   30.356047]  test_alloc+0x230/0x628
[   30.356266]  test_out_of_bounds_write+0xc8/0x240
[   30.356717]  kunit_try_run_case+0x170/0x3f0
[   30.356890]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.357008]  kthread+0x328/0x630
[   30.357118]  ret_from_fork+0x10/0x20
[   30.357591] 
[   30.357705] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT 
[   30.358350] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.358465] Hardware name: linux,dummy-virt (DT)
[   30.358952] ==================================================================
[   30.245775] ==================================================================
[   30.246333] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   30.246333] 
[   30.246847] Out-of-bounds write at 0x0000000088e5dc6c (1B left of kfence-#122):
[   30.247200]  test_out_of_bounds_write+0x100/0x240
[   30.247452]  kunit_try_run_case+0x170/0x3f0
[   30.247677]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.247995]  kthread+0x328/0x630
[   30.248408]  ret_from_fork+0x10/0x20
[   30.248853] 
[   30.250023] kfence-#122: 0x0000000015eec71f-0x00000000dc769305, size=32, cache=kmalloc-32
[   30.250023] 
[   30.250238] allocated by task 293 on cpu 1 at 30.245477s (0.004749s ago):
[   30.250560]  test_alloc+0x29c/0x628
[   30.250681]  test_out_of_bounds_write+0xc8/0x240
[   30.250869]  kunit_try_run_case+0x170/0x3f0
[   30.251334]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.252038]  kthread+0x328/0x630
[   30.252540]  ret_from_fork+0x10/0x20
[   30.252690] 
[   30.252791] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT 
[   30.253338] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.253694] Hardware name: linux,dummy-virt (DT)
[   30.254095] ==================================================================

[   17.659155] ==================================================================
[   17.659562] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.659562] 
[   17.659885] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#85):
[   17.660952]  test_out_of_bounds_write+0x10d/0x260
[   17.661257]  kunit_try_run_case+0x1a5/0x480
[   17.661559]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.662267]  kthread+0x337/0x6f0
[   17.662594]  ret_from_fork+0x41/0x80
[   17.662850]  ret_from_fork_asm+0x1a/0x30
[   17.663208] 
[   17.663462] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.663462] 
[   17.664147] allocated by task 311 on cpu 1 at 17.658936s (0.005205s ago):
[   17.664922]  test_alloc+0x364/0x10f0
[   17.665146]  test_out_of_bounds_write+0xd4/0x260
[   17.665688]  kunit_try_run_case+0x1a5/0x480
[   17.666052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.666250]  kthread+0x337/0x6f0
[   17.666806]  ret_from_fork+0x41/0x80
[   17.667019]  ret_from_fork_asm+0x1a/0x30
[   17.667171] 
[   17.667479] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT(voluntary) 
[   17.668206] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.668459] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.669175] ==================================================================
[   17.763045] ==================================================================
[   17.763490] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.763490] 
[   17.763804] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#86):
[   17.764227]  test_out_of_bounds_write+0x10d/0x260
[   17.764571]  kunit_try_run_case+0x1a5/0x480
[   17.764942]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.765158]  kthread+0x337/0x6f0
[   17.765382]  ret_from_fork+0x41/0x80
[   17.765646]  ret_from_fork_asm+0x1a/0x30
[   17.766041] 
[   17.766146] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.766146] 
[   17.766740] allocated by task 313 on cpu 1 at 17.762943s (0.003774s ago):
[   17.767057]  test_alloc+0x2a6/0x10f0
[   17.767359]  test_out_of_bounds_write+0xd4/0x260
[   17.767692]  kunit_try_run_case+0x1a5/0x480
[   17.768112]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.768361]  kthread+0x337/0x6f0
[   17.768516]  ret_from_fork+0x41/0x80
[   17.768780]  ret_from_fork_asm+0x1a/0x30
[   17.769087] 
[   17.769314] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT(voluntary) 
[   17.770001] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.770232] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.770564] ==================================================================