Hay
Date
July 1, 2025, 3:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   27.721668] ==================================================================
[   27.722946] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   27.722946] 
[   27.723114] Invalid read at 0x0000000050628c59:
[   27.723217]  test_invalid_access+0xdc/0x1f0
[   27.723300]  kunit_try_run_case+0x170/0x3f0
[   27.723376]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.723427]  kthread+0x328/0x630
[   27.723602]  ret_from_fork+0x10/0x20
[   27.723688] 
[   27.723741] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   27.723918] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.723962] Hardware name: linux,dummy-virt (DT)
[   27.724019] ==================================================================

[   24.832719] ==================================================================
[   24.833275] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.833275] 
[   24.833707] Invalid read at 0x(____ptrval____):
[   24.834633]  test_invalid_access+0xf0/0x210
[   24.835053]  kunit_try_run_case+0x1a5/0x480
[   24.835386]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.835823]  kthread+0x337/0x6f0
[   24.835999]  ret_from_fork+0x116/0x1d0
[   24.836223]  ret_from_fork_asm+0x1a/0x30
[   24.836440] 
[   24.836588] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   24.837092] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.837265] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.837607] ==================================================================