Hay
Date
May 12, 2025, 11:48 a.m.

Environment
qemu-arm64
qemu-x86_64

[   27.819703] ==================================================================
[   27.819893] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   27.819893] 
[   27.820087] Invalid read at 0x00000000e9e653cc:
[   27.820207]  test_invalid_access+0xdc/0x1f0
[   27.820325]  kunit_try_run_case+0x170/0x3f0
[   27.820435]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.820539]  kthread+0x328/0x630
[   27.820642]  ret_from_fork+0x10/0x20
[   27.820752] 
[   27.820858] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   27.821060] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.821155] Hardware name: linux,dummy-virt (DT)
[   27.821246] ==================================================================

[   30.399251] ==================================================================
[   30.400104] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   30.400104] 
[   30.400993] Invalid read at 0x(____ptrval____):
[   30.401608]  test_invalid_access+0xf0/0x210
[   30.402582]  kunit_try_run_case+0x1a5/0x480
[   30.403560]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.404050]  kthread+0x337/0x6f0
[   30.404662]  ret_from_fork+0x116/0x1d0
[   30.404871]  ret_from_fork_asm+0x1a/0x30
[   30.405663] 
[   30.405867] CPU: 0 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   30.406820] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.407274] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.408101] ==================================================================