Hay
Date
July 2, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.947434] ==================================================================
[   40.947604] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   40.947604] 
[   40.947708] Invalid read at 0x0000000076bfa756:
[   40.947822]  test_invalid_access+0xdc/0x1f0
[   40.947892]  kunit_try_run_case+0x170/0x3f0
[   40.947999]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.948486]  kthread+0x328/0x630
[   40.948544]  ret_from_fork+0x10/0x20
[   40.948622] 
[   40.948676] CPU: 0 UID: 0 PID: 364 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   40.948765] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.948803] Hardware name: linux,dummy-virt (DT)
[   40.948843] ==================================================================

[   44.396407] ==================================================================
[   44.396564] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   44.396564] 
[   44.396669] Invalid read at 0x000000002da5b051:
[   44.396831]  test_invalid_access+0xdc/0x1f0
[   44.397600]  kunit_try_run_case+0x170/0x3f0
[   44.397670]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.397723]  kthread+0x328/0x630
[   44.397768]  ret_from_fork+0x10/0x20
[   44.397830] 
[   44.397885] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT 
[   44.397979] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.398013] Hardware name: linux,dummy-virt (DT)
[   44.398056] ==================================================================

[   34.680817] ==================================================================
[   34.681263] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   34.681263] 
[   34.681589] Invalid read at 0x(____ptrval____):
[   34.681758]  test_invalid_access+0xf0/0x210
[   34.682040]  kunit_try_run_case+0x1a5/0x480
[   34.682261]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.682637]  kthread+0x337/0x6f0
[   34.682833]  ret_from_fork+0x116/0x1d0
[   34.683080]  ret_from_fork_asm+0x1a/0x30
[   34.683292] 
[   34.683429] CPU: 0 UID: 0 PID: 379 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   34.684098] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.684266] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.684684] ==================================================================

[   34.018421] ==================================================================
[   34.018931] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   34.018931] 
[   34.019520] Invalid read at 0x(____ptrval____):
[   34.019844]  test_invalid_access+0xf0/0x210
[   34.020011]  kunit_try_run_case+0x1a5/0x480
[   34.020219]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.020495]  kthread+0x337/0x6f0
[   34.020672]  ret_from_fork+0x116/0x1d0
[   34.020857]  ret_from_fork_asm+0x1a/0x30
[   34.021203] 
[   34.021391] CPU: 0 UID: 0 PID: 380 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) 
[   34.021882] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.022114] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.022485] ==================================================================