# CVE-2024-41015: ocfs2: add bounds checking to ocfs2\_check\_dir\_entry()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **Published:** 2024-07-29T06:37:01.651Z
- **Modified:** 2026-08-05T11:34:41.032Z

## Who should check

- Anyone running Linux \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 13d38c00df97289e6fba2e54193959293fd910d2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 564d23cc5b216211e1694d53f7e45959396874d0; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77495e5da5cb110a8fed27b052c77853fe282176; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< fd65685594ee707cbf3ddf22ebb73697786ac114; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< e05a24289db90f76ff606086aadd62d068a88dcd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 624b380074f0dc209fb8706db3295c735079f34c; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< edb2e67dd4626b06fd7eb37252d5067912e78d59; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 255547c6bb8940a97eea94ef9d464ea5967763fb
- Anyone running Linux 2.6.24

## 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.

## Affected and fixed versions

- Linux: \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 13d38c00df97289e6fba2e54193959293fd910d2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 564d23cc5b216211e1694d53f7e45959396874d0; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77495e5da5cb110a8fed27b052c77853fe282176; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< fd65685594ee707cbf3ddf22ebb73697786ac114; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< e05a24289db90f76ff606086aadd62d068a88dcd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 624b380074f0dc209fb8706db3295c735079f34c; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< edb2e67dd4626b06fd7eb37252d5067912e78d59; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 255547c6bb8940a97eea94ef9d464ea5967763fb (cvelist)
- Linux: 2.6.24 (cvelist)

## Mitigation

- Upgrade Linux to 255547c6bb8940a97eea94ef9d464ea5967763fb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41015. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41015.md
Affected: Linux >= 23193e513d1cd69411469f028d56fd175d4a6b07, < 13d38c00df97289e6fba2e54193959293fd910d2; >= 23193e513d1cd69411469f028d56fd175d4a6b07, < 564d23cc5b216211e1694d53f7e45959396874d0; >= 23193e513d1cd69411469f028d56fd175d4a6b07, < 77495e5da5cb110a8fed27b052c77853fe282176; >= 23193e513d1cd69411469f0…
Fixed in: Linux 13d38c00df97289e6fba2e54193959293fd910d2, Linux 564d23cc5b216211e1694d53f7e45959396874d0, Linux 77495e5da5cb110a8fed27b052c77853fe282176, Linux 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7, Linux 624b380074f0dc209fb8706db3295c735079f34c, Linux 255547c6bb8940a97eea94ef9d464ea5967763fb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41015 being exploited?

There is no confirmed exploitation: CVE-2024-41015 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-41015?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-41015?

Linux \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 13d38c00df97289e6fba2e54193959293fd910d2; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 564d23cc5b216211e1694d53f7e45959396874d0; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 77495e5da5cb110a8fed27b052c77853fe282176; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< fd65685594ee707cbf3ddf22ebb73697786ac114; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< e05a24289db90f76ff606086aadd62d068a88dcd; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 624b380074f0dc209fb8706db3295c735079f34c; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< edb2e67dd4626b06fd7eb37252d5067912e78d59; \>= 23193e513d1cd69411469f028d56fd175d4a6b07, \< 255547c6bb8940a97eea94ef9d464ea5967763fb; Linux 2.6.24.

### Is there a fix for CVE-2024-41015?

Yes. Fixed in Linux 13d38c00df97289e6fba2e54193959293fd910d2, Linux 564d23cc5b216211e1694d53f7e45959396874d0, Linux 77495e5da5cb110a8fed27b052c77853fe282176, Linux 53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7, Linux 624b380074f0dc209fb8706db3295c735079f34c, Linux 255547c6bb8940a97eea94ef9d464ea5967763fb. Upgrade Linux to 255547c6bb8940a97eea94ef9d464ea5967763fb or later.

### How do I check if I'm affected by CVE-2024-41015?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41015>

HTML: <https://flawdb.com/CVE-2024-41015> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41015>
