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

Environment
qemu-arm64
qemu-x86_64

[   21.192276] ==================================================================
[   21.192360] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.192360] 
[   21.192474] Out-of-bounds write at 0x000000008d7a1cea (1B left of kfence-#91):
[   21.192571]  test_out_of_bounds_write+0x100/0x240
[   21.192620]  kunit_try_run_case+0x170/0x3f0
[   21.192682]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.192757]  kthread+0x328/0x630
[   21.192797]  ret_from_fork+0x10/0x20
[   21.192839] 
[   21.193084] kfence-#91: 0x0000000067512477-0x000000003c35f06c, size=32, cache=kmalloc-32
[   21.193084] 
[   21.193247] allocated by task 291 on cpu 1 at 21.192021s (0.001193s ago):
[   21.193323]  test_alloc+0x29c/0x628
[   21.193381]  test_out_of_bounds_write+0xc8/0x240
[   21.193425]  kunit_try_run_case+0x170/0x3f0
[   21.193464]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.193558]  kthread+0x328/0x630
[   21.193603]  ret_from_fork+0x10/0x20
[   21.193644] 
[   21.193690] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.193944] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.193981] Hardware name: linux,dummy-virt (DT)
[   21.194066] ==================================================================
[   21.607773] ==================================================================
[   21.607888] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.607888] 
[   21.607984] Out-of-bounds write at 0x000000000641e4d8 (1B left of kfence-#95):
[   21.608042]  test_out_of_bounds_write+0x100/0x240
[   21.608093]  kunit_try_run_case+0x170/0x3f0
[   21.608138]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.608199]  kthread+0x328/0x630
[   21.608239]  ret_from_fork+0x10/0x20
[   21.608280] 
[   21.608304] kfence-#95: 0x00000000ce43c094-0x000000000c775c71, size=32, cache=test
[   21.608304] 
[   21.608358] allocated by task 293 on cpu 1 at 21.607678s (0.000675s ago):
[   21.608431]  test_alloc+0x230/0x628
[   21.608472]  test_out_of_bounds_write+0xc8/0x240
[   21.608512]  kunit_try_run_case+0x170/0x3f0
[   21.608553]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.608598]  kthread+0x328/0x630
[   21.608634]  ret_from_fork+0x10/0x20
[   21.608674] 
[   21.608719] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.608801] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.608831] Hardware name: linux,dummy-virt (DT)
[   21.608865] ==================================================================

[   17.512366] ==================================================================
[   17.512749] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.512749] 
[   17.513331] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   17.513684]  test_out_of_bounds_write+0x10d/0x260
[   17.513918]  kunit_try_run_case+0x1a5/0x480
[   17.514068]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.514334]  kthread+0x337/0x6f0
[   17.514530]  ret_from_fork+0x116/0x1d0
[   17.514714]  ret_from_fork_asm+0x1a/0x30
[   17.514883] 
[   17.515001] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.515001] 
[   17.515420] allocated by task 310 on cpu 0 at 17.512305s (0.003112s ago):
[   17.515732]  test_alloc+0x2a6/0x10f0
[   17.515918]  test_out_of_bounds_write+0xd4/0x260
[   17.516148]  kunit_try_run_case+0x1a5/0x480
[   17.516357]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.516530]  kthread+0x337/0x6f0
[   17.516698]  ret_from_fork+0x116/0x1d0
[   17.516904]  ret_from_fork_asm+0x1a/0x30
[   17.517116] 
[   17.517252] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.517702] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.517933] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.518301] ==================================================================
[   17.408376] ==================================================================
[   17.408764] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.408764] 
[   17.409247] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   17.409626]  test_out_of_bounds_write+0x10d/0x260
[   17.409849]  kunit_try_run_case+0x1a5/0x480
[   17.410015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.410186]  kthread+0x337/0x6f0
[   17.410334]  ret_from_fork+0x116/0x1d0
[   17.410550]  ret_from_fork_asm+0x1a/0x30
[   17.410778] 
[   17.410895] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.410895] 
[   17.411341] allocated by task 308 on cpu 1 at 17.408247s (0.003092s ago):
[   17.411671]  test_alloc+0x364/0x10f0
[   17.411835]  test_out_of_bounds_write+0xd4/0x260
[   17.412049]  kunit_try_run_case+0x1a5/0x480
[   17.412242]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.412517]  kthread+0x337/0x6f0
[   17.412693]  ret_from_fork+0x116/0x1d0
[   17.412871]  ret_from_fork_asm+0x1a/0x30
[   17.413010] 
[   17.413102] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.413609] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.413817] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.414237] ==================================================================