Hay
Date
June 3, 2025, 7:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   28.584976] ==================================================================
[   28.585141] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   28.585141] 
[   28.585247] Invalid read at 0x000000006af6c3c2:
[   28.585315]  test_invalid_access+0xdc/0x1f0
[   28.585369]  kunit_try_run_case+0x170/0x3f0
[   28.585420]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.585489]  kthread+0x328/0x630
[   28.585533]  ret_from_fork+0x10/0x20
[   28.585586] 
[   28.585637] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   28.585727] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.586092] Hardware name: linux,dummy-virt (DT)
[   28.586156] ==================================================================


[   27.561407] ==================================================================
[   27.562045] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   27.562045] 
[   27.563012] Invalid read at 0x(____ptrval____):
[   27.563496]  test_invalid_access+0xf0/0x210
[   27.563916]  kunit_try_run_case+0x1a5/0x480
[   27.564151]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.564481]  kthread+0x337/0x6f0
[   27.564812]  ret_from_fork+0x116/0x1d0
[   27.565152]  ret_from_fork_asm+0x1a/0x30
[   27.565982] 
[   27.566257] CPU: 0 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   27.567055] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.568058] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.569080] ==================================================================