Use-after-free via teardown work requeue
Published Feb 26, 2025 · Updated May 11, 2026
Use-after-free in the rt5645 ASoC codec driver in Linux allows local users to corrupt kernel memory during concurrent device removal. rt5645_i2c_remove() cancels jack_detect_work before synchronously deleting btn_check_timer, so rt5645_btn_check_callback() can requeue the canceled work after its owning device state is freed. The race requires local device-removal activity on a system using the rt5645 codec; public records establish the use-after-free but do not document a reliable exploit outcome.
Summary
What happened
Use-after-free in the rt5645 ASoC codec driver in Linux allows local users to corrupt kernel memory during concurrent device removal. rt5645_i2c_remove() cancels jack_detect_work before synchronously deleting btn_check_timer, so rt5645_btn_check_callback() can requeue the canceled work after its owning device state is freed. The race requires local device-removal activity on a system using the rt5645 codec; public records establish the use-after-free but do not document a reliable exploit outcome.
The record
- CVE
- CVE-2022-49493
- 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.13
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <061a6159cea583f1155f67d1915917a6b9282662
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <0941150100173d4eaf3fe08ff4b16740e7c3026f
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <1a5a3dfd9f172dcb115072f0aea5e27d3083c20e
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <236d29c5857f02e0a53fdf15d3dce1536c4322ce
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <2def44d3aec59e38d2701c568d65540783f90f2f
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <453f0920ffc1a28e28ddb9c3cd5562472b2895b0
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <88c09e4812d72c3153afc8e5a45ecac2d0eae3ff
- Affected versionversion=a6ff8ddcf3f38ec84337e5e7eb3e0e9a73754cf5 <abe7554da62cb489712a54de69ef5665c250e564
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