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

Environment
qemu-arm64
qemu-x86_64
x86

[   21.712429] ==================================================================
[   21.712510] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   21.712510] 
[   21.712676] Use-after-free read at 0x0000000034c703aa (in kfence-#90):
[   21.712751]  test_use_after_free_read+0x114/0x248
[   21.712808]  kunit_try_run_case+0x170/0x3f0
[   21.713195]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.713255]  kthread+0x328/0x630
[   21.713354]  ret_from_fork+0x10/0x20
[   21.713399] 
[   21.713460] kfence-#90: 0x0000000034c703aa-0x0000000022d7428b, size=32, cache=test
[   21.713460] 
[   21.713581] allocated by task 298 on cpu 1 at 21.711879s (0.001648s ago):
[   21.713685]  test_alloc+0x230/0x628
[   21.713744]  test_use_after_free_read+0xd0/0x248
[   21.713786]  kunit_try_run_case+0x170/0x3f0
[   21.714091]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.714177]  kthread+0x328/0x630
[   21.714617]  ret_from_fork+0x10/0x20
[   21.714945] 
[   21.714992] freed by task 298 on cpu 1 at 21.711972s (0.003014s ago):
[   21.715174]  test_use_after_free_read+0xf0/0x248
[   21.715334]  kunit_try_run_case+0x170/0x3f0
[   21.715397]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.715463]  kthread+0x328/0x630
[   21.715539]  ret_from_fork+0x10/0x20
[   21.715723] 
[   21.715790] CPU: 1 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.715878] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.715908] Hardware name: linux,dummy-virt (DT)
[   21.715950] ==================================================================
[   21.605067] ==================================================================
[   21.605177] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   21.605177] 
[   21.605270] Use-after-free read at 0x000000006d6fb5eb (in kfence-#89):
[   21.605322]  test_use_after_free_read+0x114/0x248
[   21.605369]  kunit_try_run_case+0x170/0x3f0
[   21.605469]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.605530]  kthread+0x328/0x630
[   21.605570]  ret_from_fork+0x10/0x20
[   21.605608] 
[   21.605641] kfence-#89: 0x000000006d6fb5eb-0x00000000c4ebda01, size=32, cache=kmalloc-32
[   21.605641] 
[   21.606405] allocated by task 296 on cpu 1 at 21.604377s (0.001984s ago):
[   21.606485]  test_alloc+0x29c/0x628
[   21.606634]  test_use_after_free_read+0xd0/0x248
[   21.606741]  kunit_try_run_case+0x170/0x3f0
[   21.607219]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.607311]  kthread+0x328/0x630
[   21.607495]  ret_from_fork+0x10/0x20
[   21.607560] 
[   21.607587] freed by task 296 on cpu 1 at 21.604448s (0.003135s ago):
[   21.607682]  test_use_after_free_read+0x1c0/0x248
[   21.608110]  kunit_try_run_case+0x170/0x3f0
[   21.608232]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.608373]  kthread+0x328/0x630
[   21.608534]  ret_from_fork+0x10/0x20
[   21.608580] 
[   21.608629] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.608749] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.609090] Hardware name: linux,dummy-virt (DT)
[   21.609198] ==================================================================

