Hay
Date
June 23, 2025, 1:39 p.m.

Environment
qemu-arm64
qemu-x86_64

[   31.470210] ==================================================================
[   31.470352] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.470352] 
[   31.471304] Out-of-bounds write at 0x0000000074c348ff (1B left of kfence-#127):
[   31.471558]  test_out_of_bounds_write+0x100/0x240
[   31.471734]  kunit_try_run_case+0x170/0x3f0
[   31.471954]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.472063]  kthread+0x328/0x630
[   31.472220]  ret_from_fork+0x10/0x20
[   31.472377] 
[   31.472571] kfence-#127: 0x0000000067855c12-0x0000000084f49174, size=32, cache=kmalloc-32
[   31.472571] 
[   31.472920] allocated by task 293 on cpu 0 at 31.469852s (0.003040s ago):
[   31.473082]  test_alloc+0x29c/0x628
[   31.473658]  test_out_of_bounds_write+0xc8/0x240
[   31.473778]  kunit_try_run_case+0x170/0x3f0
[   31.473907]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.474007]  kthread+0x328/0x630
[   31.474059]  ret_from_fork+0x10/0x20
[   31.474108] 
[   31.474162] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   31.474256] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.474293] Hardware name: linux,dummy-virt (DT)
[   31.474333] ==================================================================
[   31.791987] ==================================================================
[   31.792128] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.792128] 
[   31.792456] Out-of-bounds write at 0x000000003c5ea7d8 (1B left of kfence-#130):
[   31.792723]  test_out_of_bounds_write+0x100/0x240
[   31.793209]  kunit_try_run_case+0x170/0x3f0
[   31.793334]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.793461]  kthread+0x328/0x630
[   31.793578]  ret_from_fork+0x10/0x20
[   31.793738] 
[   31.793798] kfence-#130: 0x0000000034e8a307-0x00000000c155a5a0, size=32, cache=test
[   31.793798] 
[   31.794502] allocated by task 295 on cpu 0 at 31.791827s (0.002081s ago):
[   31.794995]  test_alloc+0x230/0x628
[   31.795321]  test_out_of_bounds_write+0xc8/0x240
[   31.795545]  kunit_try_run_case+0x170/0x3f0
[   31.795654]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.795793]  kthread+0x328/0x630
[   31.795915]  ret_from_fork+0x10/0x20
[   31.796246] 
[   31.796463] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   31.797054] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.797190] Hardware name: linux,dummy-virt (DT)
[   31.797741] ==================================================================

[   25.802156] ==================================================================
[   25.802869] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   25.802869] 
[   25.803803] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#108):
[   25.804402]  test_out_of_bounds_write+0x10d/0x260
[   25.804837]  kunit_try_run_case+0x1a5/0x480
[   25.805718]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.806120]  kthread+0x337/0x6f0
[   25.806554]  ret_from_fork+0x41/0x80
[   25.806937]  ret_from_fork_asm+0x1a/0x30
[   25.807420] 
[   25.807682] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.807682] 
[   25.808419] allocated by task 314 on cpu 0 at 25.802061s (0.006352s ago):
[   25.808949]  test_alloc+0x2a6/0x10f0
[   25.809391]  test_out_of_bounds_write+0xd4/0x260
[   25.809875]  kunit_try_run_case+0x1a5/0x480
[   25.810340]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.810820]  kthread+0x337/0x6f0
[   25.811129]  ret_from_fork+0x41/0x80
[   25.811572]  ret_from_fork_asm+0x1a/0x30
[   25.812019] 
[   25.812295] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   25.813164] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.813510] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.814175] ==================================================================
[   25.698261] ==================================================================
[   25.698946] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   25.698946] 
[   25.699827] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#107):
[   25.700447]  test_out_of_bounds_write+0x10d/0x260
[   25.700933]  kunit_try_run_case+0x1a5/0x480
[   25.701370]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.701964]  kthread+0x337/0x6f0
[   25.702337]  ret_from_fork+0x41/0x80
[   25.702770]  ret_from_fork_asm+0x1a/0x30
[   25.703244] 
[   25.703481] kfence-#107: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.703481] 
[   25.704272] allocated by task 312 on cpu 0 at 25.698084s (0.006183s ago):
[   25.705081]  test_alloc+0x364/0x10f0
[   25.705380]  test_out_of_bounds_write+0xd4/0x260
[   25.706061]  kunit_try_run_case+0x1a5/0x480
[   25.706575]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.707233]  kthread+0x337/0x6f0
[   25.707534]  ret_from_fork+0x41/0x80
[   25.707871]  ret_from_fork_asm+0x1a/0x30
[   25.708369] 
[   25.708790] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   25.709719] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.710116] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.710911] ==================================================================