CVE-2026-31475
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
ASoC: sma1307: fix double free of devm_kzalloc() memory
In the Linux kernel, the following vulnerability has been resolved: ASoC: sma1307: fix double free of devm_kzalloc() memory A previous change added NULL checks and cleanup for allocation failures in sma1307_setting_loaded(). However, the cleanup for mode_set entries is wrong. Those entries are allocated with devm_kzalloc(), so they are device-managed resources and must not be freed with kfree(). Manually freeing them in the error path can lead to a double free when devres later releases the same memory. Drop the manual kfree() loop and let devres handle the cleanup.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0ec6bd16705fe21d6429d6b8f7981eae2142bba8 | affected | git | d472d1a52985211b92883bb64bbe710b45980190 | Unavailable | None listed |
| 0ec6bd16705fe21d6429d6b8f7981eae2142bba8 | affected | git | 1a82c3272626db9006f4c2cad3adf2916417aed6 | Unavailable | None listed |
| 0ec6bd16705fe21d6429d6b8f7981eae2142bba8 | affected | git | fe757092d2329c397ecb32f2bf68a5b1c4bd9193 | Unavailable | None listed |
| f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c | affected | git | Unavailable | Unavailable | None listed |
| 6.14.9 | affected | semver | 6.15 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.15 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.15 | Unavailable | None listed |
| 6.18.21 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 6.19.11 | unaffected | semver | Unavailable | 6.19.* | None listed |
| 7.0 | unaffected | original_commit_for_fix | Unavailable | * | None listed |