Hay
Date
June 16, 2025, 7:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.974920] ==================================================================
[   23.975097] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.975097] 
[   23.975299] Out-of-bounds write at 0x000000006695e6cc (1B left of kfence-#122):
[   23.975438]  test_out_of_bounds_write+0x100/0x240
[   23.975557]  kunit_try_run_case+0x170/0x3f0
[   23.975665]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.975775]  kthread+0x328/0x630
[   23.976457]  ret_from_fork+0x10/0x20
[   23.976870] 
[   23.976985] kfence-#122: 0x00000000cf10b9d1-0x00000000d129ebab, size=32, cache=kmalloc-32
[   23.976985] 
[   23.977121] allocated by task 300 on cpu 0 at 23.974619s (0.002494s ago):
[   23.977263]  test_alloc+0x29c/0x628
[   23.977350]  test_out_of_bounds_write+0xc8/0x240
[   23.977451]  kunit_try_run_case+0x170/0x3f0
[   23.977548]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.977655]  kthread+0x328/0x630
[   23.977748]  ret_from_fork+0x10/0x20
[   23.977890] 
[   23.978003] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   23.978485] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.978738] Hardware name: linux,dummy-virt (DT)
[   23.978863] ==================================================================
[   24.078253] ==================================================================
[   24.078416] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   24.078416] 
[   24.078609] Out-of-bounds write at 0x00000000c391947e (1B left of kfence-#123):
[   24.078744]  test_out_of_bounds_write+0x100/0x240
[   24.078871]  kunit_try_run_case+0x170/0x3f0
[   24.078971]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.079079]  kthread+0x328/0x630
[   24.079540]  ret_from_fork+0x10/0x20
[   24.079701] 
[   24.079787] kfence-#123: 0x000000006be936b0-0x0000000055171e5f, size=32, cache=test
[   24.079787] 
[   24.079941] allocated by task 302 on cpu 0 at 24.078071s (0.001862s ago):
[   24.080097]  test_alloc+0x230/0x628
[   24.080471]  test_out_of_bounds_write+0xc8/0x240
[   24.080572]  kunit_try_run_case+0x170/0x3f0
[   24.080681]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.080854]  kthread+0x328/0x630
[   24.080940]  ret_from_fork+0x10/0x20
[   24.081271] 
[   24.081404] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   24.081583] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.081691] Hardware name: linux,dummy-virt (DT)
[   24.081790] ==================================================================

[   16.796926] ==================================================================
[   16.797363] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.797363] 
[   16.797746] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   16.798037]  test_out_of_bounds_write+0x10d/0x260
[   16.798263]  kunit_try_run_case+0x1a5/0x480
[   16.798478]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.798695]  kthread+0x337/0x6f0
[   16.798861]  ret_from_fork+0x116/0x1d0
[   16.799001]  ret_from_fork_asm+0x1a/0x30
[   16.799140] 
[   16.799217] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.799217] 
[   16.799701] allocated by task 317 on cpu 1 at 16.796802s (0.002897s ago):
[   16.800205]  test_alloc+0x364/0x10f0
[   16.800332]  test_out_of_bounds_write+0xd4/0x260
[   16.800632]  kunit_try_run_case+0x1a5/0x480
[   16.800829]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.801005]  kthread+0x337/0x6f0
[   16.801122]  ret_from_fork+0x116/0x1d0
[   16.801309]  ret_from_fork_asm+0x1a/0x30
[   16.801499] 
[   16.801651] CPU: 1 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   16.802120] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.802253] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.802568] ==================================================================
[   17.316818] ==================================================================
[   17.317256] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.317256] 
[   17.317665] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#76):
[   17.318023]  test_out_of_bounds_write+0x10d/0x260
[   17.318238]  kunit_try_run_case+0x1a5/0x480
[   17.318508]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.318720]  kthread+0x337/0x6f0
[   17.318877]  ret_from_fork+0x116/0x1d0
[   17.319069]  ret_from_fork_asm+0x1a/0x30
[   17.319263] 
[   17.319353] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.319353] 
[   17.319706] allocated by task 319 on cpu 1 at 17.316751s (0.002952s ago):
[   17.319940]  test_alloc+0x2a6/0x10f0
[   17.320096]  test_out_of_bounds_write+0xd4/0x260
[   17.320316]  kunit_try_run_case+0x1a5/0x480
[   17.320548]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.321000]  kthread+0x337/0x6f0
[   17.321188]  ret_from_fork+0x116/0x1d0
[   17.321357]  ret_from_fork_asm+0x1a/0x30
[   17.321575] 
[   17.321718] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   17.322278] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.322475] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.322801] ==================================================================