Kernel crash via premature OCFS2 lock release
Published Oct 21, 2024 · Updated Aug 5, 2026
Improper locking in the OCFS2 block-read path in Linux allows local users to crash the kernel through operations on a mounted OCFS2 volume. When sb_getblk() fails in ocfs2_read_blocks(), the allocation-error branch releases the metadata-cache I/O lock before the shared exit path releases it again. Reaching the fault requires local access and a mounted OCFS2 filesystem; the resulting bad unlock balance can interrupt the host.
Summary
What happened
Improper locking in the OCFS2 block-read path in Linux allows local users to crash the kernel through operations on a mounted OCFS2 volume. When sb_getblk() fails in ocfs2_read_blocks(), the allocation-error branch releases the metadata-cache I/O lock before the shared exit path releases it again. Reaching the fault requires local access and a mounted OCFS2 filesystem; the resulting bad unlock balance can interrupt the host.
The record
- CVE
- CVE-2024-49965
- Published
- Oct 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56
- Affected versionversion=4.14.157 <4.15
- Affected versionversion=4.19.87 <4.19.323
- Affected versionversion=4.20
- Affected versionversion=4.4.204 <4.5
- Affected versionversion=4.9.204 <4.10
- Affected versionversion=65cbd1279f4b999d56a838344a30642db24cd215
- Affected versionversion=6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc <5245f109b4afb6595360d4c180d483a6d2009a59
- Affected versionversion=97e1db17bc1ef4c2e1789bc9323c7be44fba53f8
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <39a88623af3f1c686bf6db1e677ed865ffe6fccc
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <3f1ca6ba5452d53c598a45d21267a2c0c221eef3
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <81aba693b129e82e11bb54f569504d943d018de9
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <84543da867c967edffd5065fa910ebf56aaae49d
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <9753bcb17b36c9add9b32c61766ddf8d2d161911
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <c03a82b4a0c935774afa01fd6d128b444fd930a1
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <df4f20fc3673cee11abf2c571987a95733cb638d
- Affected versionversion=cf76c78595ca87548ca5e45c862ac9e0949c4687 <f55a33fe0fb5274ef185fd61947cf142138958af
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot C reproducer for bad unlock balanceproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo