Hay
Date
July 4, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.289834] ==================================================================
[   40.290011] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   40.290011] 
[   40.290140] Invalid read at 0x00000000f4bdff02:
[   40.290210]  test_invalid_access+0xdc/0x1f0
[   40.290359]  kunit_try_run_case+0x170/0x3f0
[   40.291398]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.291479]  kthread+0x328/0x630
[   40.291558]  ret_from_fork+0x10/0x20
[   40.291623] 
[   40.291852] CPU: 1 UID: 0 PID: 364 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   40.291989] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.292424] Hardware name: linux,dummy-virt (DT)
[   40.292841] ==================================================================

[   36.915502] ==================================================================
[   36.916045] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   36.916045] 
[   36.916470] Invalid read at 0x(____ptrval____):
[   36.916683]  test_invalid_access+0xf0/0x210
[   36.917336]  kunit_try_run_case+0x1a5/0x480
[   36.917986]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.918384]  kthread+0x337/0x6f0
[   36.918676]  ret_from_fork+0x116/0x1d0
[   36.919066]  ret_from_fork_asm+0x1a/0x30
[   36.919430] 
[   36.919657] CPU: 1 UID: 0 PID: 380 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   36.920386] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.920647] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.921189] ==================================================================