Kernel compromise via cgroup migration use-after-free
Published Feb 26, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel cgroup migration allows local users to crash or compromise the kernel through crafted cgroupfs writes. The cgroup migration code reuses mg_preload_node for source and destination lists, so an identity move can drop the destination css_set reference and free it during migration. Write access to a delegated cgroup subtree and a multithreaded migration mixing identity and cross-cgroup moves are required.
Summary
What happened
Use-after-free in Linux kernel cgroup migration allows local users to crash or compromise the kernel through crafted cgroupfs writes. The cgroup migration code reuses mg_preload_node for source and destination lists, so an identity move can drop the destination css_set reference and free it during migration. Write access to a delegated cgroup subtree and a multithreaded migration mixing identity and cross-cgroup moves are required.
The record
- CVE
- CVE-2022-49647
- 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=3.16
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <05f7658210d1d331e8dd4cb6e7bbbe3df5f5ac27
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <07fd5b6cdf3cc30bfde8fe0f644771688be04447
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <0e41774b564befa6d271e8d5086bf870d617a4e6
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <54aee4e5ce8c21555286a6333e46c1713880cf93
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <7657e3958535d101a24ab4400f9b8062b9107cc4
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <ad44e05f3e016bdcb1ad25af35ade5b5f41ccd68
- Affected versionversion=f817de98513d060023be4fa1d061b29a6515273e <cec2bbdcc14fbaa6b95ee15a7c423b05d97038be
What conditions does exploitation require?
What is affected?
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