Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   34.409166] ==================================================================
[   34.409455] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   34.409455] 
[   34.409700] Invalid read at 0x000000005f850655:
[   34.409832]  test_invalid_access+0xdc/0x1f0
[   34.410082]  kunit_try_run_case+0x170/0x3f0
[   34.410286]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.410496]  kthread+0x328/0x630
[   34.410619]  ret_from_fork+0x10/0x20
[   34.410816] 
[   34.410940] CPU: 1 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   34.411167] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.411255] Hardware name: linux,dummy-virt (DT)
[   34.411358] ==================================================================

[   26.342234] ==================================================================
[   26.342834] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   26.342834] 
[   26.343801] Invalid read at 0x(____ptrval____):
[   26.344412]  test_invalid_access+0xf0/0x210
[   26.344618]  kunit_try_run_case+0x1a5/0x480
[   26.345297]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.345543]  kthread+0x337/0x6f0
[   26.345777]  ret_from_fork+0x41/0x80
[   26.346028]  ret_from_fork_asm+0x1a/0x30
[   26.346247] 
[   26.346354] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   26.346572] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.346679] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.346848] ==================================================================