Kernel compromise or crash via snaprealm double release
Published May 1, 2025 · Updated Aug 15, 2026
Use-after-free in the CephFS snapshot decoder in affected Linux kernels allows remote attackers to compromise or crash the client kernel. In ceph_update_snap_trace(), a later snap-record decode failure can leave first_realm and realm referencing one object, causing the error path to release that snaprealm twice while other references remain. Exploitation requires an already-mounted CephFS and a malicious, compromised, or on-path MDS able to send a crafted multi-realm snap trace; consequences include heap corruption, a kernel panic, or a hang requiring reboot.
Summary
What happened
Use-after-free in the CephFS snapshot decoder in affected Linux kernels allows remote attackers to compromise or crash the client kernel. In ceph_update_snap_trace(), a later snap-record decode failure can leave first_realm and realm referencing one object, causing the error path to release that snaprealm twice while other references remain. Exploitation requires an already-mounted CephFS and a malicious, compromised, or on-path MDS able to send a crafted multi-realm snap trace; consequences include heap corruption, a kernel panic, or a hang requiring reboot.
The record
- CVE
- CVE-2022-49770
- Published
- May 1, 2025
- Updated
- Aug 15, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- Aug 15, 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=4.0
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <044bc6d3c2c0e9090b0841e7b723875756534b45
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <274e4c79a3a2a24fba7cfe0e41113f1138785c37
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <2f6e2de3a5289004650118b61f138fe7c28e1905
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <51884d153f7ec85e18d607b2467820a90e0f4359
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <cb7495fe957526555782ce0723f79ce92a6db22e
- Affected versionversion=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <fd879c83e87735ab8f00ef7755752cf0cbae24b2
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
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