Hay
Date
May 26, 2025, 9:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.561856] ==================================================================
[   22.562037] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.562037] 
[   22.562214] Out-of-bounds write at 0x000000003122ac8e (1B left of kfence-#104):
[   22.562345]  test_out_of_bounds_write+0x100/0x240
[   22.562440]  kunit_try_run_case+0x170/0x3f0
[   22.562976]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.563869]  kthread+0x328/0x630
[   22.563986]  ret_from_fork+0x10/0x20
[   22.564094] 
[   22.564153] kfence-#104: 0x00000000d78e7a82-0x000000009288fc6d, size=32, cache=test
[   22.564153] 
[   22.564275] allocated by task 293 on cpu 0 at 22.561069s (0.003198s ago):
[   22.564427]  test_alloc+0x230/0x628
[   22.564527]  test_out_of_bounds_write+0xc8/0x240
[   22.564624]  kunit_try_run_case+0x170/0x3f0
[   22.564729]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.564824]  kthread+0x328/0x630
[   22.564900]  ret_from_fork+0x10/0x20
[   22.564991] 
[   22.565085] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   22.565265] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.565342] Hardware name: linux,dummy-virt (DT)
[   22.565411] ==================================================================
[   22.456696] ==================================================================
[   22.457852] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.457852] 
[   22.458119] Out-of-bounds write at 0x00000000fb6870c5 (1B left of kfence-#103):
[   22.458389]  test_out_of_bounds_write+0x100/0x240
[   22.458748]  kunit_try_run_case+0x170/0x3f0
[   22.459110]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.459499]  kthread+0x328/0x630
[   22.459693]  ret_from_fork+0x10/0x20
[   22.459784] 
[   22.460223] kfence-#103: 0x0000000078bdd4fd-0x0000000046ce4f0e, size=32, cache=kmalloc-32
[   22.460223] 
[   22.460364] allocated by task 291 on cpu 0 at 22.456411s (0.003944s ago):
[   22.460737]  test_alloc+0x29c/0x628
[   22.461047]  test_out_of_bounds_write+0xc8/0x240
[   22.461373]  kunit_try_run_case+0x170/0x3f0
[   22.461814]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.462154]  kthread+0x328/0x630
[   22.462239]  ret_from_fork+0x10/0x20
[   22.462567] 
[   22.462821] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   22.462999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.463052] Hardware name: linux,dummy-virt (DT)
[   22.463365] ==================================================================


[   16.195355] ==================================================================
[   16.195729] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.195729] 
[   16.196083] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   16.196315]  test_out_of_bounds_write+0x10d/0x260
[   16.196623]  kunit_try_run_case+0x1a5/0x480
[   16.197571]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.197877]  kthread+0x337/0x6f0
[   16.198072]  ret_from_fork+0x116/0x1d0
[   16.198253]  ret_from_fork_asm+0x1a/0x30
[   16.198447] 
[   16.198547] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.198547] 
[   16.199248] allocated by task 311 on cpu 0 at 16.195299s (0.003946s ago):
[   16.199548]  test_alloc+0x2a6/0x10f0
[   16.199902]  test_out_of_bounds_write+0xd4/0x260
[   16.200202]  kunit_try_run_case+0x1a5/0x480
[   16.200431]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.200841]  kthread+0x337/0x6f0
[   16.201024]  ret_from_fork+0x116/0x1d0
[   16.201322]  ret_from_fork_asm+0x1a/0x30
[   16.201600] 
[   16.201724] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   16.202412] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.202603] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.203120] ==================================================================
[   16.091449] ==================================================================
[   16.091968] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.091968] 
[   16.092402] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   16.092725]  test_out_of_bounds_write+0x10d/0x260
[   16.092983]  kunit_try_run_case+0x1a5/0x480
[   16.093190]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.093429]  kthread+0x337/0x6f0
[   16.093560]  ret_from_fork+0x116/0x1d0
[   16.093699]  ret_from_fork_asm+0x1a/0x30
[   16.093894] 
[   16.094021] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.094021] 
[   16.094463] allocated by task 309 on cpu 1 at 16.091308s (0.003153s ago):
[   16.094695]  test_alloc+0x364/0x10f0
[   16.095028]  test_out_of_bounds_write+0xd4/0x260
[   16.095241]  kunit_try_run_case+0x1a5/0x480
[   16.095441]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.095673]  kthread+0x337/0x6f0
[   16.095874]  ret_from_fork+0x116/0x1d0
[   16.096029]  ret_from_fork_asm+0x1a/0x30
[   16.096171] 
[   16.096268] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   16.096636] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.096841] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.097177] ==================================================================