Hay
Date
July 9, 2025, 12:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.484739] ==================================================================
[   29.484891] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   29.484891] 
[   29.484994] Invalid read at 0x000000006df6cea5:
[   29.485142]  test_invalid_access+0xdc/0x1f0
[   29.485209]  kunit_try_run_case+0x170/0x3f0
[   29.485281]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.485466]  kthread+0x328/0x630
[   29.485555]  ret_from_fork+0x10/0x20
[   29.485618] 
[   29.486345] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   29.486942] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.486998] Hardware name: linux,dummy-virt (DT)
[   29.487374] ==================================================================

[   23.890582] ==================================================================
[   23.891193] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   23.891193] 
[   23.891589] Invalid read at 0x(____ptrval____):
[   23.891822]  test_invalid_access+0xf0/0x210
[   23.892188]  kunit_try_run_case+0x1a5/0x480
[   23.892555]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.892738]  kthread+0x337/0x6f0
[   23.893389]  ret_from_fork+0x116/0x1d0
[   23.893724]  ret_from_fork_asm+0x1a/0x30
[   23.893936] 
[   23.894295] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   23.894867] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.895252] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.895851] ==================================================================