Hay
Date
June 17, 2025, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   27.778300] ==================================================================
[   27.778459] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   27.778459] 
[   27.778568] Invalid read at 0x000000001b51b034:
[   27.778690]  test_invalid_access+0xdc/0x1f0
[   27.779043]  kunit_try_run_case+0x170/0x3f0
[   27.779155]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.779207]  kthread+0x328/0x630
[   27.779253]  ret_from_fork+0x10/0x20
[   27.779332] 
[   27.779386] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   27.779480] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.779513] Hardware name: linux,dummy-virt (DT)
[   27.779555] ==================================================================

[   33.054934] ==================================================================
[   33.055680] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   33.055680] 
[   33.056412] Invalid read at 0x(____ptrval____):
[   33.056902]  test_invalid_access+0xf0/0x210
[   33.057379]  kunit_try_run_case+0x1a5/0x480
[   33.057748]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.058263]  kthread+0x337/0x6f0
[   33.058632]  ret_from_fork+0x116/0x1d0
[   33.058957]  ret_from_fork_asm+0x1a/0x30
[   33.059418] 
[   33.059700] CPU: 1 UID: 0 PID: 358 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   33.060579] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.061190] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.061748] ==================================================================