Hay
Date
May 15, 2025, 10:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   28.613710] ==================================================================
[   28.613976] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   28.613976] 
[   28.614107] Invalid read at 0x00000000306ea4c7:
[   28.614215]  test_invalid_access+0xdc/0x1f0
[   28.614274]  kunit_try_run_case+0x170/0x3f0
[   28.614324]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.614544]  kthread+0x328/0x630
[   28.614755]  ret_from_fork+0x10/0x20
[   28.615257] 
[   28.616252] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   28.617134] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.617201] Hardware name: linux,dummy-virt (DT)
[   28.617315] ==================================================================


[   27.275141] ==================================================================
[   27.275721] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   27.275721] 
[   27.276078] Invalid read at 0x(____ptrval____):
[   27.276393]  test_invalid_access+0xf0/0x210
[   27.276626]  kunit_try_run_case+0x1a5/0x480
[   27.276776]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.277017]  kthread+0x337/0x6f0
[   27.277171]  ret_from_fork+0x116/0x1d0
[   27.277285]  ret_from_fork_asm+0x1a/0x30
[   27.277409] 
[   27.277498] CPU: 1 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   27.277728] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.277839] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.278006] ==================================================================