Hay
Date
July 1, 2025, 3:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.566326] ==================================================================
[   21.566425] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.566425] 
[   21.566584] Out-of-bounds write at 0x0000000001f3264b (1B left of kfence-#93):
[   21.566645]  test_out_of_bounds_write+0x100/0x240
[   21.566708]  kunit_try_run_case+0x170/0x3f0
[   21.566920]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.566970]  kthread+0x328/0x630
[   21.567110]  ret_from_fork+0x10/0x20
[   21.567156] 
[   21.567255] kfence-#93: 0x00000000f6240d36-0x00000000f728a977, size=32, cache=kmalloc-32
[   21.567255] 
[   21.567332] allocated by task 292 on cpu 0 at 21.566162s (0.001166s ago):
[   21.567415]  test_alloc+0x29c/0x628
[   21.567455]  test_out_of_bounds_write+0xc8/0x240
[   21.567496]  kunit_try_run_case+0x170/0x3f0
[   21.567536]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.567589]  kthread+0x328/0x630
[   21.567626]  ret_from_fork+0x10/0x20
[   21.567664] 
[   21.567712] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.567791] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.567821] Hardware name: linux,dummy-virt (DT)
[   21.567857] ==================================================================
[   21.877905] ==================================================================
[   21.878009] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.878009] 
[   21.878103] Out-of-bounds write at 0x00000000fe47eebd (1B left of kfence-#96):
[   21.878163]  test_out_of_bounds_write+0x100/0x240
[   21.878211]  kunit_try_run_case+0x170/0x3f0
[   21.878256]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.878301]  kthread+0x328/0x630
[   21.878340]  ret_from_fork+0x10/0x20
[   21.878380] 
[   21.878404] kfence-#96: 0x000000006c0e3430-0x00000000f3ad1786, size=32, cache=test
[   21.878404] 
[   21.878457] allocated by task 294 on cpu 0 at 21.877821s (0.000632s ago):
[   21.878526]  test_alloc+0x230/0x628
[   21.878578]  test_out_of_bounds_write+0xc8/0x240
[   21.878622]  kunit_try_run_case+0x170/0x3f0
[   21.878662]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.878706]  kthread+0x328/0x630
[   21.878742]  ret_from_fork+0x10/0x20
[   21.878782] 
[   21.878827] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.878907] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.878937] Hardware name: linux,dummy-virt (DT)
[   21.878972] ==================================================================

[   16.911103] ==================================================================
[   16.911508] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.911508] 
[   16.912001] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   16.912337]  test_out_of_bounds_write+0x10d/0x260
[   16.912542]  kunit_try_run_case+0x1a5/0x480
[   16.912889]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.913140]  kthread+0x337/0x6f0
[   16.913331]  ret_from_fork+0x116/0x1d0
[   16.913524]  ret_from_fork_asm+0x1a/0x30
[   16.913793] 
[   16.913930] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.913930] 
[   16.914218] allocated by task 308 on cpu 1 at 16.910975s (0.003241s ago):
[   16.914577]  test_alloc+0x364/0x10f0
[   16.914819]  test_out_of_bounds_write+0xd4/0x260
[   16.915056]  kunit_try_run_case+0x1a5/0x480
[   16.915254]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.915529]  kthread+0x337/0x6f0
[   16.915695]  ret_from_fork+0x116/0x1d0
[   16.915886]  ret_from_fork_asm+0x1a/0x30
[   16.916111] 
[   16.916238] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.916693] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.916908] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.917354] ==================================================================
[   17.431088] ==================================================================
[   17.431513] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.431513] 
[   17.431944] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#76):
[   17.432306]  test_out_of_bounds_write+0x10d/0x260
[   17.432536]  kunit_try_run_case+0x1a5/0x480
[   17.432771]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.432998]  kthread+0x337/0x6f0
[   17.433152]  ret_from_fork+0x116/0x1d0
[   17.433348]  ret_from_fork_asm+0x1a/0x30
[   17.433527] 
[   17.433629] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.433629] 
[   17.433928] allocated by task 310 on cpu 1 at 17.431010s (0.002916s ago):
[   17.434275]  test_alloc+0x2a6/0x10f0
[   17.434466]  test_out_of_bounds_write+0xd4/0x260
[   17.434721]  kunit_try_run_case+0x1a5/0x480
[   17.434876]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.435061]  kthread+0x337/0x6f0
[   17.435237]  ret_from_fork+0x116/0x1d0
[   17.435429]  ret_from_fork_asm+0x1a/0x30
[   17.435626] 
[   17.435724] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.436385] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.436594] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.436982] ==================================================================