Hay
Date
July 4, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.004577] ==================================================================
[   22.004658] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.004658] 
[   22.004779] Out-of-bounds write at 0x000000001a1ab30a (1B left of kfence-#84):
[   22.005019]  test_out_of_bounds_write+0x100/0x240
[   22.005224]  kunit_try_run_case+0x170/0x3f0
[   22.005276]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.005540]  kthread+0x328/0x630
[   22.005698]  ret_from_fork+0x10/0x20
[   22.005851] 
[   22.005880] kfence-#84: 0x0000000026976af1-0x000000006a03fa1d, size=32, cache=kmalloc-32
[   22.005880] 
[   22.005984] allocated by task 291 on cpu 1 at 22.004276s (0.001656s ago):
[   22.006063]  test_alloc+0x29c/0x628
[   22.006424]  test_out_of_bounds_write+0xc8/0x240
[   22.006493]  kunit_try_run_case+0x170/0x3f0
[   22.006649]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.006760]  kthread+0x328/0x630
[   22.006943]  ret_from_fork+0x10/0x20
[   22.007110] 
[   22.007160] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.007247] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.007277] Hardware name: linux,dummy-virt (DT)
[   22.007312] ==================================================================
[   22.107701] ==================================================================
[   22.107846] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.107846] 
[   22.107980] Out-of-bounds write at 0x00000000379cc138 (1B left of kfence-#85):
[   22.108135]  test_out_of_bounds_write+0x100/0x240
[   22.108208]  kunit_try_run_case+0x170/0x3f0
[   22.108261]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.108533]  kthread+0x328/0x630
[   22.108596]  ret_from_fork+0x10/0x20
[   22.108706] 
[   22.108763] kfence-#85: 0x000000000144e235-0x0000000068a85069, size=32, cache=test
[   22.108763] 
[   22.109023] allocated by task 293 on cpu 1 at 22.107604s (0.001329s ago):
[   22.109142]  test_alloc+0x230/0x628
[   22.109186]  test_out_of_bounds_write+0xc8/0x240
[   22.109295]  kunit_try_run_case+0x170/0x3f0
[   22.109379]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.109634]  kthread+0x328/0x630
[   22.109710]  ret_from_fork+0x10/0x20
[   22.109846] 
[   22.109977] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.110067] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.110115] Hardware name: linux,dummy-virt (DT)
[   22.110157] ==================================================================

[   17.794706] ==================================================================
[   17.795206] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.795206] 
[   17.795620] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#79):
[   17.795955]  test_out_of_bounds_write+0x10d/0x260
[   17.796127]  kunit_try_run_case+0x1a5/0x480
[   17.796332]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.796547]  kthread+0x337/0x6f0
[   17.796749]  ret_from_fork+0x116/0x1d0
[   17.796960]  ret_from_fork_asm+0x1a/0x30
[   17.797104] 
[   17.797207] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.797207] 
[   17.797822] allocated by task 310 on cpu 0 at 17.794640s (0.003179s ago):
[   17.798083]  test_alloc+0x2a6/0x10f0
[   17.798286]  test_out_of_bounds_write+0xd4/0x260
[   17.798485]  kunit_try_run_case+0x1a5/0x480
[   17.798719]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.798942]  kthread+0x337/0x6f0
[   17.799100]  ret_from_fork+0x116/0x1d0
[   17.799272]  ret_from_fork_asm+0x1a/0x30
[   17.799475] 
[   17.799601] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.800059] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.800208] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.800621] ==================================================================
[   17.588527] ==================================================================
[   17.588929] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.588929] 
[   17.589298] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#77):
[   17.589707]  test_out_of_bounds_write+0x10d/0x260
[   17.589905]  kunit_try_run_case+0x1a5/0x480
[   17.590070]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.590329]  kthread+0x337/0x6f0
[   17.590578]  ret_from_fork+0x116/0x1d0
[   17.590768]  ret_from_fork_asm+0x1a/0x30
[   17.590909] 
[   17.591012] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.591012] 
[   17.591466] allocated by task 308 on cpu 1 at 17.588306s (0.003158s ago):
[   17.591770]  test_alloc+0x364/0x10f0
[   17.591963]  test_out_of_bounds_write+0xd4/0x260
[   17.592228]  kunit_try_run_case+0x1a5/0x480
[   17.592440]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.592729]  kthread+0x337/0x6f0
[   17.592865]  ret_from_fork+0x116/0x1d0
[   17.593012]  ret_from_fork_asm+0x1a/0x30
[   17.593212] 
[   17.593345] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.593745] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.593931] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.594568] ==================================================================