Hay
Date
July 10, 2025, 9:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.291075] ==================================================================
[   40.292198] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   40.292198] 
[   40.292363] Invalid read at 0x000000007466e28a:
[   40.292472]  test_invalid_access+0xdc/0x1f0
[   40.292534]  kunit_try_run_case+0x170/0x3f0
[   40.292588]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.292691]  kthread+0x328/0x630
[   40.292745]  ret_from_fork+0x10/0x20
[   40.292799] 
[   40.292851] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   40.292945] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.292980] Hardware name: linux,dummy-virt (DT)
[   40.293021] ==================================================================

[   37.955914] ==================================================================
[   37.956394] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   37.956394] 
[   37.957402] Invalid read at 0x(____ptrval____):
[   37.958167]  test_invalid_access+0xf0/0x210
[   37.958525]  kunit_try_run_case+0x1a5/0x480
[   37.958749]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.959108]  kthread+0x337/0x6f0
[   37.959264]  ret_from_fork+0x116/0x1d0
[   37.959455]  ret_from_fork_asm+0x1a/0x30
[   37.959748] 
[   37.960072] CPU: 1 UID: 0 PID: 379 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   37.960689] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.960955] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.961569] ==================================================================