# CVE-2024-41015: ocfs2: add bounds checking to ocfs2_check_dir_entry()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-07-29T06:37:01.651Z
- Modified: 2026-08-05T11:34:41.032Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: add bounds checking to ocfs2_check_dir_entry()

This adds sanity checks for ocfs2_dir_entry to make sure all members of
ocfs2_dir_entry don't stray beyond valid memory region.

(As written by CVE List.)

## Affected

- Linux Linux: from 23193e513d1cd69411469f028d56fd175d4a6b07 before 13d38c00df97289e6fba2e54193959293fd910d2; from 23193e513d1cd69411469f028d56fd175d4a6b07 before 564d23cc5b216211e1694d53f7e45959396874d0; from 23193e513d1cd69411469f028d56fd175d4a6b07 before 77495e5da5cb110a8fed27b052c77853fe282176; from 23193e513d1cd69411469f028d56fd175d4a6b07 before 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7; from 23193e513d1cd69411469f028d56fd175d4a6b07 before fd65685594ee707cbf3ddf22ebb73697786ac114; from 23193e513d1cd69411469f028d56fd175d4a6b07 before e05a24289db90f76ff606086aadd62d068a88dcd; from 23193e513d1cd69411469f028d56fd175d4a6b07 before 624b380074f0dc209fb8706db3295c735079f34c; from 23193e513d1cd69411469f028d56fd175d4a6b07 before edb2e67dd4626b06fd7eb37252d5067912e78d59; from 23193e513d1cd69411469f028d56fd175d4a6b07 before 255547c6bb8940a97eea94ef9d464ea5967763fb; 2.6.24 (not affected: before 2.6.24; from 4.19.319 up to 4.19.*; from 5.4.281 up to 5.4.*; from 5.10.223 up to 5.10.*; from 5.15.164 up to 5.15.*; from 6.1.102 up to 6.1.*; from 6.6.43 up to 6.6.*; from 6.9.12 up to 6.9.*; from 6.10.2 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 4.19.319; from 4.20 before 5.4.281; from 5.5 before 5.10.223; from 5.11 before 5.15.164; from 5.16 before 6.1.102; from 6.2 before 6.6.43; from 6.7 before 6.9.12; from 6.10 before 6.10.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/13d38c00df97289e6fba2e54193959293fd910d2> (patch)
- <https://git.kernel.org/stable/c/564d23cc5b216211e1694d53f7e45959396874d0> (patch)
- <https://git.kernel.org/stable/c/77495e5da5cb110a8fed27b052c77853fe282176> (patch)
- <https://git.kernel.org/stable/c/53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7> (patch)
- <https://git.kernel.org/stable/c/fd65685594ee707cbf3ddf22ebb73697786ac114> (patch)
- <https://git.kernel.org/stable/c/e05a24289db90f76ff606086aadd62d068a88dcd> (patch)
- <https://git.kernel.org/stable/c/624b380074f0dc209fb8706db3295c735079f34c> (patch)
- <https://git.kernel.org/stable/c/edb2e67dd4626b06fd7eb37252d5067912e78d59> (patch)
- <https://git.kernel.org/stable/c/255547c6bb8940a97eea94ef9d464ea5967763fb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-41015](https://www.cve.org/CVERecord?id=CVE-2024-41015), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-41015](https://nvd.nist.gov/vuln/detail/CVE-2024-41015), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-41015 · Whole record: https://cve.day/CVE-2024-41015.json · Rebuilt by cve.day 2026-11-25T22:58:43.274Z
