Hay
Date
July 18, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.901523] ==================================================================
[   28.901681] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   28.901681] 
[   28.901790] Invalid read at 0x000000004ffab9be:
[   28.901963]  test_invalid_access+0xdc/0x1f0
[   28.902028]  kunit_try_run_case+0x170/0x3f0
[   28.902080]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.902130]  kthread+0x328/0x630
[   28.902175]  ret_from_fork+0x10/0x20
[   28.902248] 
[   28.902313] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   28.902404] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.902440] Hardware name: linux,dummy-virt (DT)
[   28.902496] ==================================================================

[   27.113374] ==================================================================
[   27.113530] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   27.113530] 
[   27.113669] Invalid read at 0x0000000025e0d646:
[   27.113882]  test_invalid_access+0xdc/0x1f0
[   27.113964]  kunit_try_run_case+0x170/0x3f0
[   27.114027]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.114078]  kthread+0x328/0x630
[   27.114121]  ret_from_fork+0x10/0x20
[   27.114238] 
[   27.114297] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   27.114398] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.114678] Hardware name: linux,dummy-virt (DT)
[   27.114787] ==================================================================

[   26.167277] ==================================================================
[   26.167422] BUG: KFENCE: invalid read in test_invalid_access+0xdc/0x1f0
[   26.167422] 
[   26.167552] Invalid read at 0x0000000071f162bf:
[   26.167881]  test_invalid_access+0xdc/0x1f0
[   26.167947]  kunit_try_run_case+0x170/0x3f0
[   26.168044]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.168097]  kthread+0x328/0x630
[   26.168177]  ret_from_fork+0x10/0x20
[   26.168235] 
[   26.168287] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   26.168944] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.169055] Hardware name: linux,dummy-virt (DT)
[   26.169101] ==================================================================

[   23.130257] ==================================================================
[   23.130783] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   23.130783] 
[   23.131418] Invalid read at 0x(____ptrval____):
[   23.131695]  test_invalid_access+0xf0/0x210
[   23.131879]  kunit_try_run_case+0x1a5/0x480
[   23.132099]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.132377]  kthread+0x337/0x6f0
[   23.132587]  ret_from_fork+0x116/0x1d0
[   23.132753]  ret_from_fork_asm+0x1a/0x30
[   23.132956] 
[   23.133082] CPU: 1 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   23.133620] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.133828] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.134125] ==================================================================

[   24.170579] ==================================================================
[   24.171207] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.171207] 
[   24.171799] Invalid read at 0x(____ptrval____):
[   24.172048]  test_invalid_access+0xf0/0x210
[   24.172234]  kunit_try_run_case+0x1a5/0x480
[   24.172416]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.172692]  kthread+0x337/0x6f0
[   24.172855]  ret_from_fork+0x116/0x1d0
[   24.172992]  ret_from_fork_asm+0x1a/0x30
[   24.173157] 
[   24.173283] CPU: 0 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.173887] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.174087] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.174381] ==================================================================

[   24.607759] ==================================================================
[   24.608536] BUG: KFENCE: invalid read in test_invalid_access+0xf0/0x210
[   24.608536] 
[   24.609190] Invalid read at 0x(____ptrval____):
[   24.609442]  test_invalid_access+0xf0/0x210
[   24.609728]  kunit_try_run_case+0x1a5/0x480
[   24.610635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.610910]  kthread+0x337/0x6f0
[   24.611561]  ret_from_fork+0x116/0x1d0
[   24.611756]  ret_from_fork_asm+0x1a/0x30
[   24.611969] 
[   24.612186] CPU: 1 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.613173] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.613385] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.613991] ==================================================================