CVE-2024-56619: Linux kernel · nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel source by correcting the variable type in nilfs_last_byte(). Users and administrators should apply the official kernel updates that include this fix. Since this is a kernel-level vulnerability, patching the kernel is the recommended and effective mitigation. No alternative mitigations are indicated.
Description
CVE-2024-56619 is a high-severity vulnerability in the Linux kernel's nilfs2 filesystem code. It involves a potential out-of-bounds memory access in the nilfs_find_entry() function caused by improper handling of a 64-bit inode size value. This flaw can lead to memory corruption or use-after-free conditions when the inode's i_size is corrupted with a large value. The issue arises from a local variable using an unsigned int type that truncates the 64-bit size, causing incorrect offset calculations. The vulnerability has been fixed by changing the variable type to u64 to preserve the full size value.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56619 (opens in a new tab)
- git.kernel.org/stable/c/09d6d05579fd46e61abf6e457bb100ff11f3a9d3 (opens in a new tab)
- git.kernel.org/stable/c/31f7b57a77d4c82a34ddcb6ff35b5aa577ef153e (opens in a new tab)
- git.kernel.org/stable/c/48eb6e7404948032bbe811c5affbe39f6b316951 (opens in a new tab)
- git.kernel.org/stable/c/5af8366625182f01f6d8465c9a3210574673af57 (opens in a new tab)
- git.kernel.org/stable/c/985ebec4ab0a28bb5910c3b1481a40fbf7f9e61d (opens in a new tab)
- git.kernel.org/stable/c/c3afea07477baccdbdec4483f8d5e59d42a3f67f (opens in a new tab)
- git.kernel.org/stable/c/e3732102a9d638d8627d14fdf7b208462f0520e0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)