[   21.236128] ==================================================================
[   21.236384] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   21.236384] 
[   21.236567] Use-after-free read at 0x000000009b1ac8fd (in kfence-#85):
[   21.236617]  test_use_after_free_read+0x114/0x248
[   21.237108]  kunit_try_run_case+0x170/0x3f0
[   21.237294]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.237353]  kthread+0x328/0x630
[   21.237491]  ret_from_fork+0x10/0x20
[   21.237532] 
[   21.237557] kfence-#85: 0x000000009b1ac8fd-0x000000003cc7fc8b, size=32, cache=kmalloc-32
[   21.237557] 
[   21.237853] allocated by task 296 on cpu 1 at 21.235536s (0.002298s ago):
[   21.237939]  test_alloc+0x29c/0x628
[   21.237982]  test_use_after_free_read+0xd0/0x248
[   21.238034]  kunit_try_run_case+0x170/0x3f0
[   21.238194]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.238274]  kthread+0x328/0x630
[   21.238348]  ret_from_fork+0x10/0x20
[   21.238405] 
[   21.238688] freed by task 296 on cpu 1 at 21.235774s (0.002683s ago):
[   21.238955]  test_use_after_free_read+0x1c0/0x248
[   21.239015]  kunit_try_run_case+0x170/0x3f0
[   21.239167]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.239219]  kthread+0x328/0x630
[   21.239320]  ret_from_fork+0x10/0x20
[   21.239374] 
[   21.239422] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.239769] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.239799] Hardware name: linux,dummy-virt (DT)
[   21.239835] ==================================================================
[   21.339712] ==================================================================
[   21.340284] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248
[   21.340284] 
[   21.340381] Use-after-free read at 0x00000000088152b0 (in kfence-#86):
[   21.340510]  test_use_after_free_read+0x114/0x248
[   21.340662]  kunit_try_run_case+0x170/0x3f0
[   21.340711]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.340821]  kthread+0x328/0x630
[   21.340891]  ret_from_fork+0x10/0x20
[   21.340943] 
[   21.340967] kfence-#86: 0x00000000088152b0-0x00000000557cb7bb, size=32, cache=test
[   21.340967] 
[   21.341023] allocated by task 298 on cpu 1 at 21.339101s (0.001912s ago):
[   21.341343]  test_alloc+0x230/0x628
[   21.341407]  test_use_after_free_read+0xd0/0x248
[   21.341449]  kunit_try_run_case+0x170/0x3f0
[   21.341488]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.341537]  kthread+0x328/0x630
[   21.341696]  ret_from_fork+0x10/0x20
[   21.341764] 
[   21.341836] freed by task 298 on cpu 1 at 21.339161s (0.002657s ago):
[   21.342351]  test_use_after_free_read+0xf0/0x248
[   21.342685]  kunit_try_run_case+0x170/0x3f0
[   21.342764]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.342810]  kthread+0x328/0x630
[   21.342847]  ret_from_fork+0x10/0x20
[   21.342905] 
[   21.343272] CPU: 1 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.343862] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.343898] Hardware name: linux,dummy-virt (DT)
[   21.344007] ==================================================================

[   19.837213] ==================================================================
[   19.837685] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   19.837685] 
[   19.838256] Use-after-free read at 0x(____ptrval____) (in kfence-#91):
[   19.839187]  test_use_after_free_read+0x129/0x270
[   19.839440]  kunit_try_run_case+0x1a5/0x480
[   19.839646]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.839826]  kthread+0x337/0x6f0
[   19.840030]  ret_from_fork+0x116/0x1d0
[   19.840306]  ret_from_fork_asm+0x1a/0x30
[   19.840587] 
[   19.840929] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.840929] 
[   19.841510] allocated by task 315 on cpu 0 at 19.837038s (0.004467s ago):
[   19.841934]  test_alloc+0x2a6/0x10f0
[   19.842234]  test_use_after_free_read+0xdc/0x270
[   19.842449]  kunit_try_run_case+0x1a5/0x480
[   19.842708]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.842906]  kthread+0x337/0x6f0
[   19.843136]  ret_from_fork+0x116/0x1d0
[   19.843403]  ret_from_fork_asm+0x1a/0x30
[   19.843728] 
[   19.843846] freed by task 315 on cpu 0 at 19.837102s (0.006740s ago):
[   19.844134]  test_use_after_free_read+0xfb/0x270
[   19.844455]  kunit_try_run_case+0x1a5/0x480
[   19.844764]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.845170]  kthread+0x337/0x6f0
[   19.845438]  ret_from_fork+0x116/0x1d0
[   19.845628]  ret_from_fork_asm+0x1a/0x30
[   19.845880] 
[   19.846090] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.846599] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.846835] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.847300] ==================================================================
[   19.733259] ==================================================================
[   19.733747] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   19.733747] 
[   19.734168] Use-after-free read at 0x(____ptrval____) (in kfence-#90):
[   19.734470]  test_use_after_free_read+0x129/0x270
[   19.734791]  kunit_try_run_case+0x1a5/0x480
[   19.735923]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.736218]  kthread+0x337/0x6f0
[   19.736371]  ret_from_fork+0x116/0x1d0
[   19.736659]  ret_from_fork_asm+0x1a/0x30
[   19.736892] 
[   19.737051] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.737051] 
[   19.738134] allocated by task 313 on cpu 0 at 19.732991s (0.005138s ago):
[   19.738446]  test_alloc+0x364/0x10f0
[   19.738696]  test_use_after_free_read+0xdc/0x270
[   19.739380]  kunit_try_run_case+0x1a5/0x480
[   19.739599]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.739794]  kthread+0x337/0x6f0
[   19.740222]  ret_from_fork+0x116/0x1d0
[   19.740386]  ret_from_fork_asm+0x1a/0x30
[   19.740805] 
[   19.740922] freed by task 313 on cpu 0 at 19.733111s (0.007806s ago):
[   19.741605]  test_use_after_free_read+0x1e7/0x270
[   19.741824]  kunit_try_run_case+0x1a5/0x480
[   19.741978]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.742431]  kthread+0x337/0x6f0
[   19.742910]  ret_from_fork+0x116/0x1d0
[   19.743365]  ret_from_fork_asm+0x1a/0x30
[   19.743532] 
[   19.743695] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.744113] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.744299] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.744657] ==================================================================

[   20.011285] ==================================================================
[   20.011684] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   20.011684] 
[   20.012162] Use-after-free read at 0x(____ptrval____) (in kfence-#77):
[   20.012884]  test_use_after_free_read+0x129/0x270
[   20.013221]  kunit_try_run_case+0x1a5/0x480
[   20.013613]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.013989]  kthread+0x337/0x6f0
[   20.014172]  ret_from_fork+0x116/0x1d0
[   20.014366]  ret_from_fork_asm+0x1a/0x30
[   20.014568] 
[   20.014664] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.014664] 
[   20.015366] allocated by task 314 on cpu 0 at 20.011153s (0.004211s ago):
[   20.015835]  test_alloc+0x2a6/0x10f0
[   20.016128]  test_use_after_free_read+0xdc/0x270
[   20.016443]  kunit_try_run_case+0x1a5/0x480
[   20.016655]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.017098]  kthread+0x337/0x6f0
[   20.017258]  ret_from_fork+0x116/0x1d0
[   20.017618]  ret_from_fork_asm+0x1a/0x30
[   20.017858] 
[   20.017961] freed by task 314 on cpu 0 at 20.011203s (0.006756s ago):
[   20.018502]  test_use_after_free_read+0xfb/0x270
[   20.018734]  kunit_try_run_case+0x1a5/0x480
[   20.019130]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.019487]  kthread+0x337/0x6f0
[   20.019672]  ret_from_fork+0x116/0x1d0
[   20.020058]  ret_from_fork_asm+0x1a/0x30
[   20.020353] 
[   20.020510] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.021178] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.021405] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.022003] ==================================================================
[   19.907268] ==================================================================
[   19.907700] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   19.907700] 
[   19.908165] Use-after-free read at 0x(____ptrval____) (in kfence-#76):
[   19.908437]  test_use_after_free_read+0x129/0x270
[   19.908666]  kunit_try_run_case+0x1a5/0x480
[   19.908908]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.909186]  kthread+0x337/0x6f0
[   19.909374]  ret_from_fork+0x116/0x1d0
[   19.909529]  ret_from_fork_asm+0x1a/0x30
[   19.909744] 
[   19.909852] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.909852] 
[   19.910262] allocated by task 312 on cpu 1 at 19.907057s (0.003203s ago):
[   19.910577]  test_alloc+0x364/0x10f0
[   19.910717]  test_use_after_free_read+0xdc/0x270
[   19.911097]  kunit_try_run_case+0x1a5/0x480
[   19.911287]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.911546]  kthread+0x337/0x6f0
[   19.911693]  ret_from_fork+0x116/0x1d0
[   19.911854]  ret_from_fork_asm+0x1a/0x30
[   19.912094] 
[   19.912320] freed by task 312 on cpu 1 at 19.907118s (0.005118s ago):
[   19.912685]  test_use_after_free_read+0x1e7/0x270
[   19.912921]  kunit_try_run_case+0x1a5/0x480
[   19.913199]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.913471]  kthread+0x337/0x6f0
[   19.913606]  ret_from_fork+0x116/0x1d0
[   19.913754]  ret_from_fork_asm+0x1a/0x30
[   19.913972] 
[   19.914111] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.914545] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.914778] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.915207] ==================================================================

