- Home
- Vulnerabilities
- CVE-2024-27389
CVE-2024-27389
In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is…
Low
26/100
Summary
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 products and versions
Linux (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux kernel | from 5.8 (included) to 6.1.83 (excluded) |
— | NVD |
| Linux kernel | from 6.2 (included) to 6.6.23 (excluded) |
— | NVD |
| Linux kernel | from 6.7 (included) to 6.7.11 (excluded) |
— | NVD |
| Linux kernel | from 6.8 (included) to 6.8.2 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6Patch
- https://git.kernel.org/stable/c/4cdf9006fc095af71da80e9b5f48a32e991b9ed3Patch
- https://git.kernel.org/stable/c/a43e0fc5e9134a46515de2f2f8d4100b74e50de3Patch
- https://git.kernel.org/stable/c/cb9e802e49c24eeb3af35e9e8c04d526f35f112aPatch
- https://git.kernel.org/stable/c/db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4ePatch
- https://git.kernel.org/stable/c/d0ee2a8adb6673382cce8a4280e1ca0849b3b783
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-415 · Corruption mémoire