Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   85.508858] ==================================================================
[   85.508995] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   85.508995] 
[   85.509158] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#138):
[   85.510310]  test_out_of_bounds_write+0x100/0x240
[   85.514997]  kunit_try_run_case+0x170/0x3f0
[   85.519163]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.524632]  kthread+0x328/0x630
[   85.527843]  ret_from_fork+0x10/0x20
[   85.531402] 
[   85.532882] kfence-#138: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   85.532882] 
[   85.542514] allocated by task 372 on cpu 3 at 85.508821s (0.033691s ago):
[   85.549303]  test_alloc+0x29c/0x628
[   85.552756]  test_out_of_bounds_write+0xc8/0x240
[   85.557357]  kunit_try_run_case+0x170/0x3f0
[   85.561524]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.566992]  kthread+0x328/0x630
[   85.570204]  ret_from_fork+0x10/0x20
[   85.573765] 
[   85.575251] CPU: 3 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   85.586363] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.590518] Hardware name: WinLink E850-96 board (DT)
[   85.595555] ==================================================================
[   85.716864] ==================================================================
[   85.717008] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   85.717008] 
[   85.717165] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#140):
[   85.718324]  test_out_of_bounds_write+0x100/0x240
[   85.723010]  kunit_try_run_case+0x170/0x3f0
[   85.727177]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.732645]  kthread+0x328/0x630
[   85.735857]  ret_from_fork+0x10/0x20
[   85.739416] 
[   85.740895] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   85.740895] 
[   85.750009] allocated by task 374 on cpu 5 at 85.716828s (0.033178s ago):
[   85.756797]  test_alloc+0x230/0x628
[   85.760249]  test_out_of_bounds_write+0xc8/0x240
[   85.764850]  kunit_try_run_case+0x170/0x3f0
[   85.769016]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.774485]  kthread+0x328/0x630
[   85.777697]  ret_from_fork+0x10/0x20
[   85.781257] 
[   85.782742] CPU: 5 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   85.793854] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.798010] Hardware name: WinLink E850-96 board (DT)
[   85.803047] ==================================================================

[   34.970502] ==================================================================
[   34.970585] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.970585] 
[   34.971061] Out-of-bounds write at 0x00000000769d978e (1B left of kfence-#128):
[   34.971134]  test_out_of_bounds_write+0x100/0x240
[   34.971186]  kunit_try_run_case+0x170/0x3f0
[   34.971232]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.971277]  kthread+0x328/0x630
[   34.971315]  ret_from_fork+0x10/0x20
[   34.971356] 
[   34.971380] kfence-#128: 0x00000000ab7166a3-0x0000000024ef8551, size=32, cache=test
[   34.971380] 
[   34.971429] allocated by task 325 on cpu 1 at 34.970344s (0.001082s ago):
[   34.971512]  test_alloc+0x230/0x628
[   34.971555]  test_out_of_bounds_write+0xc8/0x240
[   34.971598]  kunit_try_run_case+0x170/0x3f0
[   34.971638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.971681]  kthread+0x328/0x630
[   34.971716]  ret_from_fork+0x10/0x20
[   34.971755] 
[   34.971797] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   34.971874] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.971903] Hardware name: linux,dummy-virt (DT)
[   34.971935] ==================================================================
[   34.758953] ==================================================================
[   34.759080] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.759080] 
[   34.759182] Out-of-bounds write at 0x000000001345a9b6 (1B left of kfence-#126):
[   34.759250]  test_out_of_bounds_write+0x100/0x240
[   34.759299]  kunit_try_run_case+0x170/0x3f0
[   34.759343]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.759385]  kthread+0x328/0x630
[   34.759665]  ret_from_fork+0x10/0x20
[   34.759722] 
[   34.759748] kfence-#126: 0x00000000633f9b0e-0x00000000cb91990b, size=32, cache=kmalloc-32
[   34.759748] 
[   34.759831] allocated by task 323 on cpu 1 at 34.758784s (0.001012s ago):
[   34.759903]  test_alloc+0x29c/0x628
[   34.759944]  test_out_of_bounds_write+0xc8/0x240
[   34.760169]  kunit_try_run_case+0x170/0x3f0
[   34.760252]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.760296]  kthread+0x328/0x630
[   34.760334]  ret_from_fork+0x10/0x20
[   34.760423] 
[   34.760497] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   34.760667] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.760716] Hardware name: linux,dummy-virt (DT)
[   34.760775] ==================================================================

[   28.941907] ==================================================================
[   28.942272] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   28.942272] 
[   28.943021] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#93):
[   28.943589]  test_out_of_bounds_write+0x10d/0x260
[   28.943821]  kunit_try_run_case+0x1a5/0x480
[   28.944006]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.944465]  kthread+0x337/0x6f0
[   28.944642]  ret_from_fork+0x116/0x1d0
[   28.944837]  ret_from_fork_asm+0x1a/0x30
[   28.945011] 
[   28.945106] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.945106] 
[   28.945486] allocated by task 339 on cpu 1 at 28.941810s (0.003673s ago):
[   28.946209]  test_alloc+0x364/0x10f0
[   28.946474]  test_out_of_bounds_write+0xd4/0x260
[   28.946675]  kunit_try_run_case+0x1a5/0x480
[   28.946894]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.947145]  kthread+0x337/0x6f0
[   28.947285]  ret_from_fork+0x116/0x1d0
[   28.947452]  ret_from_fork_asm+0x1a/0x30
[   28.947692] 
[   28.947808] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   28.948279] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.948479] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.948915] ==================================================================
[   29.149927] ==================================================================
[   29.150339] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.150339] 
[   29.150779] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#95):
[   29.151089]  test_out_of_bounds_write+0x10d/0x260
[   29.151340]  kunit_try_run_case+0x1a5/0x480
[   29.151553]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.151816]  kthread+0x337/0x6f0
[   29.151978]  ret_from_fork+0x116/0x1d0
[   29.152160]  ret_from_fork_asm+0x1a/0x30
[   29.152337] 
[   29.152429] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.152429] 
[   29.152822] allocated by task 341 on cpu 0 at 29.149867s (0.002953s ago):
[   29.153167]  test_alloc+0x2a6/0x10f0
[   29.153353]  test_out_of_bounds_write+0xd4/0x260
[   29.153514]  kunit_try_run_case+0x1a5/0x480
[   29.153692]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.153972]  kthread+0x337/0x6f0
[   29.154114]  ret_from_fork+0x116/0x1d0
[   29.154251]  ret_from_fork_asm+0x1a/0x30
[   29.154571] 
[   29.154717] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   29.155192] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.155349] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.155935] ==================================================================