Hay
Date
July 1, 2025, 12:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.043174] ==================================================================
[   29.043328] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   29.043328] 
[   29.043437] Invalid read at 0x000000009b4daa6d:
[   29.043611]  test_invalid_access+0xdc/0x1f0
[   29.043864]  kunit_try_run_case+0x170/0x3f0
[   29.046290]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.046592]  kthread+0x328/0x630
[   29.046662]  ret_from_fork+0x10/0x20
[   29.046725] 
[   29.046820] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   29.046916] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.046997] Hardware name: linux,dummy-virt (DT)
[   29.047190] ==================================================================

[   23.179419] ==================================================================
[   23.180055] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   23.180055] 
[   23.180569] Invalid read at 0x(____ptrval____):
[   23.180795]  test_invalid_access+0xf0/0x210
[   23.180992]  kunit_try_run_case+0x1a5/0x480
[   23.181157]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.182320]  kthread+0x337/0x6f0
[   23.182607]  ret_from_fork+0x116/0x1d0
[   23.182897]  ret_from_fork_asm+0x1a/0x30
[   23.183294] 
[   23.183433] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   23.184034] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.184353] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.184782] ==================================================================