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

Environment
qemu-arm64
qemu-x86_64

[   38.999979] ==================================================================
[   39.000959] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   39.000959] 
[   39.002807] Invalid read at 0x00000000badf0555:
[   39.003467]  test_invalid_access+0xdc/0x1f0
[   39.004078]  kunit_try_run_case+0x170/0x3f0
[   39.004637]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.005658]  kthread+0x318/0x620
[   39.006829]  ret_from_fork+0x10/0x20
[   39.007479] 
[   39.007953] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   39.009384] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.009861] Hardware name: linux,dummy-virt (DT)
[   39.011084] ==================================================================

[   31.706146] ==================================================================
[   31.706811] BUG: KFENCE: invalid read in test_invalid_access+0xf1/0x210
[   31.706811] 
[   31.708163] Invalid read at 0x(____ptrval____):
[   31.708669]  test_invalid_access+0xf1/0x210
[   31.709431]  kunit_try_run_case+0x1a6/0x480
[   31.709923]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.710561]  kthread+0x324/0x6e0
[   31.710837]  ret_from_fork+0x41/0x80
[   31.711327]  ret_from_fork_asm+0x1a/0x30
[   31.711913] 
[   31.712115] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   31.713076] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.713683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.714367] ==================================================================