Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   69.377127] ==================================================================
[   69.377246] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   69.377246] 
[   69.377395] Use-after-free read at 0x(____ptrval____) (in kfence-#127):
[   69.377869]  test_use_after_free_read+0x114/0x248
[   69.382557]  kunit_try_run_case+0x170/0x3f0
[   69.386724]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.392192]  kthread+0x328/0x630
[   69.395404]  ret_from_fork+0x10/0x20
[   69.398963] 
[   69.400442] kfence-#127: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   69.400442] 
[   69.409555] allocated by task 346 on cpu 7 at 69.377074s (0.032479s ago):
[   69.416341]  test_alloc+0x230/0x628
[   69.419796]  test_use_after_free_read+0xd0/0x248
[   69.424397]  kunit_try_run_case+0x170/0x3f0
[   69.428565]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.434032]  kthread+0x328/0x630
[   69.437244]  ret_from_fork+0x10/0x20
[   69.440805] 
[   69.442283] freed by task 346 on cpu 7 at 69.377089s (0.065190s ago):
[   69.448716]  test_use_after_free_read+0xf0/0x248
[   69.453303]  kunit_try_run_case+0x170/0x3f0
[   69.457469]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.462938]  kthread+0x328/0x630
[   69.466150]  ret_from_fork+0x10/0x20
[   69.469710] 
[   69.471194] CPU: 7 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   69.481089] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.485248] Hardware name: WinLink E850-96 board (DT)
[   69.490285] ==================================================================
[   69.153133] ==================================================================
[   69.153268] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   69.153268] 
[   69.153426] Use-after-free read at 0x(____ptrval____) (in kfence-#125):
[   69.153890]  test_use_after_free_read+0x114/0x248
[   69.158577]  kunit_try_run_case+0x170/0x3f0
[   69.162744]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.168212]  kthread+0x328/0x630
[   69.171424]  ret_from_fork+0x10/0x20
[   69.174983] 
[   69.176462] kfence-#125: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   69.176462] 
[   69.186096] allocated by task 344 on cpu 0 at 69.153078s (0.033016s ago):
[   69.192882]  test_alloc+0x29c/0x628
[   69.196337]  test_use_after_free_read+0xd0/0x248
[   69.200937]  kunit_try_run_case+0x170/0x3f0
[   69.205104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.210573]  kthread+0x328/0x630
[   69.213786]  ret_from_fork+0x10/0x20
[   69.217347] 
[   69.218823] freed by task 344 on cpu 0 at 69.153094s (0.065725s ago):
[   69.225256]  test_use_after_free_read+0x1c0/0x248
[   69.229932]  kunit_try_run_case+0x170/0x3f0
[   69.234097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.239566]  kthread+0x328/0x630
[   69.242777]  ret_from_fork+0x10/0x20
[   69.246338] 
[   69.247823] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   69.257718] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.261876] Hardware name: WinLink E850-96 board (DT)
[   69.266912] ==================================================================

[   22.289710] ==================================================================
[   22.289784] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   22.289784] 
[   22.289890] Use-after-free read at 0x000000009af35402 (in kfence-#89):
[   22.289941]  test_use_after_free_read+0x114/0x248
[   22.289987]  kunit_try_run_case+0x170/0x3f0
[   22.290034]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.290077]  kthread+0x328/0x630
[   22.290119]  ret_from_fork+0x10/0x20
[   22.290158] 
[   22.290183] kfence-#89: 0x000000009af35402-0x0000000006914d05, size=32, cache=kmalloc-32
[   22.290183] 
[   22.290234] allocated by task 297 on cpu 1 at 22.289269s (0.000961s ago):
[   22.290303]  test_alloc+0x29c/0x628
[   22.290340]  test_use_after_free_read+0xd0/0x248
[   22.290380]  kunit_try_run_case+0x170/0x3f0
[   22.290506]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.290609]  kthread+0x328/0x630
[   22.290697]  ret_from_fork+0x10/0x20
[   22.290737] 
[   22.290759] freed by task 297 on cpu 1 at 22.289479s (0.001276s ago):
[   22.290818]  test_use_after_free_read+0x1c0/0x248
[   22.290866]  kunit_try_run_case+0x170/0x3f0
[   22.290907]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.290953]  kthread+0x328/0x630
[   22.290994]  ret_from_fork+0x10/0x20
[   22.291035] 
[   22.291168] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.291679] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.291719] Hardware name: linux,dummy-virt (DT)
[   22.291767] ==================================================================
[   22.396830] ==================================================================
[   22.397042] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   22.397042] 
[   22.397335] Use-after-free read at 0x00000000f66eab1f (in kfence-#90):
[   22.397487]  test_use_after_free_read+0x114/0x248
[   22.397569]  kunit_try_run_case+0x170/0x3f0
[   22.397616]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.397662]  kthread+0x328/0x630
[   22.397703]  ret_from_fork+0x10/0x20
[   22.397750] 
[   22.397868] kfence-#90: 0x00000000f66eab1f-0x000000007e34f679, size=32, cache=test
[   22.397868] 
[   22.397917] allocated by task 299 on cpu 1 at 22.396465s (0.001449s ago):
[   22.397988]  test_alloc+0x230/0x628
[   22.398028]  test_use_after_free_read+0xd0/0x248
[   22.398069]  kunit_try_run_case+0x170/0x3f0
[   22.398110]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.398154]  kthread+0x328/0x630
[   22.398193]  ret_from_fork+0x10/0x20
[   22.398232] 
[   22.398254] freed by task 299 on cpu 1 at 22.396531s (0.001719s ago):
[   22.398353]  test_use_after_free_read+0xf0/0x248
[   22.398396]  kunit_try_run_case+0x170/0x3f0
[   22.398437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.398482]  kthread+0x328/0x630
[   22.398586]  ret_from_fork+0x10/0x20
[   22.398626] 
[   22.398675] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.398771] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.398802] Hardware name: linux,dummy-virt (DT)
[   22.398834] ==================================================================

