Hay
Date
July 13, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   25.520907] ==================================================================
[   25.521044] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   25.521044] 
[   25.521142] Invalid read at 0x00000000259d9373:
[   25.521228]  test_invalid_access+0xdc/0x1f0
[   25.521287]  kunit_try_run_case+0x170/0x3f0
[   25.521361]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.521415]  kthread+0x328/0x630
[   25.521461]  ret_from_fork+0x10/0x20
[   25.521815] 
[   25.522522] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   25.522623] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.522660] Hardware name: linux,dummy-virt (DT)
[   25.522702] ==================================================================

[   26.907722] ==================================================================
[   26.907876] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   26.907876] 
[   26.908008] Invalid read at 0x00000000ba76a943:
[   26.908100]  test_invalid_access+0xdc/0x1f0
[   26.908195]  kunit_try_run_case+0x170/0x3f0
[   26.908274]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.908348]  kthread+0x328/0x630
[   26.908416]  ret_from_fork+0x10/0x20
[   26.908490] 
[   26.908565] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   26.908676] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.908733] Hardware name: linux,dummy-virt (DT)
[   26.908796] ==================================================================

[   24.835774] ==================================================================
[   24.836236] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.836236] 
[   24.837064] Invalid read at 0x(____ptrval____):
[   24.837443]  test_invalid_access+0xf0/0x210
[   24.838453]  kunit_try_run_case+0x1a5/0x480
[   24.838810]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.839014]  kthread+0x337/0x6f0
[   24.839202]  ret_from_fork+0x116/0x1d0
[   24.839344]  ret_from_fork_asm+0x1a/0x30
[   24.839577] 
[   24.839755] CPU: 0 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.840154] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.840362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.841071] ==================================================================

[   24.302005] ==================================================================
[   24.302596] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.302596] 
[   24.303188] Invalid read at 0x(____ptrval____):
[   24.303386]  test_invalid_access+0xf0/0x210
[   24.303606]  kunit_try_run_case+0x1a5/0x480
[   24.303826]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.304157]  kthread+0x337/0x6f0
[   24.304310]  ret_from_fork+0x116/0x1d0
[   24.304504]  ret_from_fork_asm+0x1a/0x30
[   24.304663] 
[   24.304863] CPU: 1 UID: 0 PID: 350 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.305378] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.305572] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.306037] ==================================================================