CVE-2024-27389

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
01/05/2024
Last modified:
18/09/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> pstore: inode: Only d_invalidate() is needed<br /> <br /> Unloading a modular pstore backend with records in pstorefs would<br /> trigger the dput() double-drop warning:<br /> <br /> WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410<br /> <br /> Using the combo of d_drop()/dput() (as mentioned in<br /> Documentation/filesystems/vfs.rst) isn&amp;#39;t the right approach here, and<br /> leads to the reference counting problem seen above. Use d_invalidate()<br /> and update the code to not bother checking for error codes that can<br /> never happen.<br /> <br /> ---

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.8 (including) 6.1.83 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.23 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.8.2 (excluding)