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

Environment
qemu-arm64
qemu-x86_64

[   32.072896] ==================================================================
[   32.073084] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   32.073084] 
[   32.073280] Invalid read at 0x00000000f120f441:
[   32.073459]  test_invalid_access+0xdc/0x1f0
[   32.073583]  kunit_try_run_case+0x170/0x3f0
[   32.073698]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.073814]  kthread+0x328/0x630
[   32.073911]  ret_from_fork+0x10/0x20
[   32.074042] 
[   32.074156] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   32.074369] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.074464] Hardware name: linux,dummy-virt (DT)
[   32.074565] ==================================================================

[   26.327045] ==================================================================
[   26.327713] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   26.327713] 
[   26.328519] Invalid read at 0x(____ptrval____):
[   26.329305]  test_invalid_access+0xf0/0x210
[   26.330026]  kunit_try_run_case+0x1a5/0x480
[   26.330335]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.330599]  kthread+0x337/0x6f0
[   26.330822]  ret_from_fork+0x116/0x1d0
[   26.331173]  ret_from_fork_asm+0x1a/0x30
[   26.331465] 
[   26.331679] CPU: 0 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   26.332189] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.332594] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.333240] ==================================================================