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

Environment
qemu-arm64
qemu-x86_64

[   26.433792] ==================================================================
[   26.433945] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   26.433945] 
[   26.434049] Invalid read at 0x0000000045ae23f3:
[   26.434229]  test_invalid_access+0xdc/0x1f0
[   26.435560]  kunit_try_run_case+0x170/0x3f0
[   26.435651]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.435705]  kthread+0x328/0x630
[   26.435751]  ret_from_fork+0x10/0x20
[   26.436120] 
[   26.436529] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   26.436645] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.437049] Hardware name: linux,dummy-virt (DT)
[   26.438477] ==================================================================

[   25.419539] ==================================================================
[   25.420004] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   25.420004] 
[   25.420298] Invalid read at 0x(____ptrval____):
[   25.420905]  test_invalid_access+0xf0/0x210
[   25.421342]  kunit_try_run_case+0x1a5/0x480
[   25.422085]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.422890]  kthread+0x337/0x6f0
[   25.423304]  ret_from_fork+0x116/0x1d0
[   25.423802]  ret_from_fork_asm+0x1a/0x30
[   25.424058] 
[   25.424177] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   25.424548] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.424767] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.425132] ==================================================================