Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   28.331964] ==================================================================
[   28.332131] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   28.332131] 
[   28.332340] Out-of-bounds write at 0x0000000037b3ccd1 (1B left of kfence-#134):
[   28.332494]  test_out_of_bounds_write+0x100/0x240
[   28.332623]  kunit_try_run_case+0x170/0x3f0
[   28.332746]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.332864]  kthread+0x328/0x630
[   28.332975]  ret_from_fork+0x10/0x20
[   28.333083] 
[   28.333149] kfence-#134: 0x00000000be9b65e2-0x00000000eb54fbbf, size=32, cache=kmalloc-32
[   28.333149] 
[   28.333277] allocated by task 295 on cpu 1 at 28.331674s (0.001595s ago):
[   28.334775]  test_alloc+0x29c/0x628
[   28.336177]  test_out_of_bounds_write+0xc8/0x240
[   28.336766]  kunit_try_run_case+0x170/0x3f0
[   28.336896]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.337010]  kthread+0x328/0x630
[   28.337107]  ret_from_fork+0x10/0x20
[   28.337203] 
[   28.337312] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   28.337520] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.340761] Hardware name: linux,dummy-virt (DT)
[   28.340879] ==================================================================
[   28.438458] ==================================================================
[   28.438640] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   28.438640] 
[   28.439126] Out-of-bounds write at 0x00000000860add2d (1B left of kfence-#135):
[   28.439292]  test_out_of_bounds_write+0x100/0x240
[   28.439641]  kunit_try_run_case+0x170/0x3f0
[   28.440064]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.440469]  kthread+0x328/0x630
[   28.440787]  ret_from_fork+0x10/0x20
[   28.441090] 
[   28.441356] kfence-#135: 0x00000000631ec5e1-0x000000002a3b9cb9, size=32, cache=test
[   28.441356] 
[   28.441727] allocated by task 297 on cpu 1 at 28.437388s (0.004322s ago):
[   28.442125]  test_alloc+0x230/0x628
[   28.442477]  test_out_of_bounds_write+0xc8/0x240
[   28.442776]  kunit_try_run_case+0x170/0x3f0
[   28.442940]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.443300]  kthread+0x328/0x630
[   28.443446]  ret_from_fork+0x10/0x20
[   28.443546] 
[   28.443881] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   28.444318] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.444614] Hardware name: linux,dummy-virt (DT)
[   28.444822] ==================================================================

[   19.872259] ==================================================================
[   19.872645] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.872645] 
[   19.872895] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#93):
[   19.873274]  test_out_of_bounds_write+0x10d/0x260
[   19.873528]  kunit_try_run_case+0x1a5/0x480
[   19.873722]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.873836]  kthread+0x337/0x6f0
[   19.873921]  ret_from_fork+0x41/0x80
[   19.874014]  ret_from_fork_asm+0x1a/0x30
[   19.874103] 
[   19.874159] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.874159] 
[   19.874441] allocated by task 313 on cpu 0 at 19.872184s (0.002254s ago):
[   19.874697]  test_alloc+0x2a6/0x10f0
[   19.874878]  test_out_of_bounds_write+0xd4/0x260
[   19.874984]  kunit_try_run_case+0x1a5/0x480
[   19.875209]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.875525]  kthread+0x337/0x6f0
[   19.875778]  ret_from_fork+0x41/0x80
[   19.875909]  ret_from_fork_asm+0x1a/0x30
[   19.876124] 
[   19.876215] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   19.876423] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.876516] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.876785] ==================================================================
[   19.352340] ==================================================================
[   19.352716] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.352716] 
[   19.352967] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#88):
[   19.353117]  test_out_of_bounds_write+0x10d/0x260
[   19.353397]  kunit_try_run_case+0x1a5/0x480
[   19.353654]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.353986]  kthread+0x337/0x6f0
[   19.354185]  ret_from_fork+0x41/0x80
[   19.354312]  ret_from_fork_asm+0x1a/0x30
[   19.354525] 
[   19.354621] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.354621] 
[   19.354922] allocated by task 311 on cpu 1 at 19.352178s (0.002741s ago):
[   19.355089]  test_alloc+0x364/0x10f0
[   19.355201]  test_out_of_bounds_write+0xd4/0x260
[   19.355458]  kunit_try_run_case+0x1a5/0x480
[   19.355695]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.355972]  kthread+0x337/0x6f0
[   19.356176]  ret_from_fork+0x41/0x80
[   19.356397]  ret_from_fork_asm+0x1a/0x30
[   19.356659] 
[   19.356769] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   19.357052] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.357144] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.357331] ==================================================================