Hay
Date
July 3, 2025, 10:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   43.916966] ==================================================================
[   43.917113] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   43.917113] 
[   43.917218] Invalid read at 0x000000009ce44d74:
[   43.917300]  test_invalid_access+0xdc/0x1f0
[   43.917357]  kunit_try_run_case+0x170/0x3f0
[   43.917410]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   43.917463]  kthread+0x328/0x630
[   43.917509]  ret_from_fork+0x10/0x20
[   43.917563] 
[   43.917615] CPU: 1 UID: 0 PID: 363 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   43.917769] Tainted: [B]=BAD_PAGE, [N]=TEST
[   43.917807] Hardware name: linux,dummy-virt (DT)
[   43.917871] ==================================================================

[   34.681068] ==================================================================
[   34.681630] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   34.681630] 
[   34.682052] Invalid read at 0x(____ptrval____):
[   34.682249]  test_invalid_access+0xf0/0x210
[   34.682443]  kunit_try_run_case+0x1a5/0x480
[   34.682669]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.682905]  kthread+0x337/0x6f0
[   34.683042]  ret_from_fork+0x116/0x1d0
[   34.683225]  ret_from_fork_asm+0x1a/0x30
[   34.683425] 
[   34.683558] CPU: 0 UID: 0 PID: 380 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   34.683999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.684197] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.684883] ==================================================================