CVE-2025-40194

cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request()

No CVSS score yet EPSS 0.21%

Published 12 Nov 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-40194

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40194 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request()

The cpufreq_cpu_put() call in update_qos_request() takes place too early because the latter subsequently calls freq_qos_update_request() that indirectly accesses the policy object in question through the QoS request object passed to it.

Fortunately, update_qos_request() is called under intel_pstate_driver_lock, so this issue does not matter for changing the intel_pstate operation mode, but it theoretically can cause a crash to occur on CPU device hot removal (which currently can only happen in virt, but it is formally supported nevertheless).

Address this issue by modifying update_qos_request() to drop the reference to the policy later.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before 15ac9579ebdaf22a37d7f60b3a8efc1029732ef9
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before bc26564bcc659beb6d977cd6eb394041ec2f2851
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before ad4e8f9bdbef11a19b7cb93e7f313bf59bdcc3b4
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before 0a58d3e77b22b087a57831c87cafd360e144a5bd
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before 69a18ff6c60e8e113420f15355fad862cb45d38e
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before ba63d4e9857a72a89e71a4eff9f2cc8c283e94c3
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before 57e4a6aadf12578b96a038373cffd54b3a58b092
affected from da5c504c7aae96db68c4b38e2564a88e91842d89, before 69e5d50fcf4093fb3f9f41c4f931f12c2ca8c467
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 5.4.301 up to and including 5.4.*
unaffected from 5.10.246 up to and including 5.10.*
unaffected from 5.15.195 up to and including 5.15.*
unaffected from 6.1.157 up to and including 6.1.*
unaffected from 6.6.113 up to and including 6.6.*
unaffected from 6.12.54 up to and including 6.12.*
unaffected from 6.17.4 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40194 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40194

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40194
trivy image --scanners vuln IMAGE | grep CVE-2025-40194

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40194 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.