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

Environment
qemu-arm64
qemu-x86_64

[   23.033590] ==================================================================
[   23.033902] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.033902] 
[   23.034013] Out-of-bounds write at 0x000000009e849406 (1B left of kfence-#82):
[   23.034214]  test_out_of_bounds_write+0x100/0x240
[   23.034282]  kunit_try_run_case+0x170/0x3f0
[   23.034522]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.034586]  kthread+0x328/0x630
[   23.034629]  ret_from_fork+0x10/0x20
[   23.034676] 
[   23.034805] kfence-#82: 0x00000000c269dfe6-0x00000000954aac20, size=32, cache=kmalloc-32
[   23.034805] 
[   23.034997] allocated by task 291 on cpu 0 at 23.033078s (0.001911s ago):
[   23.035394]  test_alloc+0x29c/0x628
[   23.035468]  test_out_of_bounds_write+0xc8/0x240
[   23.035617]  kunit_try_run_case+0x170/0x3f0
[   23.035663]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.035708]  kthread+0x328/0x630
[   23.036008]  ret_from_fork+0x10/0x20
[   23.036213] 
[   23.036364] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.036608] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.036732] Hardware name: linux,dummy-virt (DT)
[   23.036816] ==================================================================
[   23.136799] ==================================================================
[   23.136874] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.136874] 
[   23.136953] Out-of-bounds write at 0x000000003295f3c1 (1B left of kfence-#83):
[   23.137006]  test_out_of_bounds_write+0x100/0x240
[   23.137054]  kunit_try_run_case+0x170/0x3f0
[   23.137098]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.137142]  kthread+0x328/0x630
[   23.137194]  ret_from_fork+0x10/0x20
[   23.137233] 
[   23.137257] kfence-#83: 0x000000006ea2d877-0x000000001884d0a6, size=32, cache=test
[   23.137257] 
[   23.137329] allocated by task 293 on cpu 0 at 23.136722s (0.000585s ago):
[   23.137411]  test_alloc+0x230/0x628
[   23.137461]  test_out_of_bounds_write+0xc8/0x240
[   23.137514]  kunit_try_run_case+0x170/0x3f0
[   23.137554]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.137597]  kthread+0x328/0x630
[   23.137642]  ret_from_fork+0x10/0x20
[   23.137692] 
[   23.137933] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.138015] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.138054] Hardware name: linux,dummy-virt (DT)
[   23.138199] ==================================================================

[   17.481371] ==================================================================
[   17.481867] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.481867] 
[   17.482361] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   17.482799]  test_out_of_bounds_write+0x10d/0x260
[   17.482993]  kunit_try_run_case+0x1a5/0x480
[   17.483151]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.483413]  kthread+0x337/0x6f0
[   17.483644]  ret_from_fork+0x116/0x1d0
[   17.484321]  ret_from_fork_asm+0x1a/0x30
[   17.484885] 
[   17.484992] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.484992] 
[   17.485380] allocated by task 309 on cpu 1 at 17.481222s (0.004155s ago):
[   17.485946]  test_alloc+0x364/0x10f0
[   17.486138]  test_out_of_bounds_write+0xd4/0x260
[   17.486498]  kunit_try_run_case+0x1a5/0x480
[   17.486817]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.487072]  kthread+0x337/0x6f0
[   17.487236]  ret_from_fork+0x116/0x1d0
[   17.487413]  ret_from_fork_asm+0x1a/0x30
[   17.487872] 
[   17.487998] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.488656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.488994] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.489385] ==================================================================
[   17.585354] ==================================================================
[   17.585805] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.585805] 
[   17.586238] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   17.586632]  test_out_of_bounds_write+0x10d/0x260
[   17.586814]  kunit_try_run_case+0x1a5/0x480
[   17.587035]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.587278]  kthread+0x337/0x6f0
[   17.587437]  ret_from_fork+0x116/0x1d0
[   17.587595]  ret_from_fork_asm+0x1a/0x30
[   17.587779] 
[   17.587881] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.587881] 
[   17.588280] allocated by task 311 on cpu 0 at 17.585288s (0.002990s ago):
[   17.588560]  test_alloc+0x2a6/0x10f0
[   17.588792]  test_out_of_bounds_write+0xd4/0x260
[   17.589040]  kunit_try_run_case+0x1a5/0x480
[   17.589234]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.589461]  kthread+0x337/0x6f0
[   17.589585]  ret_from_fork+0x116/0x1d0
[   17.589794]  ret_from_fork_asm+0x1a/0x30
[   17.590049] 
[   17.590166] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.590612] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.590753] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.591164] ==================================================================