# CVE-2024-49965: ocfs2: remove unreasonable unlock in ocfs2\_read\_blocks

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-49965, DEBIAN-CVE-2024-49965
- Record: https://cvemate.com/vulnerability/CVE-2024-49965 · JSON: https://cvemate.com/vulnerability/CVE-2024-49965/json

## Description

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

ocfs2: remove unreasonable unlock in ocfs2_read_blocks

Patch series "Misc fixes for ocfs2_read_blocks", v5.

This series contains 2 fixes for ocfs2_read_blocks().  The first patch fix
the issue reported by syzbot, which detects bad unlock balance in
ocfs2_read_blocks().  The second patch fixes an issue reported by Heming
Zhao when reviewing above fix.


This patch (of 2):

There was a lock release before exiting, so remove the unreasonable unlock.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.196%, percentile 9.764%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-208.228 \| \< 5.15.0-127.137 \| \< 6.8.0-54.56
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1140.150 \| \< 5.15.0-1073.79 \| \< 6.8.0-1023.25
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1073.79~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1023.25~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1073.79+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1078.87 \| \< 6.8.0-1025.30
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 49)

- <https://git.kernel.org/stable/c/5245f109b4afb6595360d4c180d483a6d2009a59>
- <https://git.kernel.org/stable/c/9753bcb17b36c9add9b32c61766ddf8d2d161911>
- <https://git.kernel.org/stable/c/3f1ca6ba5452d53c598a45d21267a2c0c221eef3>
- <https://git.kernel.org/stable/c/f55a33fe0fb5274ef185fd61947cf142138958af>
- <https://git.kernel.org/stable/c/81aba693b129e82e11bb54f569504d943d018de9>
- <https://git.kernel.org/stable/c/84543da867c967edffd5065fa910ebf56aaae49d>
- <https://git.kernel.org/stable/c/df4f20fc3673cee11abf2c571987a95733cb638d>
- <https://git.kernel.org/stable/c/39a88623af3f1c686bf6db1e677ed865ffe6fccc>
- <https://git.kernel.org/stable/c/c03a82b4a0c935774afa01fd6d128b444fd930a1>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-49965>
- <https://www.cve.org/CVERecord?id=CVE-2024-49965>
- <https://git.kernel.org/linus/c03a82b4a0c935774afa01fd6d128b444fd930a1>
- <https://ubuntu.com/security/notices/USN-7166-1>
- <https://ubuntu.com/security/notices/USN-7166-2>
- <https://ubuntu.com/security/notices/USN-7166-3>
- <https://ubuntu.com/security/notices/USN-7186-1>
- <https://ubuntu.com/security/notices/USN-7186-2>
- <https://ubuntu.com/security/notices/USN-7194-1>

---

Data as of 2026-12-05T04:22:28.353Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
