Hay
Date
July 15, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.498433] ==================================================================
[   22.498554] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.498554] 
[   22.498755] Out-of-bounds write at 0x00000000f5e7ec1e (1B left of kfence-#90):
[   22.498827]  test_out_of_bounds_write+0x100/0x240
[   22.498874]  kunit_try_run_case+0x170/0x3f0
[   22.499061]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.499340]  kthread+0x328/0x630
[   22.499675]  ret_from_fork+0x10/0x20
[   22.499914] 
[   22.499940] kfence-#90: 0x000000000770588e-0x000000002e0a4175, size=32, cache=test
[   22.499940] 
[   22.500322] allocated by task 295 on cpu 0 at 22.498099s (0.002215s ago):
[   22.500406]  test_alloc+0x230/0x628
[   22.500468]  test_out_of_bounds_write+0xc8/0x240
[   22.500510]  kunit_try_run_case+0x170/0x3f0
[   22.500786]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.501023]  kthread+0x328/0x630
[   22.501062]  ret_from_fork+0x10/0x20
[   22.501102] 
[   22.501148] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   22.501240] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.501270] Hardware name: linux,dummy-virt (DT)
[   22.501302] ==================================================================
[   22.290366] ==================================================================
[   22.290450] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.290450] 
[   22.290535] Out-of-bounds write at 0x00000000e11094f6 (1B left of kfence-#88):
[   22.290593]  test_out_of_bounds_write+0x100/0x240
[   22.290639]  kunit_try_run_case+0x170/0x3f0
[   22.290727]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.290784]  kthread+0x328/0x630
[   22.290845]  ret_from_fork+0x10/0x20
[   22.290901] 
[   22.290942] kfence-#88: 0x000000001fb7efbb-0x00000000ad4e2db5, size=32, cache=kmalloc-32
[   22.290942] 
[   22.291033] allocated by task 293 on cpu 0 at 22.290201s (0.000792s ago):
[   22.291103]  test_alloc+0x29c/0x628
[   22.291162]  test_out_of_bounds_write+0xc8/0x240
[   22.291235]  kunit_try_run_case+0x170/0x3f0
[   22.291278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.291322]  kthread+0x328/0x630
[   22.291379]  ret_from_fork+0x10/0x20
[   22.291572] 
[   22.291641] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   22.291751] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.291806] Hardware name: linux,dummy-virt (DT)
[   22.291867] ==================================================================

[   15.852087] ==================================================================
[   15.852477] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   15.852477] 
[   15.853004] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   15.853284]  test_out_of_bounds_write+0x10d/0x260
[   15.853533]  kunit_try_run_case+0x1a5/0x480
[   15.853738]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.853981]  kthread+0x337/0x6f0
[   15.854158]  ret_from_fork+0x41/0x80
[   15.854326]  ret_from_fork_asm+0x1a/0x30
[   15.854472] 
[   15.854576] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.854576] 
[   15.854930] allocated by task 312 on cpu 0 at 15.852031s (0.002897s ago):
[   15.855370]  test_alloc+0x2a6/0x10f0
[   15.855530]  test_out_of_bounds_write+0xd4/0x260
[   15.855691]  kunit_try_run_case+0x1a5/0x480
[   15.855939]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.856208]  kthread+0x337/0x6f0
[   15.856383]  ret_from_fork+0x41/0x80
[   15.856564]  ret_from_fork_asm+0x1a/0x30
[   15.856735] 
[   15.856833] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   15.857277] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.857630] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.858021] ==================================================================
[   15.748079] ==================================================================
[   15.748444] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   15.748444] 
[   15.748964] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   15.749275]  test_out_of_bounds_write+0x10d/0x260
[   15.749518]  kunit_try_run_case+0x1a5/0x480
[   15.749704]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.750027]  kthread+0x337/0x6f0
[   15.750224]  ret_from_fork+0x41/0x80
[   15.750377]  ret_from_fork_asm+0x1a/0x30
[   15.750563] 
[   15.750677] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.750677] 
[   15.751254] allocated by task 310 on cpu 1 at 15.747972s (0.003279s ago):
[   15.751566]  test_alloc+0x364/0x10f0
[   15.751739]  test_out_of_bounds_write+0xd4/0x260
[   15.752301]  kunit_try_run_case+0x1a5/0x480
[   15.752841]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.753165]  kthread+0x337/0x6f0
[   15.753306]  ret_from_fork+0x41/0x80
[   15.753474]  ret_from_fork_asm+0x1a/0x30
[   15.753666] 
[   15.753782] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   15.754261] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.754412] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.754771] ==================================================================