Hay
Date
July 16, 2025, 12:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   34.912679] ==================================================================
[   34.912762] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.912762] 
[   34.912857] Out-of-bounds write at 0x00000000d80bdc28 (1B left of kfence-#124):
[   34.912918]  test_out_of_bounds_write+0x100/0x240
[   34.912975]  kunit_try_run_case+0x170/0x3f0
[   34.913020]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.913067]  kthread+0x328/0x630
[   34.913105]  ret_from_fork+0x10/0x20
[   34.913146] 
[   34.913170] kfence-#124: 0x000000006d3862bd-0x00000000037badc0, size=32, cache=kmalloc-32
[   34.913170] 
[   34.913467] allocated by task 322 on cpu 0 at 34.912528s (0.000931s ago):
[   34.913622]  test_alloc+0x29c/0x628
[   34.913708]  test_out_of_bounds_write+0xc8/0x240
[   34.913778]  kunit_try_run_case+0x170/0x3f0
[   34.913824]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.913906]  kthread+0x328/0x630
[   34.913943]  ret_from_fork+0x10/0x20
[   34.914158] 
[   34.914305] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   34.914420] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.914451] Hardware name: linux,dummy-virt (DT)
[   34.914496] ==================================================================
[   35.225415] ==================================================================
[   35.225517] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.225517] 
[   35.225606] Out-of-bounds write at 0x0000000098a101c2 (1B left of kfence-#127):
[   35.225670]  test_out_of_bounds_write+0x100/0x240
[   35.226124]  kunit_try_run_case+0x170/0x3f0
[   35.226202]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.226303]  kthread+0x328/0x630
[   35.226347]  ret_from_fork+0x10/0x20
[   35.226411] 
[   35.226626] kfence-#127: 0x00000000b37fd51b-0x0000000096a64314, size=32, cache=test
[   35.226626] 
[   35.226950] allocated by task 324 on cpu 0 at 35.225309s (0.001570s ago):
[   35.227059]  test_alloc+0x230/0x628
[   35.227146]  test_out_of_bounds_write+0xc8/0x240
[   35.227190]  kunit_try_run_case+0x170/0x3f0
[   35.227354]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.227420]  kthread+0x328/0x630
[   35.227723]  ret_from_fork+0x10/0x20
[   35.227885] 
[   35.227940] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   35.228167] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.228351] Hardware name: linux,dummy-virt (DT)
[   35.228567] ==================================================================

[   27.986285] ==================================================================
[   27.986756] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.986756] 
[   27.987322] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#88):
[   27.987654]  test_out_of_bounds_write+0x10d/0x260
[   27.987830]  kunit_try_run_case+0x1a5/0x480
[   27.988015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.988269]  kthread+0x337/0x6f0
[   27.988482]  ret_from_fork+0x116/0x1d0
[   27.988692]  ret_from_fork_asm+0x1a/0x30
[   27.988838] 
[   27.988908] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.988908] 
[   27.989193] allocated by task 340 on cpu 0 at 27.986180s (0.003011s ago):
[   27.989880]  test_alloc+0x364/0x10f0
[   27.990224]  test_out_of_bounds_write+0xd4/0x260
[   27.990673]  kunit_try_run_case+0x1a5/0x480
[   27.990840]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.991294]  kthread+0x337/0x6f0
[   27.991502]  ret_from_fork+0x116/0x1d0
[   27.991693]  ret_from_fork_asm+0x1a/0x30
[   27.992068] 
[   27.992259] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   27.992749] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.992943] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.993213] ==================================================================
[   28.090376] ==================================================================
[   28.090938] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   28.090938] 
[   28.091343] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   28.092388]  test_out_of_bounds_write+0x10d/0x260
[   28.092853]  kunit_try_run_case+0x1a5/0x480
[   28.093164]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.093517]  kthread+0x337/0x6f0
[   28.093813]  ret_from_fork+0x116/0x1d0
[   28.094097]  ret_from_fork_asm+0x1a/0x30
[   28.094381] 
[   28.094464] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.094464] 
[   28.094984] allocated by task 342 on cpu 1 at 28.090294s (0.004687s ago):
[   28.095329]  test_alloc+0x2a6/0x10f0
[   28.095518]  test_out_of_bounds_write+0xd4/0x260
[   28.095944]  kunit_try_run_case+0x1a5/0x480
[   28.096126]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.096506]  kthread+0x337/0x6f0
[   28.096810]  ret_from_fork+0x116/0x1d0
[   28.097088]  ret_from_fork_asm+0x1a/0x30
[   28.097332] 
[   28.097538] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   28.098126] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.098320] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.098673] ==================================================================