Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   68.945099] ==================================================================
[   68.945235] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   68.945235] 
[   68.945392] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#123):
[   68.946549]  test_out_of_bounds_write+0x100/0x240
[   68.951236]  kunit_try_run_case+0x170/0x3f0
[   68.955403]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.960871]  kthread+0x328/0x630
[   68.964083]  ret_from_fork+0x10/0x20
[   68.967643] 
[   68.969121] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   68.969121] 
[   68.978235] allocated by task 342 on cpu 1 at 68.945066s (0.033166s ago):
[   68.985021]  test_alloc+0x230/0x628
[   68.988476]  test_out_of_bounds_write+0xc8/0x240
[   68.993076]  kunit_try_run_case+0x170/0x3f0
[   68.997243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.002712]  kthread+0x328/0x630
[   69.005923]  ret_from_fork+0x10/0x20
[   69.009484] 
[   69.010968] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   69.020863] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.025021] Hardware name: WinLink E850-96 board (DT)
[   69.030058] ==================================================================
[   68.737102] ==================================================================
[   68.737231] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   68.737231] 
[   68.737386] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#121):
[   68.738547]  test_out_of_bounds_write+0x100/0x240
[   68.743235]  kunit_try_run_case+0x170/0x3f0
[   68.747401]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.752870]  kthread+0x328/0x630
[   68.756082]  ret_from_fork+0x10/0x20
[   68.759641] 
[   68.761119] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   68.761119] 
[   68.770754] allocated by task 340 on cpu 7 at 68.737069s (0.033683s ago):
[   68.777538]  test_alloc+0x29c/0x628
[   68.780995]  test_out_of_bounds_write+0xc8/0x240
[   68.785595]  kunit_try_run_case+0x170/0x3f0
[   68.789762]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.795230]  kthread+0x328/0x630
[   68.798442]  ret_from_fork+0x10/0x20
[   68.802003] 
[   68.803487] CPU: 7 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   68.813384] Tainted: [B]=BAD_PAGE, [N]=TEST
[   68.817540] Hardware name: WinLink E850-96 board (DT)
[   68.822577] ==================================================================

[   22.188404] ==================================================================
[   22.188546] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.188546] 
[   22.188630] Out-of-bounds write at 0x00000000b9af016b (1B left of kfence-#88):
[   22.188685]  test_out_of_bounds_write+0x100/0x240
[   22.188731]  kunit_try_run_case+0x170/0x3f0
[   22.188954]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.189133]  kthread+0x328/0x630
[   22.189263]  ret_from_fork+0x10/0x20
[   22.189305] 
[   22.189330] kfence-#88: 0x000000007bc4ee7b-0x0000000088e5c103, size=32, cache=test
[   22.189330] 
[   22.189405] allocated by task 295 on cpu 1 at 22.188306s (0.001071s ago):
[   22.189489]  test_alloc+0x230/0x628
[   22.189552]  test_out_of_bounds_write+0xc8/0x240
[   22.189618]  kunit_try_run_case+0x170/0x3f0
[   22.189798]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.189929]  kthread+0x328/0x630
[   22.190022]  ret_from_fork+0x10/0x20
[   22.190228] 
[   22.190309] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.190679] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.190710] Hardware name: linux,dummy-virt (DT)
[   22.190840] ==================================================================
[   22.083088] ==================================================================
[   22.083286] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.083286] 
[   22.083533] Out-of-bounds write at 0x00000000f30a53c8 (1B left of kfence-#87):
[   22.083776]  test_out_of_bounds_write+0x100/0x240
[   22.083827]  kunit_try_run_case+0x170/0x3f0
[   22.083910]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.084147]  kthread+0x328/0x630
[   22.084366]  ret_from_fork+0x10/0x20
[   22.084412] 
[   22.084439] kfence-#87: 0x000000008fb00e6c-0x00000000a48b0077, size=32, cache=kmalloc-32
[   22.084439] 
[   22.084492] allocated by task 293 on cpu 1 at 22.082321s (0.002167s ago):
[   22.085053]  test_alloc+0x29c/0x628
[   22.085294]  test_out_of_bounds_write+0xc8/0x240
[   22.085341]  kunit_try_run_case+0x170/0x3f0
[   22.085668]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.085900]  kthread+0x328/0x630
[   22.085946]  ret_from_fork+0x10/0x20
[   22.085985] 
[   22.086375] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.086754] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.086785] Hardware name: linux,dummy-virt (DT)
[   22.087373] ==================================================================

[   16.085138] ==================================================================
[   16.085542] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.085542] 
[   16.086074] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#72):
[   16.086421]  test_out_of_bounds_write+0x10d/0x260
[   16.086692]  kunit_try_run_case+0x1a5/0x480
[   16.086889]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.087134]  kthread+0x337/0x6f0
[   16.087309]  ret_from_fork+0x41/0x80
[   16.087461]  ret_from_fork_asm+0x1a/0x30
[   16.087600] 
[   16.087671] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.087671] 
[   16.088106] allocated by task 312 on cpu 0 at 16.085071s (0.003032s ago):
[   16.088523]  test_alloc+0x2a6/0x10f0
[   16.088734]  test_out_of_bounds_write+0xd4/0x260
[   16.088890]  kunit_try_run_case+0x1a5/0x480
[   16.089133]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.089386]  kthread+0x337/0x6f0
[   16.089573]  ret_from_fork+0x41/0x80
[   16.089784]  ret_from_fork_asm+0x1a/0x30
[   16.089983] 
[   16.090083] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   16.090610] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.090826] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.091177] ==================================================================
[   15.877232] ==================================================================
[   15.877650] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   15.877650] 
[   15.878064] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   15.878396]  test_out_of_bounds_write+0x10d/0x260
[   15.878625]  kunit_try_run_case+0x1a5/0x480
[   15.878818]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.879027]  kthread+0x337/0x6f0
[   15.879151]  ret_from_fork+0x41/0x80
[   15.879285]  ret_from_fork_asm+0x1a/0x30
[   15.879465] 
[   15.879564] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.879564] 
[   15.880012] allocated by task 310 on cpu 1 at 15.877098s (0.002911s ago):
[   15.880347]  test_alloc+0x364/0x10f0
[   15.880521]  test_out_of_bounds_write+0xd4/0x260
[   15.880774]  kunit_try_run_case+0x1a5/0x480
[   15.880979]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.881188]  kthread+0x337/0x6f0
[   15.881359]  ret_from_fork+0x41/0x80
[   15.881545]  ret_from_fork_asm+0x1a/0x30
[   15.881710] 
[   15.881834] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   15.882258] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.882454] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.882799] ==================================================================