Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39721

MEDIUM 5.5EPSS 9%

crypto: qat - flush misc workqueue during device shutdown

Mitigation

  • Upgrade Linux to 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a or later.

Who should check

  • Anyone running Linux >= e5745f34113b758b45d134dec04a7df94dc67131, < fa4c14a82747886d333d8baef0d26da86ba1ccf7; >= e5745f34113b758b45d134dec04a7df94dc67131, < 5858448a6c65d8ee3f8600570d3ce19febcb33be; >= e5745f34113b758b45d134dec04a7df94dc67131, < fe546f5c50fc474daca6bee72caa7ab68a74c33d; >= e5745f34113b758b45d134dec04a7df94dc67131, < e59a52e429e13df3feb34f4853a8e36d121ed937; >= e5745f34113b758b45d134dec04a7df94dc67131, < 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a
  • Anyone running Linux 5.18

Vulnerability facts

Affected
Linux >= e5745f34113b758b45d134dec04a7df94dc67131, < fa4c14a82747886d333d8baef0d26da86ba1ccf7; >= e5745f34113b758b45d134dec04a7df94dc67131, < 5858448a6c65d8ee3f8600570d3ce19febcb33be; >= e5745f34113b758b45d134dec04a7df94dc67131, < fe546f5c50fc474daca6bee72caa7ab68a74c33d; >= e5745f34113b758b45d134dec04a7df94dc67131, < e59a52e429e13df3feb34f4853a8e36d121ed937; >= e5745f34113b758b45d134dec04a7df94dc67131, < 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a; Linux 5.18
Fixed in
Linux 5858448a6c65d8ee3f8600570d3ce19febcb33be, Linux 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e5745f34113b758b45d134dec04a7df94dc67131, < fa4c14a82747886d333d8baef0d26da86ba1ccf7; >= e5745f34113b758b45d134dec04a7df94dc67131, < 5858448a6c65d8ee3f8600570d3ce19febcb33be; >= e5745f34113b758b45d134dec04a7df94dc67131, < fe546f5c50fc474daca6bee72caa7ab68a74c33d; >= e5745f34113b758b45d134dec04a7df94dc67131, < e59a52e429e13df3feb34f4853a8e36d121ed937; >= e5745f34113b758b45d134dec04a7df94dc67131, < 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a—cvelist
Linux5.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39721. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39721.md
Affected: Linux >= e5745f34113b758b45d134dec04a7df94dc67131, < fa4c14a82747886d333d8baef0d26da86ba1ccf7; >= e5745f34113b758b45d134dec04a7df94dc67131, < 5858448a6c65d8ee3f8600570d3ce19febcb33be; >= e5745f34113b758b45d134dec04a7df94dc67131, < fe546f5c50fc474daca6bee72caa7ab68a74c33d; >= e5745f34113b758b45d134d…
Fixed in: Linux 5858448a6c65d8ee3f8600570d3ce19febcb33be, Linux 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39721 being exploited?

There is no confirmed exploitation: CVE-2025-39721 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39721?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39721?

Linux >= e5745f34113b758b45d134dec04a7df94dc67131, < fa4c14a82747886d333d8baef0d26da86ba1ccf7; >= e5745f34113b758b45d134dec04a7df94dc67131, < 5858448a6c65d8ee3f8600570d3ce19febcb33be; >= e5745f34113b758b45d134dec04a7df94dc67131, < fe546f5c50fc474daca6bee72caa7ab68a74c33d; >= e5745f34113b758b45d134dec04a7df94dc67131, < e59a52e429e13df3feb34f4853a8e36d121ed937; >= e5745f34113b758b45d134dec04a7df94dc67131, < 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a; Linux 5.18.

Is there a fix for CVE-2025-39721?

Yes. Fixed in Linux 5858448a6c65d8ee3f8600570d3ce19febcb33be, Linux 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a. Upgrade Linux to 3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a or later.

How do I check if I'm affected by CVE-2025-39721?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors