Kernel memory corruption via freed cipher key
Published Feb 26, 2025 · Updated May 11, 2026
Use-after-free in the ccree cipher driver in Linux 4.17 and later affected branches allows local users to corrupt kernel memory. cc_cipher_exit() frees ctx_p->user.key with kfree_sensitive() and then passes the freed key to dev_dbg(), causing the invalid access. Local low-privileged access is required, and the affected ccree driver path must be exercised for the consequence to occur.
Summary
What happened
Use-after-free in the ccree cipher driver in Linux 4.17 and later affected branches allows local users to corrupt kernel memory. cc_cipher_exit() frees ctx_p->user.key with kfree_sensitive() and then passes the freed key to dev_dbg(), causing the invalid access. Local low-privileged access is required, and the affected ccree driver path must be exercised for the consequence to occur.
The record
- CVE
- CVE-2022-49258
- Published
- Feb 26, 2025
- Updated
- May 11, 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.
- May 11, 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.17
- Affected versionversion=63ee04c8b491ee148489347e7da9fbfd982ca2bb <25c358efee5153dfd240d4e0d3169d5bebe9cacd
- Affected versionversion=63ee04c8b491ee148489347e7da9fbfd982ca2bb <335bf1fc74f775a8255257aa3e33763f2257b676
- Affected versionversion=63ee04c8b491ee148489347e7da9fbfd982ca2bb <3d950c34074ed74d2713c3856ba01264523289e6
- Affected versionversion=63ee04c8b491ee148489347e7da9fbfd982ca2bb <c93017c8d5ebf55a4e453ac7c84cc84cf92ab570
- Affected versionversion=63ee04c8b491ee148489347e7da9fbfd982ca2bb <cffb5382bd8d3cf21b874ab5b84bf7618932286b
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