# CVE-2024-53155: ocfs2: fix uninitialized value in ocfs2\_file\_read\_iter()

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; 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.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-12-24T11:28:54.241Z
- **Modified:** 2026-06-17T08:08:26.350Z

## Who should check

- Anyone running Linux \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< f4078ef38d3163e6be47403a619558b19c4bfccd; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8c966150d5abff58c3c2bdb9a6e63fd773782905; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 83f8713a0ef1d55d6a287bcfadcaab8245ac5098; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8e0de82ed18ba0e71f817adbd81317fd1032ca5a; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 366c933c2ab34dd6551acc03b4872726b7605143; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< dc78efe556fed162d48736ef24066f42e463e27c; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< adc77b19f62d7e80f98400b2fca9d700d2afdd6f
- Anyone running Linux 2.6.22

## Description

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

ocfs2: fix uninitialized value in ocfs2\_file\_read\_iter()

Syzbot has reported the following KMSAN splat:

BUG: KMSAN: uninit-value in ocfs2\_file\_read\_iter+0x9a4/0xf80
 ocfs2\_file\_read\_iter+0x9a4/0xf80
 \_\_io\_read+0x8d4/0x20f0
 io\_read+0x3e/0xf0
 io\_issue\_sqe+0x42b/0x22c0
 io\_wq\_submit\_work+0xaf9/0xdc0
 io\_worker\_handle\_work+0xd13/0x2110
 io\_wq\_worker+0x447/0x1410
 ret\_from\_fork+0x6f/0x90
 ret\_from\_fork\_asm+0x1a/0x30

Uninit was created at:
 \_\_alloc\_pages\_noprof+0x9a7/0xe00
 alloc\_pages\_mpol\_noprof+0x299/0x990
 alloc\_pages\_noprof+0x1bf/0x1e0
 allocate\_slab+0x33a/0x1250
 \_\_\_slab\_alloc+0x12ef/0x35e0
 kmem\_cache\_alloc\_bulk\_noprof+0x486/0x1330
 \_\_io\_alloc\_req\_refill+0x84/0x560
 io\_submit\_sqes+0x172f/0x2f30
 \_\_se\_sys\_io\_uring\_enter+0x406/0x41c0
 \_\_x64\_sys\_io\_uring\_enter+0x11f/0x1a0
 x64\_sys\_call+0x2b54/0x3ba0
 do\_syscall\_64+0xcd/0x1e0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Since an instance of 'struct kiocb' may be passed from the block layer
with 'private' field uninitialized, introduce 'ocfs2\_iocb\_init\_rw\_locked()'
and use it from where 'ocfs2\_dio\_end\_io()' might take care, i.e. in
'ocfs2\_file\_read\_iter()' and 'ocfs2\_file\_write\_iter()'.

## Affected and fixed versions

- Linux: \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< f4078ef38d3163e6be47403a619558b19c4bfccd; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8c966150d5abff58c3c2bdb9a6e63fd773782905; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 83f8713a0ef1d55d6a287bcfadcaab8245ac5098; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8e0de82ed18ba0e71f817adbd81317fd1032ca5a; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 366c933c2ab34dd6551acc03b4872726b7605143; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< dc78efe556fed162d48736ef24066f42e463e27c; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< adc77b19f62d7e80f98400b2fca9d700d2afdd6f (cvelist)
- Linux: 2.6.22 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53155.md
Affected: Linux >= 7cdfc3a1c3971c9125c317cb8c2525745851798e, < 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab; >= 7cdfc3a1c3971c9125c317cb8c2525745851798e, < f4078ef38d3163e6be47403a619558b19c4bfccd; >= 7cdfc3a1c3971c9125c317cb8c2525745851798e, < 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f; >= 7cdfc3a1c3971c9125c317c…
Fixed in: Linux 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab, Linux 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f, Linux 8c966150d5abff58c3c2bdb9a6e63fd773782905, Linux 83f8713a0ef1d55d6a287bcfadcaab8245ac5098, Linux 8e0de82ed18ba0e71f817adbd81317fd1032ca5a, Linux 366c933c2ab34dd6551acc03b4872726b7605143

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-53155 being exploited?

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

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

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

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

Linux \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< f4078ef38d3163e6be47403a619558b19c4bfccd; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8c966150d5abff58c3c2bdb9a6e63fd773782905; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 83f8713a0ef1d55d6a287bcfadcaab8245ac5098; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 8e0de82ed18ba0e71f817adbd81317fd1032ca5a; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< 366c933c2ab34dd6551acc03b4872726b7605143; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< dc78efe556fed162d48736ef24066f42e463e27c; \>= 7cdfc3a1c3971c9125c317cb8c2525745851798e, \< adc77b19f62d7e80f98400b2fca9d700d2afdd6f; Linux 2.6.22.

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

Yes. Fixed in Linux 6c8f8d1e595dabd5389817f6d798cc8bd95c40ab, Linux 66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f, Linux 8c966150d5abff58c3c2bdb9a6e63fd773782905, Linux 83f8713a0ef1d55d6a287bcfadcaab8245ac5098, Linux 8e0de82ed18ba0e71f817adbd81317fd1032ca5a, Linux 366c933c2ab34dd6551acc03b4872726b7605143. No fix listed yet: follow the vendor advisory.

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

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/6c8f8d1e595dabd5389817f6d798cc8bd95c40ab>
- patch: <https://git.kernel.org/stable/c/f4078ef38d3163e6be47403a619558b19c4bfccd>
- patch: <https://git.kernel.org/stable/c/66b7ddd1804e2c4216dd7ead8eeb746cdbb3b62f>
- patch: <https://git.kernel.org/stable/c/8c966150d5abff58c3c2bdb9a6e63fd773782905>
- patch: <https://git.kernel.org/stable/c/83f8713a0ef1d55d6a287bcfadcaab8245ac5098>
- patch: <https://git.kernel.org/stable/c/8e0de82ed18ba0e71f817adbd81317fd1032ca5a>
- patch: <https://git.kernel.org/stable/c/366c933c2ab34dd6551acc03b4872726b7605143>
- patch: <https://git.kernel.org/stable/c/dc78efe556fed162d48736ef24066f42e463e27c>
- patch: <https://git.kernel.org/stable/c/adc77b19f62d7e80f98400b2fca9d700d2afdd6f>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.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-53155>

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