Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   29.024036] ==================================================================
[   29.024174] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   29.024174] 
[   29.024292] Invalid read at 0x000000000f01d158:
[   29.024370]  test_invalid_access+0xdc/0x1f0
[   29.024426]  kunit_try_run_case+0x170/0x3f0
[   29.024480]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.024531]  kthread+0x328/0x630
[   29.024579]  ret_from_fork+0x10/0x20
[   29.024631] 
[   29.024681] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   29.025061] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.027240] Hardware name: linux,dummy-virt (DT)
[   29.027294] ==================================================================

[   22.626581] ==================================================================
[   22.627169] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   22.627169] 
[   22.628356] Invalid read at 0x(____ptrval____):
[   22.628941]  test_invalid_access+0xf0/0x210
[   22.629165]  kunit_try_run_case+0x1a5/0x480
[   22.629372]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.629601]  kthread+0x337/0x6f0
[   22.629811]  ret_from_fork+0x41/0x80
[   22.630013]  ret_from_fork_asm+0x1a/0x30
[   22.630250] 
[   22.630377] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   22.630848] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.631089] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.631529] ==================================================================