Hay
Date
July 20, 2025, 8:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   19.898580] ==================================================================
[   19.898714] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.898714] 
[   19.898822] Out-of-bounds write at 0x000000009b3a4672 (1B left of kfence-#89):
[   19.898907]  test_out_of_bounds_write+0x100/0x240
[   19.898973]  kunit_try_run_case+0x170/0x3f0
[   19.899038]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.899117]  kthread+0x328/0x630
[   19.899156]  ret_from_fork+0x10/0x20
[   19.899206] 
[   19.899234] kfence-#89: 0x000000002ab549be-0x00000000d5e1a176, size=32, cache=test
[   19.899234] 
[   19.899285] allocated by task 294 on cpu 0 at 19.898489s (0.000791s ago):
[   19.899498]  test_alloc+0x230/0x628
[   19.899548]  test_out_of_bounds_write+0xc8/0x240
[   19.899609]  kunit_try_run_case+0x170/0x3f0
[   19.899765]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.899910]  kthread+0x328/0x630
[   19.900054]  ret_from_fork+0x10/0x20
[   19.900168] 
[   19.900225] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.900343] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.900395] Hardware name: linux,dummy-virt (DT)
[   19.900442] ==================================================================
[   19.482237] ==================================================================
[   19.482317] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.482317] 
[   19.482666] Out-of-bounds write at 0x00000000f80cfefc (1B left of kfence-#85):
[   19.482779]  test_out_of_bounds_write+0x100/0x240
[   19.482838]  kunit_try_run_case+0x170/0x3f0
[   19.483127]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.483276]  kthread+0x328/0x630
[   19.483322]  ret_from_fork+0x10/0x20
[   19.483389] 
[   19.483437] kfence-#85: 0x00000000deaf6e89-0x000000003b4cbfd3, size=32, cache=kmalloc-32
[   19.483437] 
[   19.483524] allocated by task 292 on cpu 0 at 19.481886s (0.001616s ago):
[   19.483595]  test_alloc+0x29c/0x628
[   19.483669]  test_out_of_bounds_write+0xc8/0x240
[   19.483731]  kunit_try_run_case+0x170/0x3f0
[   19.483788]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.483831]  kthread+0x328/0x630
[   19.483881]  ret_from_fork+0x10/0x20
[   19.483936] 
[   19.483984] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.484318] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.484364] Hardware name: linux,dummy-virt (DT)
[   19.484657] ==================================================================

[   18.155518] ==================================================================
[   18.156072] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.156072] 
[   18.156487] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   18.156860]  test_out_of_bounds_write+0x10d/0x260
[   18.157109]  kunit_try_run_case+0x1a5/0x480
[   18.157350]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.157593]  kthread+0x337/0x6f0
[   18.157780]  ret_from_fork+0x116/0x1d0
[   18.158078]  ret_from_fork_asm+0x1a/0x30
[   18.158240] 
[   18.158318] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.158318] 
[   18.158817] allocated by task 309 on cpu 0 at 18.155387s (0.003428s ago):
[   18.159574]  test_alloc+0x364/0x10f0
[   18.159768]  test_out_of_bounds_write+0xd4/0x260
[   18.160109]  kunit_try_run_case+0x1a5/0x480
[   18.160333]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.160595]  kthread+0x337/0x6f0
[   18.161356]  ret_from_fork+0x116/0x1d0
[   18.161535]  ret_from_fork_asm+0x1a/0x30
[   18.161868] 
[   18.162131] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.162700] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.162903] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.163503] ==================================================================
[   18.259448] ==================================================================
[   18.259891] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.259891] 
[   18.260287] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   18.260646]  test_out_of_bounds_write+0x10d/0x260
[   18.260899]  kunit_try_run_case+0x1a5/0x480
[   18.261087]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.261288]  kthread+0x337/0x6f0
[   18.261477]  ret_from_fork+0x116/0x1d0
[   18.261678]  ret_from_fork_asm+0x1a/0x30
[   18.261884] 
[   18.261962] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.261962] 
[   18.262327] allocated by task 311 on cpu 1 at 18.259382s (0.002942s ago):
[   18.262618]  test_alloc+0x2a6/0x10f0
[   18.262827]  test_out_of_bounds_write+0xd4/0x260
[   18.263031]  kunit_try_run_case+0x1a5/0x480
[   18.263203]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.263477]  kthread+0x337/0x6f0
[   18.263656]  ret_from_fork+0x116/0x1d0
[   18.263850]  ret_from_fork_asm+0x1a/0x30
[   18.264052] 
[   18.264166] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.264636] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.264844] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.265187] ==================================================================