Kernel crash via unterminated OCFS2 cluster strings
Published May 22, 2024 · Updated Aug 5, 2026
Out-of-bounds read in Linux kernel OCFS2 allows local users to crash the kernel by mounting a crafted filesystem image. In ocfs2_initialize_super, strlcpy scans fixed-width, non-null-terminated cluster-stack and cluster-name fields as C strings, reading beyond each source field. The path requires an OCFS2 image using the o2cb or pcmk stack on a CONFIG_FORTIFY_SOURCE build; the demonstrated consequence is a kernel panic.
Summary
What happened
Out-of-bounds read in Linux kernel OCFS2 allows local users to crash the kernel by mounting a crafted filesystem image. In ocfs2_initialize_super, strlcpy scans fixed-width, non-null-terminated cluster-stack and cluster-name fields as C strings, reading beyond each source field. The path requires an OCFS2 image using the o2cb or pcmk stack on a CONFIG_FORTIFY_SOURCE build; the demonstrated consequence is a kernel panic.
The record
- CVE
- CVE-2021-47458
- Published
- May 22, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 22, 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=3.14
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <0e677ea5b7396f715a76b6b0ef441430e4c4b57f
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <232ed9752510de4436468b653d145565669c8498
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <4b74ddcc22ee6455946e80a9c4808801f8f8561e
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <7623b1035ca2d17bde0f6a086ad6844a34648df1
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <93be0eeea14cf39235e585c8f56df3b3859deaad
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <b15fa9224e6e1239414525d8d556d824701849fc
- Affected versionversion=c74a3bdd9b529d924d1abf986079b783dd105ace <d3a83576378b4c904f711598dde2c5e881c4295c
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.
Public exploit references
No public exploit references are available in this record.
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