Kernel memory corruption via freed state-query buffer
Published Feb 26, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel DRBD allows local users to trigger memory corruption through generic-netlink state queries. If genlmsg_put fails, notification code frees the socket buffer but get_initial_state later reads skb->len; four related notification paths repeat the stale-buffer use. Local access and failed message construction are required, and the resulting kernel memory corruption can crash the host.
Summary
What happened
Use-after-free in Linux kernel DRBD allows local users to trigger memory corruption through generic-netlink state queries. If genlmsg_put fails, notification code frees the socket buffer but get_initial_state later reads skb->len; four related notification paths repeat the stale-buffer use. Local access and failed message construction are required, and the resulting kernel memory corruption can crash the host.
The record
- CVE
- CVE-2022-49085
- Published
- Feb 26, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE 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=4.5
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <0489700bfeb1e53eb2039c2291c67e71b0b40103
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <188fe6b26765edbad4055611c0f788b6870f4024
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <226e993c39405292781bfcf4b039a8db56aab362
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <594205b4936771a250f9d141e7e0fff21c3dd2d9
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <a972c768723359ec995579902473028fe3cd64b1
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <aadb22ba2f656581b2f733deb3a467c48cc618f6
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <b6a4055036eed1f5e239ce3d8b0db1ce38bba447
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <dcf6be17b5c53b741898d2223b23e66d682de300
- Affected versionversion=a29728463b254ce81ecefdf20c1a02e01d9361da <de63e74da2333b4068bb79983e632db730fea97e
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