Skip to content
Medium 5.5

Use-After-Free in Kernel

CVE-2025-39721 First seen on SecPulse

Summary

Vulnerability in Kernel (CVE-2025-39721). Risk of unauthorized operations or information disclosure. Exploitable via qat_misc_wq. Mitigation: upgrade to 6.1.162, 6.6.103, 6.12.44, 6.16.4 or later.

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2025-39721 has been found in Kernel.
Attackers can target a specific entry point like qat_misc_wq over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.5/10.
What to do: upgrade Kernel to 6.1.162, 6.6.103, 6.12.44, 6.16.4 or later.
If unsure, ask your IT team or search "Kernel CVE-2025-39721" on the vendor's site.

CVE-2025-39721 (Kernel) — CWE-416 / CVSS v3 5.5
Attack vector: local / no user interaction
Attack surface: qat_misc_wq
Patched: 6.1.162, 6.6.103, 6.12.44, 6.16.4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Use-after-free (CWE-416) exists in Kernel. Attackers reach the vulnerable code path via qat_misc_wq.

Affected scope

Check the vendor advisory for the affected versions of Kernel. Attack surface: qat_misc_wq.

Severity

Severity: Medium (CVSS 5.5/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 6.1.162, 6.6.103, 6.12.44, 6.16.4.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'Kernel' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Kernel を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade Kernel to 6.1.162, 6.6.103, 6.12.44, 6.16.4

    ステージング環境で 6.1.162, 6.6.103, 6.12.44, 6.16.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 5.18.0, < 6.1.162→ 6.1.162
≥ 6.2.0, < 6.6.103→ 6.6.103
≥ 6.7.0, < 6.12.44→ 6.12.44
≥ 6.13.0, < 6.16.4→ 6.16.4
LinuxLinux —

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

crypto: qat - flush misc workqueue during device shutdown

Repeated loading and unloading of a device specific QAT driver, for
example qat_4xxx, in a tight loop can lead to a crash due to a
use-after-free scenario. This occurs when a power management (PM)
interrupt triggers just before the device-specific driver (e.g.,
qat_4xxx.ko) is unloaded, while the core driver (intel_qat.ko) remains
loaded.

Since the driver uses a shared workqueue (qat_misc_wq) across all
devices and owned by intel_qat.ko, a deferred routine from the
device-specific driver may still be pending in the queue. If this
routine executes after the driver is unloaded, it can dereference freed
memory, resulting in a page fault and kernel crash like the following:

BUG: unable to handle page fault for address: ffa000002e50a01c
#PF: supervisor read access in kernel mode
RIP: 0010:pm_bh_handler+0x1d2/0x250 [intel_qat]
Call Trace:
  pm_bh_handler+0x1d2/0x250 [intel_qat]
  process_one_work+0x171/0x340
  worker_thread+0x277/0x3a0
  kthread+0xf0/0x120
  ret_from_fork+0x2d/0x50

To prevent this, flush the misc workqueue during device shutdown to
ensure that all pending work items are completed before the driver is
unloaded.

Note: This approach may slightly increase shutdown latency if the
workqueue contains jobs from other devices, but it ensures correctness
and stability.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details