Hay
Date
July 20, 2025, 8:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   25.536821] ==================================================================
[   25.537441] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   25.537441] 
[   25.537548] Invalid read at 0x000000000bafe0c5:
[   25.537701]  test_invalid_access+0xdc/0x1f0
[   25.537778]  kunit_try_run_case+0x170/0x3f0
[   25.537854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.537963]  kthread+0x328/0x630
[   25.538008]  ret_from_fork+0x10/0x20
[   25.538079] 
[   25.538161] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   25.538262] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.538328] Hardware name: linux,dummy-virt (DT)
[   25.538371] ==================================================================

[   23.992518] ==================================================================
[   23.993114] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   23.993114] 
[   23.994301] Invalid read at 0x(____ptrval____):
[   23.994608]  test_invalid_access+0xf0/0x210
[   23.994820]  kunit_try_run_case+0x1a5/0x480
[   23.995196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.995773]  kthread+0x337/0x6f0
[   23.995959]  ret_from_fork+0x116/0x1d0
[   23.996540]  ret_from_fork_asm+0x1a/0x30
[   23.996950] 
[   23.997074] CPU: 0 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   23.997733] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.997920] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.998422] ==================================================================