Hay
Date
July 24, 2025, 4:41 a.m.

Environment
qemu-arm64
qemu-x86_64

[   36.493191] ==================================================================
[   36.493339] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   36.493339] 
[   36.493438] Out-of-bounds write at 0x000000001f5983cf (1B left of kfence-#129):
[   36.493501]  test_out_of_bounds_write+0x100/0x240
[   36.493547]  kunit_try_run_case+0x170/0x3f0
[   36.493609]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.493675]  kthread+0x328/0x630
[   36.493722]  ret_from_fork+0x10/0x20
[   36.493778] 
[   36.493808] kfence-#129: 0x000000003e2f7f0e-0x0000000045f19edc, size=32, cache=kmalloc-32
[   36.493808] 
[   36.493883] allocated by task 322 on cpu 1 at 36.492657s (0.001205s ago):
[   36.493981]  test_alloc+0x29c/0x628
[   36.494024]  test_out_of_bounds_write+0xc8/0x240
[   36.494063]  kunit_try_run_case+0x170/0x3f0
[   36.494103]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.494151]  kthread+0x328/0x630
[   36.494412]  ret_from_fork+0x10/0x20
[   36.494468] 
[   36.494520] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   36.494628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.494665] Hardware name: linux,dummy-virt (DT)
[   36.494735] ==================================================================
[   36.700576] ==================================================================
[   36.700681] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   36.700681] 
[   36.700784] Out-of-bounds write at 0x000000007d5ab416 (1B left of kfence-#131):
[   36.700868]  test_out_of_bounds_write+0x100/0x240
[   36.700946]  kunit_try_run_case+0x170/0x3f0
[   36.701012]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.701057]  kthread+0x328/0x630
[   36.701096]  ret_from_fork+0x10/0x20
[   36.701135] 
[   36.701162] kfence-#131: 0x000000003a3e326f-0x000000006323d974, size=32, cache=test
[   36.701162] 
[   36.701365] allocated by task 324 on cpu 1 at 36.700475s (0.000884s ago):
[   36.701487]  test_alloc+0x230/0x628
[   36.701531]  test_out_of_bounds_write+0xc8/0x240
[   36.701592]  kunit_try_run_case+0x170/0x3f0
[   36.701649]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.701695]  kthread+0x328/0x630
[   36.701773]  ret_from_fork+0x10/0x20
[   36.701815] 
[   36.701860] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   36.701949] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.701977] Hardware name: linux,dummy-virt (DT)
[   36.702232] ==================================================================

[   32.817171] ==================================================================
[   32.817596] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   32.817596] 
[   32.817924] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#100):
[   32.818278]  test_out_of_bounds_write+0x10d/0x260
[   32.818504]  kunit_try_run_case+0x1a5/0x480
[   32.818714]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.818968]  kthread+0x337/0x6f0
[   32.819123]  ret_from_fork+0x116/0x1d0
[   32.819277]  ret_from_fork_asm+0x1a/0x30
[   32.819417] 
[   32.819499] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.819499] 
[   32.819969] allocated by task 341 on cpu 0 at 32.817102s (0.002865s ago):
[   32.820194]  test_alloc+0x2a6/0x10f0
[   32.820318]  test_out_of_bounds_write+0xd4/0x260
[   32.820462]  kunit_try_run_case+0x1a5/0x480
[   32.820681]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.820928]  kthread+0x337/0x6f0
[   32.821112]  ret_from_fork+0x116/0x1d0
[   32.821314]  ret_from_fork_asm+0x1a/0x30
[   32.821534] 
[   32.821681] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   32.822317] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   32.822529] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.822943] ==================================================================
[   32.505278] ==================================================================
[   32.505735] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   32.505735] 
[   32.506060] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#97):
[   32.506641]  test_out_of_bounds_write+0x10d/0x260
[   32.506832]  kunit_try_run_case+0x1a5/0x480
[   32.507558]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.507763]  kthread+0x337/0x6f0
[   32.507920]  ret_from_fork+0x116/0x1d0
[   32.508341]  ret_from_fork_asm+0x1a/0x30
[   32.508514] 
[   32.508625] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.508625] 
[   32.509257] allocated by task 339 on cpu 1 at 32.505140s (0.004114s ago):
[   32.509651]  test_alloc+0x364/0x10f0
[   32.509809]  test_out_of_bounds_write+0xd4/0x260
[   32.510192]  kunit_try_run_case+0x1a5/0x480
[   32.510388]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.510771]  kthread+0x337/0x6f0
[   32.510926]  ret_from_fork+0x116/0x1d0
[   32.511086]  ret_from_fork_asm+0x1a/0x30
[   32.511436] 
[   32.511545] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   32.512185] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   32.512391] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.513264] ==================================================================