CVE-2024-27389: pstore: inode: Only d_invalidate() is needed

Published May 1, 2024
·
Updated

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

pstore: inode: Only dinvalidate() is needed

The Linux kernel CVE team has assigned CVE-2024-27389 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024050135-CVE-2024-27389-fb3a@gregkh/T

Other sources

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

pstore: inode: Only dinvalidate() 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 ddrop()/dput() (as mentioned in Documentation/filesystems/vfs.rst) isn't the right approach here, and leads to the reference counting problem seen above. Use dinvalidate() and update the code to not bother checking for error codes that can never happen.

---

NVD

Affected Software

11 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<6.1.83
6.1.83
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
Linux Linux kernel>=5.8<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.83
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.23
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.11
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.2
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-27389
  8. Configuration

    Update the Linux kernel pstore inode code to use d_invalidate() instead of the d_drop()/dput combo to avoid the dput() double-drop reference-counting problem (per upstream advisory: "Use d_invalidate()").

    Linux kernel pstore inode d_invalidate usage (replace d_drop()/dput combo) = Use d_invalidate()

Event History

May 1, 2024
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityWeaknessAffected Software
Data Sourced
via Red Hat·09:48 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:14 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:17 AM
RemedyDescriptionSeverityAffected Software
Sep 20, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:03 AM
Affected Software
Updated
via Microsoft·01:03 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-27389?

CVE-2024-27389 has a moderate severity rating due to its potential impact on the Linux kernel's functionality.

2

How do I fix CVE-2024-27389?

To fix CVE-2024-27389, update the Linux kernel to versions 6.1.83, 6.6.23, 6.7.11, 6.8.2, 6.9 or applicable Debian versions.

3

Which Linux kernel versions are affected by CVE-2024-27389?

CVE-2024-27389 affects Linux kernel versions prior to 6.1.83 and has specific Debian versions in the range of 5.10.223-1 to 5.10.226-1.

4

Is CVE-2024-27389 related to any specific Linux distributions?

Yes, CVE-2024-27389 is relevant to Red Hat and Debian distributions utilizing the specified kernel versions.

5

What type of vulnerability is CVE-2024-27389?

CVE-2024-27389 is categorized as an issue within the pstore subsystem of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203