Hay
Date
April 20, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   36.382216] ==================================================================
[   36.382445] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   36.382445] 
[   36.382644] Invalid read at 0x0000000044f108c6:
[   36.382944]  test_invalid_access+0xdc/0x1f0
[   36.383174]  kunit_try_run_case+0x170/0x3f0
[   36.383298]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.383428]  kthread+0x328/0x630
[   36.383545]  ret_from_fork+0x10/0x20
[   36.383689] 
[   36.383805] CPU: 1 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   36.386999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.387118] Hardware name: linux,dummy-virt (DT)
[   36.387237] ==================================================================

[   22.109027] ==================================================================
[   22.109884] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   22.109884] 
[   22.110188] Invalid read at 0x(____ptrval____):
[   22.111144]  test_invalid_access+0xf0/0x210
[   22.111365]  kunit_try_run_case+0x1a5/0x480
[   22.111657]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.111891]  kthread+0x337/0x6f0
[   22.112038]  ret_from_fork+0x41/0x80
[   22.112253]  ret_from_fork_asm+0x1a/0x30
[   22.112566] 
[   22.112697] CPU: 0 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   22.113129] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.113340] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.113819] ==================================================================

[   33.012423] ==================================================================
[   33.013535] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   33.013535] 
[   33.014403] Invalid read at 0x(____ptrval____):
[   33.014849]  test_invalid_access+0xdc/0x1f0
[   33.015268]  kunit_try_run_case+0x170/0x3f0
[   33.015689]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.016225]  kthread+0x328/0x630
[   33.016563]  ret_from_fork+0x10/0x20
[   33.016925] 
[   33.017101] CPU: 0 UID: 0 PID: 385 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   33.018127] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.018534] Hardware name: Radxa ROCK Pi 4B (DT)
[   33.018979] ==================================================================