Kernel memory corruption via firmware-upload unregister use-after-free
Published Jun 18, 2025 · Updated May 11, 2026
Use-after-free in Linux kernel 5.19 through 5.19.7 allows local users to corrupt kernel memory during firmware-upload unregister. In firmware_upload_unregister(), device_unregister() can release fw_upload_priv before module_put() dereferences its module member. Reachability requires a driver using CONFIG_FW_UPLOAD to unregister its upload interface; public sources document no practical user-controlled trigger or observed exploitation.
Summary
What happened
Use-after-free in Linux kernel 5.19 through 5.19.7 allows local users to corrupt kernel memory during firmware-upload unregister. In firmware_upload_unregister(), device_unregister() can release fw_upload_priv before module_put() dereferences its module member. Reachability requires a driver using CONFIG_FW_UPLOAD to unregister its upload interface; public sources document no practical user-controlled trigger or observed exploitation.
The record
- CVE
- CVE-2022-49951
- Published
- Jun 18, 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
- Jun 18, 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=5.19
- Affected versionversion=97730bbb242cde22b7140acd202ffd88823886c9 <8b40c38e37492b5bdf8e95b46b5cca9517a9957a
- Affected versionversion=97730bbb242cde22b7140acd202ffd88823886c9 <d380d40930a674c520a5b55f3be1eb17dc634ebc
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