Hay
Date
June 20, 2025, 12:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   38.652395] ==================================================================
[   38.652686] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   38.652686] 
[   38.653163] Out-of-bounds write at 0x00000000e8cfb8dd (1B left of kfence-#142):
[   38.653400]  test_out_of_bounds_write+0x100/0x240
[   38.653731]  kunit_try_run_case+0x170/0x3f0
[   38.653865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.654190]  kthread+0x328/0x630
[   38.654529]  ret_from_fork+0x10/0x20
[   38.654663] 
[   38.654722] kfence-#142: 0x00000000e308695d-0x0000000016591b12, size=32, cache=test
[   38.654722] 
[   38.654855] allocated by task 304 on cpu 0 at 38.651779s (0.003068s ago):
[   38.655501]  test_alloc+0x230/0x628
[   38.655682]  test_out_of_bounds_write+0xc8/0x240
[   38.655917]  kunit_try_run_case+0x170/0x3f0
[   38.656107]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.656626]  kthread+0x328/0x630
[   38.656832]  ret_from_fork+0x10/0x20
[   38.657105] 
[   38.657261] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   38.657547] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.657632] Hardware name: linux,dummy-virt (DT)
[   38.657764] ==================================================================
[   38.444134] ==================================================================
[   38.444365] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   38.444365] 
[   38.444951] Out-of-bounds write at 0x0000000065e1de00 (1B left of kfence-#140):
[   38.445111]  test_out_of_bounds_write+0x100/0x240
[   38.445223]  kunit_try_run_case+0x170/0x3f0
[   38.445312]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.445409]  kthread+0x328/0x630
[   38.445497]  ret_from_fork+0x10/0x20
[   38.445603] 
[   38.445710] kfence-#140: 0x0000000072b50c07-0x000000006c2aba6c, size=32, cache=kmalloc-32
[   38.445710] 
[   38.445849] allocated by task 302 on cpu 0 at 38.443719s (0.002121s ago):
[   38.446020]  test_alloc+0x29c/0x628
[   38.446118]  test_out_of_bounds_write+0xc8/0x240
[   38.446225]  kunit_try_run_case+0x170/0x3f0
[   38.446323]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.446433]  kthread+0x328/0x630
[   38.446526]  ret_from_fork+0x10/0x20
[   38.446939] 
[   38.447364] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   38.447657] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.447775] Hardware name: linux,dummy-virt (DT)
[   38.447894] ==================================================================

[   31.476316] ==================================================================
[   31.476803] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   31.476803] 
[   31.477160] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#97):
[   31.477719]  test_out_of_bounds_write+0x10d/0x260
[   31.477939]  kunit_try_run_case+0x1a5/0x480
[   31.478232]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.478720]  kthread+0x337/0x6f0
[   31.479034]  ret_from_fork+0x116/0x1d0
[   31.479335]  ret_from_fork_asm+0x1a/0x30
[   31.479562] 
[   31.479698] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.479698] 
[   31.480398] allocated by task 320 on cpu 0 at 31.476108s (0.004285s ago):
[   31.480969]  test_alloc+0x364/0x10f0
[   31.481198]  test_out_of_bounds_write+0xd4/0x260
[   31.481572]  kunit_try_run_case+0x1a5/0x480
[   31.482018]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.482565]  kthread+0x337/0x6f0
[   31.482745]  ret_from_fork+0x116/0x1d0
[   31.483056]  ret_from_fork_asm+0x1a/0x30
[   31.483370] 
[   31.483625] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   31.484107] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.484289] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.485010] ==================================================================
[   31.684385] ==================================================================
[   31.685077] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   31.685077] 
[   31.685776] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#99):
[   31.686409]  test_out_of_bounds_write+0x10d/0x260
[   31.686815]  kunit_try_run_case+0x1a5/0x480
[   31.687045]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.687261]  kthread+0x337/0x6f0
[   31.687430]  ret_from_fork+0x116/0x1d0
[   31.687635]  ret_from_fork_asm+0x1a/0x30
[   31.687823] 
[   31.687926] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.687926] 
[   31.688271] allocated by task 322 on cpu 0 at 31.684279s (0.003987s ago):
[   31.688553]  test_alloc+0x2a6/0x10f0
[   31.688706]  test_out_of_bounds_write+0xd4/0x260
[   31.688884]  kunit_try_run_case+0x1a5/0x480
[   31.689070]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.689565]  kthread+0x337/0x6f0
[   31.689880]  ret_from_fork+0x116/0x1d0
[   31.690262]  ret_from_fork_asm+0x1a/0x30
[   31.690610] 
[   31.690843] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   31.691720] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.692084] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.692640] ==================================================================