[   82.010355] ==================================================================
[   82.017608] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   82.017608] 
[   82.026830] Use-after-free read at 0x00000000ed776a4e (in kfence-#180):
[   82.033443]  test_use_after_free_read+0x129/0x270
[   82.038159]  kunit_try_run_case+0x1a2/0x480
[   82.042352]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.047750]  kthread+0x334/0x6f0
[   82.050983]  ret_from_fork+0x113/0x1d0
[   82.054738]  ret_from_fork_asm+0x1a/0x30
[   82.058670] 
[   82.060172] kfence-#180: 0x00000000ed776a4e-0x000000002d024017, size=32, cache=test
[   82.060172] 
[   82.069305] allocated by task 338 on cpu 0 at 82.010349s (0.058954s ago):
[   82.076092]  test_alloc+0x2a6/0x10f0
[   82.079671]  test_use_after_free_read+0xdc/0x270
[   82.084289]  kunit_try_run_case+0x1a2/0x480
[   82.088475]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.093876]  kthread+0x334/0x6f0
[   82.097109]  ret_from_fork+0x113/0x1d0
[   82.100861]  ret_from_fork_asm+0x1a/0x30
[   82.104786] 
[   82.106287] freed by task 338 on cpu 0 at 82.010351s (0.095935s ago):
[   82.112736]  test_use_after_free_read+0xfb/0x270
[   82.117363]  kunit_try_run_case+0x1a2/0x480
[   82.121558]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.126964]  kthread+0x334/0x6f0
[   82.130196]  ret_from_fork+0x113/0x1d0
[   82.133950]  ret_from_fork_asm+0x1a/0x30
[   82.137876] 
[   82.139376] CPU: 0 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   82.150254] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   82.156267] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   82.163659] ==================================================================
[   81.746355] ==================================================================
[   81.753607] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270
[   81.753607] 
[   81.762836] Use-after-free read at 0x000000008a4c0fd5 (in kfence-#178):
[   81.769448]  test_use_after_free_read+0x129/0x270
[   81.774154]  kunit_try_run_case+0x1a2/0x480
[   81.778340]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   81.783739]  kthread+0x334/0x6f0
[   81.786972]  ret_from_fork+0x113/0x1d0
[   81.790726]  ret_from_fork_asm+0x1a/0x30
[   81.794652] 
[   81.796151] kfence-#178: 0x000000008a4c0fd5-0x00000000935a1876, size=32, cache=kmalloc-32
[   81.796151] 
[   81.805805] allocated by task 336 on cpu 2 at 81.746349s (0.059455s ago):
[   81.812602]  test_alloc+0x364/0x10f0
[   81.816188]  test_use_after_free_read+0xdc/0x270
[   81.820807]  kunit_try_run_case+0x1a2/0x480
[   81.824993]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   81.830394]  kthread+0x334/0x6f0
[   81.833633]  ret_from_fork+0x113/0x1d0
[   81.837387]  ret_from_fork_asm+0x1a/0x30
[   81.841320] 
[   81.842821] freed by task 336 on cpu 2 at 81.746352s (0.096469s ago):
[   81.849261]  test_use_after_free_read+0x1e7/0x270
[   81.853973]  kunit_try_run_case+0x1a2/0x480
[   81.858160]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   81.863558]  kthread+0x334/0x6f0
[   81.866794]  ret_from_fork+0x113/0x1d0
[   81.870546]  ret_from_fork_asm+0x1a/0x30
[   81.874479] 
[   81.875979] CPU: 2 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   81.886859] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   81.892869] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   81.900262] ==================================================================