Hay
Date
July 10, 2025, 9:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   33.915527] ==================================================================
[   33.915605] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.915605] 
[   33.915719] Out-of-bounds write at 0x0000000022b77cc3 (1B left of kfence-#123):
[   33.915878]  test_out_of_bounds_write+0x100/0x240
[   33.915952]  kunit_try_run_case+0x170/0x3f0
[   33.916002]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.916048]  kthread+0x328/0x630
[   33.916094]  ret_from_fork+0x10/0x20
[   33.916148] 
[   33.916174] kfence-#123: 0x00000000d39a1f6e-0x00000000ff5f408a, size=32, cache=test
[   33.916174] 
[   33.916225] allocated by task 324 on cpu 0 at 33.915427s (0.000795s ago):
[   33.916310]  test_alloc+0x230/0x628
[   33.916360]  test_out_of_bounds_write+0xc8/0x240
[   33.916403]  kunit_try_run_case+0x170/0x3f0
[   33.916444]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.916499]  kthread+0x328/0x630
[   33.916543]  ret_from_fork+0x10/0x20
[   33.916582] 
[   33.916636] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   33.916718] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.916750] Hardware name: linux,dummy-virt (DT)
[   33.916784] ==================================================================
[   33.807657] ==================================================================
[   33.807719] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.807719] 
[   33.807807] Out-of-bounds write at 0x0000000041153f6e (1B left of kfence-#122):
[   33.807866]  test_out_of_bounds_write+0x100/0x240
[   33.807989]  kunit_try_run_case+0x170/0x3f0
[   33.808054]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.808217]  kthread+0x328/0x630
[   33.808354]  ret_from_fork+0x10/0x20
[   33.808446] 
[   33.808549] kfence-#122: 0x0000000052eb9419-0x000000006e05797f, size=32, cache=kmalloc-32
[   33.808549] 
[   33.808653] allocated by task 322 on cpu 0 at 33.807514s (0.001129s ago):
[   33.808726]  test_alloc+0x29c/0x628
[   33.808789]  test_out_of_bounds_write+0xc8/0x240
[   33.808849]  kunit_try_run_case+0x170/0x3f0
[   33.808894]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.808939]  kthread+0x328/0x630
[   33.808976]  ret_from_fork+0x10/0x20
[   33.809020] 
[   33.809067] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   33.809165] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.809194] Hardware name: linux,dummy-virt (DT)
[   33.809226] ==================================================================

[   30.452176] ==================================================================
[   30.452588] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.452588] 
[   30.453162] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#97):
[   30.453452]  test_out_of_bounds_write+0x10d/0x260
[   30.453760]  kunit_try_run_case+0x1a5/0x480
[   30.453978]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.454177]  kthread+0x337/0x6f0
[   30.454358]  ret_from_fork+0x116/0x1d0
[   30.454551]  ret_from_fork_asm+0x1a/0x30
[   30.454690] 
[   30.454870] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.454870] 
[   30.455176] allocated by task 341 on cpu 0 at 30.452118s (0.003054s ago):
[   30.455466]  test_alloc+0x2a6/0x10f0
[   30.455685]  test_out_of_bounds_write+0xd4/0x260
[   30.455957]  kunit_try_run_case+0x1a5/0x480
[   30.456185]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.456394]  kthread+0x337/0x6f0
[   30.456522]  ret_from_fork+0x116/0x1d0
[   30.456750]  ret_from_fork_asm+0x1a/0x30
[   30.456968] 
[   30.457107] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   30.457583] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.457868] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.458321] ==================================================================
[   30.244220] ==================================================================
[   30.244668] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.244668] 
[   30.245129] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#95):
[   30.245470]  test_out_of_bounds_write+0x10d/0x260
[   30.245682]  kunit_try_run_case+0x1a5/0x480
[   30.245967]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.246148]  kthread+0x337/0x6f0
[   30.246324]  ret_from_fork+0x116/0x1d0
[   30.246555]  ret_from_fork_asm+0x1a/0x30
[   30.246769] 
[   30.246858] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.246858] 
[   30.247251] allocated by task 339 on cpu 1 at 30.244102s (0.003146s ago):
[   30.247503]  test_alloc+0x364/0x10f0
[   30.247742]  test_out_of_bounds_write+0xd4/0x260
[   30.247973]  kunit_try_run_case+0x1a5/0x480
[   30.248180]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.248366]  kthread+0x337/0x6f0
[   30.248486]  ret_from_fork+0x116/0x1d0
[   30.248617]  ret_from_fork_asm+0x1a/0x30
[   30.248767] 
[   30.248860] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   30.249421] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.249714] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.250219] ==================================================================