Hay
Date
July 9, 2025, 1:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   33.882343] ==================================================================
[   33.882433] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.882433] 
[   33.882684] Out-of-bounds write at 0x00000000cb1dd661 (1B left of kfence-#126):
[   33.882975]  test_out_of_bounds_write+0x100/0x240
[   33.883044]  kunit_try_run_case+0x170/0x3f0
[   33.883110]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.883156]  kthread+0x328/0x630
[   33.883197]  ret_from_fork+0x10/0x20
[   33.883393] 
[   33.883437] kfence-#126: 0x000000008941b12e-0x000000009eec54e7, size=32, cache=kmalloc-32
[   33.883437] 
[   33.883639] allocated by task 323 on cpu 1 at 33.882141s (0.001350s ago):
[   33.884019]  test_alloc+0x29c/0x628
[   33.884089]  test_out_of_bounds_write+0xc8/0x240
[   33.884302]  kunit_try_run_case+0x170/0x3f0
[   33.884506]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.884783]  kthread+0x328/0x630
[   33.884924]  ret_from_fork+0x10/0x20
[   33.885014] 
[   33.885132] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   33.885409] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.885581] Hardware name: linux,dummy-virt (DT)
[   33.885740] ==================================================================
[   33.985778] ==================================================================
[   33.986121] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.986121] 
[   33.986491] Out-of-bounds write at 0x000000008d47373e (1B left of kfence-#127):
[   33.986586]  test_out_of_bounds_write+0x100/0x240
[   33.986766]  kunit_try_run_case+0x170/0x3f0
[   33.986834]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.987143]  kthread+0x328/0x630
[   33.987205]  ret_from_fork+0x10/0x20
[   33.987508] 
[   33.987652] kfence-#127: 0x0000000028b701d3-0x00000000b59be776, size=32, cache=test
[   33.987652] 
[   33.987778] allocated by task 325 on cpu 1 at 33.985590s (0.002175s ago):
[   33.987858]  test_alloc+0x230/0x628
[   33.988209]  test_out_of_bounds_write+0xc8/0x240
[   33.988372]  kunit_try_run_case+0x170/0x3f0
[   33.988418]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.988725]  kthread+0x328/0x630
[   33.988859]  ret_from_fork+0x10/0x20
[   33.989145] 
[   33.989365] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   33.989939] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.990036] Hardware name: linux,dummy-virt (DT)
[   33.990243] ==================================================================

[   29.252187] ==================================================================
[   29.252595] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.252595] 
[   29.253146] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#95):
[   29.253467]  test_out_of_bounds_write+0x10d/0x260
[   29.253756]  kunit_try_run_case+0x1a5/0x480
[   29.253967]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.254230]  kthread+0x337/0x6f0
[   29.254352]  ret_from_fork+0x116/0x1d0
[   29.254527]  ret_from_fork_asm+0x1a/0x30
[   29.254741] 
[   29.254876] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.254876] 
[   29.255246] allocated by task 343 on cpu 1 at 29.252122s (0.003121s ago):
[   29.255579]  test_alloc+0x2a6/0x10f0
[   29.255792]  test_out_of_bounds_write+0xd4/0x260
[   29.256023]  kunit_try_run_case+0x1a5/0x480
[   29.256237]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.256494]  kthread+0x337/0x6f0
[   29.256657]  ret_from_fork+0x116/0x1d0
[   29.256862]  ret_from_fork_asm+0x1a/0x30
[   29.256998] 
[   29.257092] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   29.257653] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   29.257892] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.258210] ==================================================================
[   28.940400] ==================================================================
[   28.940841] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   28.940841] 
[   28.941234] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#92):
[   28.941565]  test_out_of_bounds_write+0x10d/0x260
[   28.942248]  kunit_try_run_case+0x1a5/0x480
[   28.942482]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.942712]  kthread+0x337/0x6f0
[   28.942928]  ret_from_fork+0x116/0x1d0
[   28.943424]  ret_from_fork_asm+0x1a/0x30
[   28.943687] 
[   28.943784] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.943784] 
[   28.944401] allocated by task 341 on cpu 0 at 28.940268s (0.004130s ago):
[   28.944865]  test_alloc+0x364/0x10f0
[   28.945117]  test_out_of_bounds_write+0xd4/0x260
[   28.945325]  kunit_try_run_case+0x1a5/0x480
[   28.945503]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.945739]  kthread+0x337/0x6f0
[   28.946118]  ret_from_fork+0x116/0x1d0
[   28.946370]  ret_from_fork_asm+0x1a/0x30
[   28.946523] 
[   28.946646] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   28.947360] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   28.947661] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.948155] ==================================================================