# CVE-2024-27389: pstore: inode: Only d\_invalidate() is needed

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2024-05-01T13:05:09.224Z
- **Modified:** 2026-08-05T11:29:24.931Z

## Who should check

- Anyone running Linux \>= 609e28bb139e53621521130f0d4aea27a725d465, \< d0ee2a8adb6673382cce8a4280e1ca0849b3b783; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 4cdf9006fc095af71da80e9b5f48a32e991b9ed3; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< cb9e802e49c24eeb3af35e9e8c04d526f35f112a; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< a43e0fc5e9134a46515de2f2f8d4100b74e50de3
- Anyone running Linux 5.8

## 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.

---

## Affected and fixed versions

- Linux: \>= 609e28bb139e53621521130f0d4aea27a725d465, \< d0ee2a8adb6673382cce8a4280e1ca0849b3b783; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 4cdf9006fc095af71da80e9b5f48a32e991b9ed3; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< cb9e802e49c24eeb3af35e9e8c04d526f35f112a; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< a43e0fc5e9134a46515de2f2f8d4100b74e50de3 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27389. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27389.md
Affected: Linux >= 609e28bb139e53621521130f0d4aea27a725d465, < d0ee2a8adb6673382cce8a4280e1ca0849b3b783; >= 609e28bb139e53621521130f0d4aea27a725d465, < db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e; >= 609e28bb139e53621521130f0d4aea27a725d465, < 4cdf9006fc095af71da80e9b5f48a32e991b9ed3; >= 609e28bb139e53621521130…
Fixed in: Linux 4cdf9006fc095af71da80e9b5f48a32e991b9ed3, Linux 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6

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.
```

## FAQ

### Is CVE-2024-27389 being exploited?

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

### How serious is CVE-2024-27389?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-27389?

Linux \>= 609e28bb139e53621521130f0d4aea27a725d465, \< d0ee2a8adb6673382cce8a4280e1ca0849b3b783; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 4cdf9006fc095af71da80e9b5f48a32e991b9ed3; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< cb9e802e49c24eeb3af35e9e8c04d526f35f112a; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6; \>= 609e28bb139e53621521130f0d4aea27a725d465, \< a43e0fc5e9134a46515de2f2f8d4100b74e50de3; Linux 5.8.

### Is there a fix for CVE-2024-27389?

Yes. Fixed in Linux 4cdf9006fc095af71da80e9b5f48a32e991b9ed3, Linux 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-27389?

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.

## References

- patch: <https://git.kernel.org/stable/c/db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e>
- patch: <https://git.kernel.org/stable/c/4cdf9006fc095af71da80e9b5f48a32e991b9ed3>
- patch: <https://git.kernel.org/stable/c/cb9e802e49c24eeb3af35e9e8c04d526f35f112a>
- patch: <https://git.kernel.org/stable/c/340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6>
- patch: <https://git.kernel.org/stable/c/a43e0fc5e9134a46515de2f2f8d4100b74e50de3>
- other: <https://git.kernel.org/stable/c/d0ee2a8adb6673382cce8a4280e1ca0849b3b783>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27389>

HTML: <https://flawdb.com/CVE-2024-27389> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27389>
