Hay
Date
July 5, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   29.012870] ==================================================================
[   29.013037] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   29.013037] 
[   29.013146] Invalid read at 0x000000001096779e:
[   29.013232]  test_invalid_access+0xdc/0x1f0
[   29.013288]  kunit_try_run_case+0x170/0x3f0
[   29.013340]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.013557]  kthread+0x328/0x630
[   29.013613]  ret_from_fork+0x10/0x20
[   29.013667] 
[   29.013719] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   29.013805] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.013841] Hardware name: linux,dummy-virt (DT)
[   29.013882] ==================================================================

[   26.550903] ==================================================================
[   26.551453] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   26.551453] 
[   26.551866] Invalid read at 0x(____ptrval____):
[   26.552068]  test_invalid_access+0xf0/0x210
[   26.552251]  kunit_try_run_case+0x1a5/0x480
[   26.552435]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.552641]  kthread+0x337/0x6f0
[   26.553067]  ret_from_fork+0x116/0x1d0
[   26.553532]  ret_from_fork_asm+0x1a/0x30
[   26.553835] 
[   26.553989] CPU: 0 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   26.554387] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.554552] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.554874] ==================================================================