Hay
Date
June 18, 2025, 6:43 a.m.

Environment
qemu-arm64
qemu-x86_64

[   33.120048] ==================================================================
[   33.120238] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   33.120238] 
[   33.120383] Invalid read at 0x000000006744ba8a:
[   33.120484]  test_invalid_access+0xdc/0x1f0
[   33.120588]  kunit_try_run_case+0x170/0x3f0
[   33.120672]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.120730]  kthread+0x328/0x630
[   33.120781]  ret_from_fork+0x10/0x20
[   33.120951] 
[   33.121112] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   33.121234] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   33.121571] Hardware name: linux,dummy-virt (DT)
[   33.121724] ==================================================================

[   21.654274] ==================================================================
[   21.655463] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   21.655463] 
[   21.655925] Invalid read at 0x(____ptrval____):
[   21.656161]  test_invalid_access+0xf0/0x210
[   21.656366]  kunit_try_run_case+0x1a5/0x480
[   21.656555]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.656875]  kthread+0x337/0x6f0
[   21.657049]  ret_from_fork+0x116/0x1d0
[   21.657303]  ret_from_fork_asm+0x1a/0x30
[   21.657534] 
[   21.657716] CPU: 1 UID: 0 PID: 357 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   21.658147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.658340] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.659037] ==================================================================