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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-01T13:05:09.224Z
- Modified: 2026-08-05T11:29:24.931Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

---

(As written by CVE List.)

## Affected

- Linux Linux: from 609e28bb139e53621521130f0d4aea27a725d465 before d0ee2a8adb6673382cce8a4280e1ca0849b3b783; from 609e28bb139e53621521130f0d4aea27a725d465 before db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e; from 609e28bb139e53621521130f0d4aea27a725d465 before 4cdf9006fc095af71da80e9b5f48a32e991b9ed3; from 609e28bb139e53621521130f0d4aea27a725d465 before cb9e802e49c24eeb3af35e9e8c04d526f35f112a; from 609e28bb139e53621521130f0d4aea27a725d465 before 340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6; from 609e28bb139e53621521130f0d4aea27a725d465 before a43e0fc5e9134a46515de2f2f8d4100b74e50de3; 5.8 (not affected: before 5.8; from 5.15.209 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.8 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d0ee2a8adb6673382cce8a4280e1ca0849b3b783>
- <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> (patch)

## Sources

- CVE List: [CVE-2024-27389](https://www.cve.org/CVERecord?id=CVE-2024-27389), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-27389](https://nvd.nist.gov/vuln/detail/CVE-2024-27389), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-27389 · Whole record: https://cve.day/CVE-2024-27389.json · Rebuilt by cve.day 2026-11-25T22:58:39.814Z
