Hay
Date
July 22, 2025, 5:13 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.821417] ==================================================================
[   35.821523] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.821523] 
[   35.821621] Out-of-bounds write at 0x0000000053cd69ea (1B left of kfence-#133):
[   35.821687]  test_out_of_bounds_write+0x100/0x240
[   35.821737]  kunit_try_run_case+0x170/0x3f0
[   35.821785]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.821848]  kthread+0x328/0x630
[   35.821888]  ret_from_fork+0x10/0x20
[   35.821931] 
[   35.821955] kfence-#133: 0x00000000b870e193-0x0000000022b06c48, size=32, cache=test
[   35.821955] 
[   35.822013] allocated by task 324 on cpu 1 at 35.821327s (0.000682s ago):
[   35.822090]  test_alloc+0x230/0x628
[   35.822133]  test_out_of_bounds_write+0xc8/0x240
[   35.822180]  kunit_try_run_case+0x170/0x3f0
[   35.822222]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.822270]  kthread+0x328/0x630
[   35.822308]  ret_from_fork+0x10/0x20
[   35.822348] 
[   35.822392] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250722 #1 PREEMPT 
[   35.822492] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.822528] Hardware name: linux,dummy-virt (DT)
[   35.822565] ==================================================================
[   35.613441] ==================================================================
[   35.613558] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.613558] 
[   35.613663] Out-of-bounds write at 0x000000009bfd6f22 (1B left of kfence-#131):
[   35.613732]  test_out_of_bounds_write+0x100/0x240
[   35.613783]  kunit_try_run_case+0x170/0x3f0
[   35.613849]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.613898]  kthread+0x328/0x630
[   35.613940]  ret_from_fork+0x10/0x20
[   35.613986] 
[   35.614012] kfence-#131: 0x00000000083c2ac4-0x00000000dfe75337, size=32, cache=kmalloc-32
[   35.614012] 
[   35.614077] allocated by task 322 on cpu 1 at 35.613269s (0.000804s ago):
[   35.614155]  test_alloc+0x29c/0x628
[   35.614205]  test_out_of_bounds_write+0xc8/0x240
[   35.614248]  kunit_try_run_case+0x170/0x3f0
[   35.614291]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.614340]  kthread+0x328/0x630
[   35.614378]  ret_from_fork+0x10/0x20
[   35.614421] 
[   35.614468] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250722 #1 PREEMPT 
[   35.614570] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.614606] Hardware name: linux,dummy-virt (DT)
[   35.614645] ==================================================================

[   30.867721] ==================================================================
[   30.868146] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.868146] 
[   30.868684] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#96):
[   30.869039]  test_out_of_bounds_write+0x10d/0x260
[   30.869242]  kunit_try_run_case+0x1a5/0x480
[   30.869475]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.869664]  kthread+0x337/0x6f0
[   30.869844]  ret_from_fork+0x116/0x1d0
[   30.870039]  ret_from_fork_asm+0x1a/0x30
[   30.870233] 
[   30.870358] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.870358] 
[   30.870679] allocated by task 341 on cpu 0 at 30.867663s (0.003014s ago):
[   30.871025]  test_alloc+0x2a6/0x10f0
[   30.871191]  test_out_of_bounds_write+0xd4/0x260
[   30.871390]  kunit_try_run_case+0x1a5/0x480
[   30.871584]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.871763]  kthread+0x337/0x6f0
[   30.871927]  ret_from_fork+0x116/0x1d0
[   30.872116]  ret_from_fork_asm+0x1a/0x30
[   30.872389] 
[   30.872509] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250722 #1 PREEMPT(voluntary) 
[   30.872954] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.873100] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.873498] ==================================================================
[   30.451896] ==================================================================
[   30.452335] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.452335] 
[   30.452857] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#92):
[   30.453115]  test_out_of_bounds_write+0x10d/0x260
[   30.453477]  kunit_try_run_case+0x1a5/0x480
[   30.453705]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.453909]  kthread+0x337/0x6f0
[   30.454037]  ret_from_fork+0x116/0x1d0
[   30.454223]  ret_from_fork_asm+0x1a/0x30
[   30.454438] 
[   30.454538] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.454538] 
[   30.454884] allocated by task 339 on cpu 0 at 30.451761s (0.003120s ago):
[   30.455265]  test_alloc+0x364/0x10f0
[   30.455450]  test_out_of_bounds_write+0xd4/0x260
[   30.455677]  kunit_try_run_case+0x1a5/0x480
[   30.455916]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.456144]  kthread+0x337/0x6f0
[   30.456264]  ret_from_fork+0x116/0x1d0
[   30.456393]  ret_from_fork_asm+0x1a/0x30
[   30.457020] 
[   30.457158] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250722 #1 PREEMPT(voluntary) 
[   30.458139] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.458517] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.459056] ==================================================================