CVE-2024-42104
kernel: nilfs2: add missing check for inode numbers on directory entries
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 30, 2024
Updated · August 5, 2026
Description
A vulnerability was found in the Linux kernel in the nilfs2 filesystem where a lack of proper sanity checks can cause a use-after-free of the metadata file inodes, caused when the link count of a metadata file gets corrupted to 0 and the system attempts to delete that inode. This vulnerability can lead to memory corruption or crashes.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free