Kernel memory corruption via freed command pointer return
Published Jun 18, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel rtl8712 driver allows local users to cause an unspecified impact via MAC register commands. The read_macreg_hdl() and write_macreg_hdl() handlers free the pcmd command object, while cmd_hdl_filter() then returns that same freed pointer for later use. Ubuntu reports that no driver code path creates or enqueues either command, so the vulnerable path is unreachable and no consequence is reliably triggerable.
Summary
What happened
Use-after-free in the Linux kernel rtl8712 driver allows local users to cause an unspecified impact via MAC register commands. The read_macreg_hdl() and write_macreg_hdl() handlers free the pcmd command object, while cmd_hdl_filter() then returns that same freed pointer for later use. Ubuntu reports that no driver code path creates or enqueues either command, so the vulnerable path is unreachable and no consequence is reliably triggerable.
The record
- CVE
- CVE-2022-49956
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 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=2.6.37
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <19e3f69d19801940abc2ac37c169882769ed9770
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <376e15487fec837301d888068a3fcc82efb6171a
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <7dce6b0ee7d78667d6c831ced957a08769973063
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <9fd6170c5e2d0ccd027abe26f6f5ffc528e1bb27
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <b1727def850904e4b8ba384043775672841663a1
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <d0aac7146e96bf39e79c65087d21dfa02ef8db38
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <dc02aaf950015850e7589696521c7fca767cea77
- Affected versionversion=2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef <e230a4455ac3e9b112f0367d1b8e255e141afae0
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