Kernel memory corruption via device-managed double free
Published Apr 22, 2026 · Updated Apr 22, 2026
Double free in the SMA1307 ASoC codec driver in affected Linux Kernel releases allows local users to corrupt kernel memory via a reset ioctl. In sma1307_setting_loaded(), an allocation-failure cleanup loop passes devm_kzalloc()-managed mode_set entries to kfree(), so devres later frees the same memory again. The path requires an SMA1307 device, settings firmware, local low-privileged access to the ALSA Reset Switch ioctl, and attacker-induced memory pressure; the bounded result is kernel memory corruption.
Summary
What happened
Double free in the SMA1307 ASoC codec driver in affected Linux Kernel releases allows local users to corrupt kernel memory via a reset ioctl. In sma1307_setting_loaded(), an allocation-failure cleanup loop passes devm_kzalloc()-managed mode_set entries to kfree(), so devres later frees the same memory again. The path requires an SMA1307 device, settings firmware, local low-privileged access to the ALSA Reset Switch ioctl, and attacker-induced memory pressure; the bounded result is kernel memory corruption.
The record
- CVE
- CVE-2026-31475
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-415, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 22, 2026CVE publishedPublication date reported by the CVE source.
- Apr 22, 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=0ec6bd16705fe21d6429d6b8f7981eae2142bba8 <1a82c3272626db9006f4c2cad3adf2916417aed6
- Affected versionversion=0ec6bd16705fe21d6429d6b8f7981eae2142bba8 <d472d1a52985211b92883bb64bbe710b45980190
- Affected versionversion=0ec6bd16705fe21d6429d6b8f7981eae2142bba8 <fe757092d2329c397ecb32f2bf68a5b1c4bd9193
- Affected versionversion=6.15
- Affected versionversion=f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c
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