CVE-2024-27389

pstore: inode: Only d_invalidate() is needed

7.8 high EPSS 0.24%

Published 1 May 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-27389

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-2024-27389 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:

pstore: inode: Only d_invalidate() is needed

Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning:

WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410

Using the combo of d_drop()/dput() (as mentioned in Documentation/filesystems/vfs.rst) isn't the right approach here, and leads to the reference counting problem seen above. Use d_invalidate() and update the code to not bother checking for error codes that can never happen.

---

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

The assessment of CISA (SSVC, 9 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 609e28bb139e53621521130f0d4aea27a725d465, before d0ee2a8adb6673382cce8a4280e1ca0849b3b783
affected from 609e28bb139e53621521130f0d4aea27a725d465, before db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e
affected from 609e28bb139e53621521130f0d4aea27a725d465, before 4cdf9006fc095af71da80e9b5f48a32e991b9ed3
affected from 609e28bb139e53621521130f0d4aea27a725d465, before cb9e802e49c24eeb3af35e9e8c04d526f35f112a
affected from 609e28bb139e53621521130f0d4aea27a725d465, before 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6
affected from 609e28bb139e53621521130f0d4aea27a725d465, before a43e0fc5e9134a46515de2f2f8d4100b74e50de3
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.83 up to and including 6.1.*
unaffected from 6.6.23 up to and including 6.6.*
unaffected from 6.7.11 up to and including 6.7.*
unaffected from 6.8.2 up to and including 6.8.*
unaffected 6.9 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-2024-27389 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27389

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-2024-27389
trivy image --scanners vuln IMAGE | grep CVE-2024-27389

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-2024-27389 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.