{"id":"CVE-2024-27389","summary":"pstore: inode: Only d_invalidate() is needed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npstore: inode: Only d_invalidate() is needed\n\nUnloading a modular pstore backend with records in pstorefs would\ntrigger the dput() double-drop warning:\n\n  WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410\n\nUsing the combo of d_drop()/dput() (as mentioned in\nDocumentation/filesystems/vfs.rst) isn't the right approach here, and\nleads to the reference counting problem seen above. Use d_invalidate()\nand update the code to not bother checking for error codes that can\nnever happen.\n\n---","modified":"2026-04-02T10:07:57.080296Z","published":"2024-05-01T13:05:09.224Z","related":["SUSE-SU-2024:1641-1","SUSE-SU-2024:1644-1","SUSE-SU-2024:1647-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27389.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cdf9006fc095af71da80e9b5f48a32e991b9ed3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a43e0fc5e9134a46515de2f2f8d4100b74e50de3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb9e802e49c24eeb3af35e9e8c04d526f35f112a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27389.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27389"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"609e28bb139e53621521130f0d4aea27a725d465"},{"fixed":"db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e"},{"fixed":"4cdf9006fc095af71da80e9b5f48a32e991b9ed3"},{"fixed":"cb9e802e49c24eeb3af35e9e8c04d526f35f112a"},{"fixed":"340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6"},{"fixed":"a43e0fc5e9134a46515de2f2f8d4100b74e50de3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27389.json"}}],"schema_version":"1.7.5"}