Hay
Date
July 23, 2025, 3:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   34.842949] ==================================================================
[   34.843054] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.843054] 
[   34.843531] Out-of-bounds write at 0x00000000f5ecaf6b (1B left of kfence-#122):
[   34.843601]  test_out_of_bounds_write+0x100/0x240
[   34.843886]  kunit_try_run_case+0x170/0x3f0
[   34.844087]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.844147]  kthread+0x328/0x630
[   34.844215]  ret_from_fork+0x10/0x20
[   34.844554] 
[   34.844635] kfence-#122: 0x00000000912abb84-0x000000007c600b57, size=32, cache=kmalloc-32
[   34.844635] 
[   34.845001] allocated by task 324 on cpu 1 at 34.842707s (0.002289s ago):
[   34.845080]  test_alloc+0x29c/0x628
[   34.845120]  test_out_of_bounds_write+0xc8/0x240
[   34.845171]  kunit_try_run_case+0x170/0x3f0
[   34.845223]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.845271]  kthread+0x328/0x630
[   34.845323]  ret_from_fork+0x10/0x20
[   34.845398] 
[   34.845446] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   34.845559] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   34.845594] Hardware name: linux,dummy-virt (DT)
[   34.845638] ==================================================================
[   35.049531] ==================================================================
[   35.049620] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.049620] 
[   35.049720] Out-of-bounds write at 0x0000000032578aae (1B left of kfence-#124):
[   35.049805]  test_out_of_bounds_write+0x100/0x240
[   35.049874]  kunit_try_run_case+0x170/0x3f0
[   35.049937]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.049984]  kthread+0x328/0x630
[   35.050033]  ret_from_fork+0x10/0x20
[   35.050300] 
[   35.050377] kfence-#124: 0x00000000c4e843bb-0x0000000004268b7a, size=32, cache=test
[   35.050377] 
[   35.050524] allocated by task 326 on cpu 1 at 35.049156s (0.001356s ago):
[   35.050617]  test_alloc+0x230/0x628
[   35.050681]  test_out_of_bounds_write+0xc8/0x240
[   35.050753]  kunit_try_run_case+0x170/0x3f0
[   35.050797]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.050856]  kthread+0x328/0x630
[   35.050924]  ret_from_fork+0x10/0x20
[   35.050997] 
[   35.051042] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   35.051154] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.051188] Hardware name: linux,dummy-virt (DT)
[   35.051502] ==================================================================

[   30.252826] ==================================================================
[   30.253247] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.253247] 
[   30.253718] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#95):
[   30.254170]  test_out_of_bounds_write+0x10d/0x260
[   30.254371]  kunit_try_run_case+0x1a5/0x480
[   30.254517]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.254766]  kthread+0x337/0x6f0
[   30.254937]  ret_from_fork+0x116/0x1d0
[   30.255205]  ret_from_fork_asm+0x1a/0x30
[   30.255430] 
[   30.255512] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.255512] 
[   30.255845] allocated by task 340 on cpu 0 at 30.252687s (0.003156s ago):
[   30.256380]  test_alloc+0x364/0x10f0
[   30.256546]  test_out_of_bounds_write+0xd4/0x260
[   30.256730]  kunit_try_run_case+0x1a5/0x480
[   30.256935]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.257187]  kthread+0x337/0x6f0
[   30.257354]  ret_from_fork+0x116/0x1d0
[   30.257509]  ret_from_fork_asm+0x1a/0x30
[   30.257676] 
[   30.257802] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   30.258236] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.258433] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.258775] ==================================================================
[   30.356778] ==================================================================
[   30.357267] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.357267] 
[   30.357734] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#96):
[   30.358092]  test_out_of_bounds_write+0x10d/0x260
[   30.358306]  kunit_try_run_case+0x1a5/0x480
[   30.358487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.358790]  kthread+0x337/0x6f0
[   30.358980]  ret_from_fork+0x116/0x1d0
[   30.359154]  ret_from_fork_asm+0x1a/0x30
[   30.359289] 
[   30.359356] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.359356] 
[   30.359750] allocated by task 342 on cpu 1 at 30.356715s (0.003032s ago):
[   30.360102]  test_alloc+0x2a6/0x10f0
[   30.360286]  test_out_of_bounds_write+0xd4/0x260
[   30.360451]  kunit_try_run_case+0x1a5/0x480
[   30.360594]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.360866]  kthread+0x337/0x6f0
[   30.361056]  ret_from_fork+0x116/0x1d0
[   30.361327]  ret_from_fork_asm+0x1a/0x30
[   30.361508] 
[   30.361620] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   30.362110] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.362335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.362712] ==================================================================