Hay
Date
July 6, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   28.145748] ==================================================================
[   28.145904] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   28.145904] 
[   28.146035] Invalid read at 0x00000000db265786:
[   28.146129]  test_invalid_access+0xdc/0x1f0
[   28.146226]  kunit_try_run_case+0x170/0x3f0
[   28.146305]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.146378]  kthread+0x328/0x630
[   28.146450]  ret_from_fork+0x10/0x20
[   28.146527] 
[   28.146599] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   28.146707] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.146765] Hardware name: linux,dummy-virt (DT)
[   28.146825] ==================================================================

[   24.428932] ==================================================================
[   24.429468] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.429468] 
[   24.430084] Invalid read at 0x(____ptrval____):
[   24.430667]  test_invalid_access+0xf0/0x210
[   24.430912]  kunit_try_run_case+0x1a5/0x480
[   24.431332]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.431544]  kthread+0x337/0x6f0
[   24.431727]  ret_from_fork+0x116/0x1d0
[   24.431893]  ret_from_fork_asm+0x1a/0x30
[   24.432083] 
[   24.432627] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   24.433181] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.433351] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.433838] ==================================================================