Hay
Date
June 17, 2025, 3:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   34.629161] ==================================================================
[   34.629693] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   34.629693] 
[   34.629937] Invalid read at 0x00000000af3c8eb0:
[   34.630096]  test_invalid_access+0xdc/0x1f0
[   34.630331]  kunit_try_run_case+0x170/0x3f0
[   34.630547]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.630684]  kthread+0x328/0x630
[   34.630830]  ret_from_fork+0x10/0x20
[   34.630965] 
[   34.631540] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   34.631940] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.632189] Hardware name: linux,dummy-virt (DT)
[   34.632836] ==================================================================

[   34.470872] ==================================================================
[   34.471748] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   34.471748] 
[   34.472549] Invalid read at 0x(____ptrval____):
[   34.472894]  test_invalid_access+0xf0/0x210
[   34.473245]  kunit_try_run_case+0x1a5/0x480
[   34.474052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.475564]  kthread+0x337/0x6f0
[   34.476209]  ret_from_fork+0x41/0x80
[   34.476658]  ret_from_fork_asm+0x1a/0x30
[   34.477276] 
[   34.477554] CPU: 1 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   34.478893] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.479496] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.480451] ==================================================================