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

Environment
qemu-arm64
qemu-x86_64

[   27.602530] ==================================================================
[   27.602865] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   27.602865] 
[   27.602976] Invalid read at 0x0000000008757770:
[   27.603117]  test_invalid_access+0xdc/0x1f0
[   27.603186]  kunit_try_run_case+0x170/0x3f0
[   27.603239]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.603334]  kthread+0x328/0x630
[   27.603436]  ret_from_fork+0x10/0x20
[   27.603498] 
[   27.603571] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   27.603712] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.603759] Hardware name: linux,dummy-virt (DT)
[   27.603803] ==================================================================

[   25.503890] ==================================================================
[   25.504410] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   25.504410] 
[   25.504898] Invalid read at 0x(____ptrval____):
[   25.505109]  test_invalid_access+0xf0/0x210
[   25.505344]  kunit_try_run_case+0x1a5/0x480
[   25.505564]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.505849]  kthread+0x337/0x6f0
[   25.506000]  ret_from_fork+0x116/0x1d0
[   25.506140]  ret_from_fork_asm+0x1a/0x30
[   25.506361] 
[   25.506488] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   25.506937] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.507106] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.507441] ==================================================================