Hay
Date
July 5, 2025, 5:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.375117] ==================================================================
[   28.375269] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   28.375269] 
[   28.375397] Invalid read at 0x0000000013e803b7:
[   28.375498]  test_invalid_access+0xdc/0x1f0
[   28.375577]  kunit_try_run_case+0x170/0x3f0
[   28.375651]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.375723]  kthread+0x328/0x630
[   28.375790]  ret_from_fork+0x10/0x20
[   28.375877] 
[   28.375950] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   28.376058] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.376114] Hardware name: linux,dummy-virt (DT)
[   28.376175] ==================================================================

[   24.016226] ==================================================================
[   24.016746] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.016746] 
[   24.017413] Invalid read at 0x(____ptrval____):
[   24.017669]  test_invalid_access+0xf0/0x210
[   24.017890]  kunit_try_run_case+0x1a5/0x480
[   24.018084]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.018484]  kthread+0x337/0x6f0
[   24.018720]  ret_from_fork+0x116/0x1d0
[   24.019008]  ret_from_fork_asm+0x1a/0x30
[   24.019183] 
[   24.019318] CPU: 1 UID: 0 PID: 350 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   24.019870] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.020092] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.020608] ==================================================================