Hay
Date
June 5, 2025, 7:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   38.295425] ==================================================================
[   38.295679] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   38.295679] 
[   38.295908] Invalid read at 0x00000000340a32c7:
[   38.296908]  test_invalid_access+0xdc/0x1f0
[   38.297059]  kunit_try_run_case+0x170/0x3f0
[   38.297771]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.297903]  kthread+0x328/0x630
[   38.298018]  ret_from_fork+0x10/0x20
[   38.298149] 
[   38.298265] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT 
[   38.300298] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.300410] Hardware name: linux,dummy-virt (DT)
[   38.301637] ==================================================================


[   21.729637] ==================================================================
[   21.730178] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   21.730178] 
[   21.731866] Invalid read at 0x(____ptrval____):
[   21.732302]  test_invalid_access+0xf0/0x210
[   21.732464]  kunit_try_run_case+0x1a5/0x480
[   21.732611]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.732783]  kthread+0x337/0x6f0
[   21.732919]  ret_from_fork+0x116/0x1d0
[   21.733059]  ret_from_fork_asm+0x1a/0x30
[   21.733544] 
[   21.733684] CPU: 0 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT(voluntary) 
[   21.734465] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.734658] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.735253] ==================================================================