Hay
Date
July 16, 2025, 3:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.023730] ==================================================================
[   22.023822] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.023822] 
[   22.023918] Out-of-bounds write at 0x00000000c313243e (1B left of kfence-#98):
[   22.023978]  test_out_of_bounds_write+0x100/0x240
[   22.024028]  kunit_try_run_case+0x170/0x3f0
[   22.024072]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.024116]  kthread+0x328/0x630
[   22.024156]  ret_from_fork+0x10/0x20
[   22.024197] 
[   22.024221] kfence-#98: 0x000000008a6f30bc-0x000000008768534c, size=32, cache=test
[   22.024221] 
[   22.024275] allocated by task 293 on cpu 1 at 22.023632s (0.000640s ago):
[   22.024348]  test_alloc+0x230/0x628
[   22.024390]  test_out_of_bounds_write+0xc8/0x240
[   22.024431]  kunit_try_run_case+0x170/0x3f0
[   22.024471]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.024517]  kthread+0x328/0x630
[   22.024552]  ret_from_fork+0x10/0x20
[   22.024593] 
[   22.024635] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   22.024731] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.024761] Hardware name: linux,dummy-virt (DT)
[   22.024795] ==================================================================
[   21.919906] ==================================================================
[   21.920016] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.920016] 
[   21.920123] Out-of-bounds write at 0x000000005eba406a (1B left of kfence-#97):
[   21.920185]  test_out_of_bounds_write+0x100/0x240
[   21.920233]  kunit_try_run_case+0x170/0x3f0
[   21.920280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.920327]  kthread+0x328/0x630
[   21.920367]  ret_from_fork+0x10/0x20
[   21.920408] 
[   21.920432] kfence-#97: 0x0000000074d30d27-0x000000008604b5ac, size=32, cache=kmalloc-32
[   21.920432] 
[   21.920491] allocated by task 291 on cpu 1 at 21.919632s (0.000855s ago):
[   21.920565]  test_alloc+0x29c/0x628
[   21.920605]  test_out_of_bounds_write+0xc8/0x240
[   21.920649]  kunit_try_run_case+0x170/0x3f0
[   21.920688]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.920751]  kthread+0x328/0x630
[   21.920787]  ret_from_fork+0x10/0x20
[   21.920829] 
[   21.920884] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.921045] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.921073] Hardware name: linux,dummy-virt (DT)
[   21.921108] ==================================================================

[   18.420377] ==================================================================
[   18.420802] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.420802] 
[   18.421359] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#76):
[   18.421733]  test_out_of_bounds_write+0x10d/0x260
[   18.422472]  kunit_try_run_case+0x1a5/0x480
[   18.422707]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.423172]  kthread+0x337/0x6f0
[   18.423454]  ret_from_fork+0x116/0x1d0
[   18.423612]  ret_from_fork_asm+0x1a/0x30
[   18.423866] 
[   18.424146] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.424146] 
[   18.424667] allocated by task 308 on cpu 0 at 18.420254s (0.004410s ago):
[   18.424981]  test_alloc+0x364/0x10f0
[   18.425171]  test_out_of_bounds_write+0xd4/0x260
[   18.425414]  kunit_try_run_case+0x1a5/0x480
[   18.425690]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.425937]  kthread+0x337/0x6f0
[   18.426086]  ret_from_fork+0x116/0x1d0
[   18.426299]  ret_from_fork_asm+0x1a/0x30
[   18.426525] 
[   18.426658] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.427109] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.427319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.427625] ==================================================================
[   18.836347] ==================================================================
[   18.836745] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.836745] 
[   18.837304] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#80):
[   18.837554]  test_out_of_bounds_write+0x10d/0x260
[   18.837828]  kunit_try_run_case+0x1a5/0x480
[   18.838214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.838550]  kthread+0x337/0x6f0
[   18.838682]  ret_from_fork+0x116/0x1d0
[   18.838878]  ret_from_fork_asm+0x1a/0x30
[   18.839113] 
[   18.839222] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.839222] 
[   18.839685] allocated by task 310 on cpu 0 at 18.836288s (0.003395s ago):
[   18.840007]  test_alloc+0x2a6/0x10f0
[   18.840222]  test_out_of_bounds_write+0xd4/0x260
[   18.840452]  kunit_try_run_case+0x1a5/0x480
[   18.840619]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.840801]  kthread+0x337/0x6f0
[   18.840940]  ret_from_fork+0x116/0x1d0
[   18.841136]  ret_from_fork_asm+0x1a/0x30
[   18.841362] 
[   18.841523] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.842213] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.842412] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.842685] ==================================================================