[   16.293241] ==================================================================
[   16.293734] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   16.293734] 
[   16.294227] Use-after-free read at 0x(____ptrval____) (in kfence-#74):
[   16.294485]  test_use_after_free_read+0x129/0x270
[   16.295196]  kunit_try_run_case+0x1a5/0x480
[   16.295613]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.295848]  kthread+0x337/0x6f0
[   16.296028]  ret_from_fork+0x41/0x80
[   16.296200]  ret_from_fork_asm+0x1a/0x30
[   16.296398] 
[   16.296495] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.296495] 
[   16.297256] allocated by task 316 on cpu 1 at 16.293092s (0.004160s ago):
[   16.297649]  test_alloc+0x2a6/0x10f0
[   16.297883]  test_use_after_free_read+0xdc/0x270
[   16.298174]  kunit_try_run_case+0x1a5/0x480
[   16.298359]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.298708]  kthread+0x337/0x6f0
[   16.298958]  ret_from_fork+0x41/0x80
[   16.299114]  ret_from_fork_asm+0x1a/0x30
[   16.299435] 
[   16.299516] freed by task 316 on cpu 1 at 16.293149s (0.006365s ago):
[   16.299969]  test_use_after_free_read+0xfb/0x270
[   16.300192]  kunit_try_run_case+0x1a5/0x480
[   16.300400]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.300861]  kthread+0x337/0x6f0
[   16.301016]  ret_from_fork+0x41/0x80
[   16.301330]  ret_from_fork_asm+0x1a/0x30
[   16.301501] 
[   16.301735] CPU: 1 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   16.302276] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.302542] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.302932] ==================================================================
[   16.189341] ==================================================================
[   16.189890] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   16.189890] 
[   16.190299] Use-after-free read at 0x(____ptrval____) (in kfence-#73):
[   16.190575]  test_use_after_free_read+0x129/0x270
[   16.190762]  kunit_try_run_case+0x1a5/0x480
[   16.191123]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.191419]  kthread+0x337/0x6f0
[   16.191551]  ret_from_fork+0x41/0x80
[   16.191741]  ret_from_fork_asm+0x1a/0x30
[   16.191910] 
[   16.192019] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.192019] 
[   16.192396] allocated by task 314 on cpu 0 at 16.189100s (0.003294s ago):
[   16.192756]  test_alloc+0x364/0x10f0
[   16.192960]  test_use_after_free_read+0xdc/0x270
[   16.193111]  kunit_try_run_case+0x1a5/0x480
[   16.193258]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.193670]  kthread+0x337/0x6f0
[   16.193866]  ret_from_fork+0x41/0x80
[   16.194069]  ret_from_fork_asm+0x1a/0x30
[   16.194278] 
[   16.194494] freed by task 314 on cpu 0 at 16.189178s (0.005210s ago):
[   16.195085]  test_use_after_free_read+0x1e7/0x270
[   16.195316]  kunit_try_run_case+0x1a5/0x480
[   16.195535]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.195711]  kthread+0x337/0x6f0
[   16.195828]  ret_from_fork+0x41/0x80
[   16.195973]  ret_from_fork_asm+0x1a/0x30
[   16.196289] 
[   16.196533] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   16.196983] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.197231] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.197574] ==================================================================