Hay
Date
July 3, 2025, 3:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   26.206516] ==================================================================
[   26.208234] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   26.208234] 
[   26.208402] Invalid read at 0x0000000021070b09:
[   26.208500]  test_invalid_access+0xdc/0x1f0
[   26.208556]  kunit_try_run_case+0x170/0x3f0
[   26.208610]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.208660]  kthread+0x328/0x630
[   26.208708]  ret_from_fork+0x10/0x20
[   26.208761] 
[   26.208812] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   26.208942] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.209012] Hardware name: linux,dummy-virt (DT)
[   26.209062] ==================================================================

[   23.148898] ==================================================================
[   23.149391] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   23.149391] 
[   23.150413] Invalid read at 0x(____ptrval____):
[   23.150606]  test_invalid_access+0xf0/0x210
[   23.151245]  kunit_try_run_case+0x1a5/0x480
[   23.151531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.151979]  kthread+0x337/0x6f0
[   23.152282]  ret_from_fork+0x41/0x80
[   23.152680]  ret_from_fork_asm+0x1a/0x30
[   23.153012] 
[   23.153260] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   23.153935] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.154264] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.154798] ==================================================================