Hay
Date
July 17, 2025, 10:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   33.745625] ==================================================================
[   33.745799] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.745799] 
[   33.745895] Out-of-bounds write at 0x0000000078fb2b03 (1B left of kfence-#128):
[   33.746098]  test_out_of_bounds_write+0x100/0x240
[   33.746161]  kunit_try_run_case+0x170/0x3f0
[   33.746208]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.746409]  kthread+0x328/0x630
[   33.746482]  ret_from_fork+0x10/0x20
[   33.746524] 
[   33.746550] kfence-#128: 0x00000000a89ff8d1-0x000000001e2194de, size=32, cache=kmalloc-32
[   33.746550] 
[   33.746659] allocated by task 322 on cpu 0 at 33.745114s (0.001540s ago):
[   33.746735]  test_alloc+0x29c/0x628
[   33.746779]  test_out_of_bounds_write+0xc8/0x240
[   33.746819]  kunit_try_run_case+0x170/0x3f0
[   33.746858]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.746913]  kthread+0x328/0x630
[   33.746959]  ret_from_fork+0x10/0x20
[   33.746997] 
[   33.747050] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   33.747155] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.747183] Hardware name: linux,dummy-virt (DT)
[   33.747215] ==================================================================
[   34.476899] ==================================================================
[   34.477002] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.477002] 
[   34.477110] Out-of-bounds write at 0x0000000080ee08af (1B left of kfence-#135):
[   34.477170]  test_out_of_bounds_write+0x100/0x240
[   34.477217]  kunit_try_run_case+0x170/0x3f0
[   34.477262]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.477307]  kthread+0x328/0x630
[   34.477346]  ret_from_fork+0x10/0x20
[   34.477384] 
[   34.477410] kfence-#135: 0x00000000ac9ead87-0x0000000086b81259, size=32, cache=test
[   34.477410] 
[   34.477462] allocated by task 324 on cpu 0 at 34.476806s (0.000652s ago):
[   34.477536]  test_alloc+0x230/0x628
[   34.477575]  test_out_of_bounds_write+0xc8/0x240
[   34.477616]  kunit_try_run_case+0x170/0x3f0
[   34.477656]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.477698]  kthread+0x328/0x630
[   34.477734]  ret_from_fork+0x10/0x20
[   34.477772] 
[   34.477816] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   34.477895] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.477924] Hardware name: linux,dummy-virt (DT)
[   34.477959] ==================================================================

[   30.294566] ==================================================================
[   30.294934] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.294934] 
[   30.295336] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#88):
[   30.295918]  test_out_of_bounds_write+0x10d/0x260
[   30.296151]  kunit_try_run_case+0x1a5/0x480
[   30.296522]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.296758]  kthread+0x337/0x6f0
[   30.296908]  ret_from_fork+0x116/0x1d0
[   30.297090]  ret_from_fork_asm+0x1a/0x30
[   30.297269] 
[   30.297649] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.297649] 
[   30.298124] allocated by task 340 on cpu 1 at 30.294455s (0.003667s ago):
[   30.298606]  test_alloc+0x364/0x10f0
[   30.298802]  test_out_of_bounds_write+0xd4/0x260
[   30.298983]  kunit_try_run_case+0x1a5/0x480
[   30.299287]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.299652]  kthread+0x337/0x6f0
[   30.299872]  ret_from_fork+0x116/0x1d0
[   30.300026]  ret_from_fork_asm+0x1a/0x30
[   30.300245] 
[   30.300377] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   30.300853] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.301031] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.301744] ==================================================================
[   30.398624] ==================================================================
[   30.398995] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.398995] 
[   30.399554] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   30.399802]  test_out_of_bounds_write+0x10d/0x260
[   30.400024]  kunit_try_run_case+0x1a5/0x480
[   30.400257]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.400476]  kthread+0x337/0x6f0
[   30.400693]  ret_from_fork+0x116/0x1d0
[   30.400876]  ret_from_fork_asm+0x1a/0x30
[   30.401066] 
[   30.401165] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.401165] 
[   30.401581] allocated by task 342 on cpu 0 at 30.398569s (0.003010s ago):
[   30.401836]  test_alloc+0x2a6/0x10f0
[   30.402000]  test_out_of_bounds_write+0xd4/0x260
[   30.402250]  kunit_try_run_case+0x1a5/0x480
[   30.402467]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.402708]  kthread+0x337/0x6f0
[   30.402879]  ret_from_fork+0x116/0x1d0
[   30.403040]  ret_from_fork_asm+0x1a/0x30
[   30.403205] 
[   30.403294] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   30.403787] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.404009] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.404370] ==================================================================