Skip to main content
Network Thinking Solutions Logo

CVE-2026-31475

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().

All CVEs
CVE-2026-31475Published 4/22/2026

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().

Vendor advisory
CVSS7.8High

Overview

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.

Published
4/22/2026
Last modified
11/11/2026
Assigned by
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.14.9, < 6.15

Verify advisory

Source
linux kernel
linux
≥ 6.15.1, < 6.18.21

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.11

Verify advisory

Source
linux kernel
linux
6.15

Verify advisory

Source
linux kernel
linux
7.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 0ec6bd16705fe21d6429d6b8f7981eae2142bba8, < d472d1a52985211b92883bb64bbe710b45980190

Verify advisory

Source
Linux
Linux
≥ 0ec6bd16705fe21d6429d6b8f7981eae2142bba8, < 1a82c3272626db9006f4c2cad3adf2916417aed6

Verify advisory

Source
Linux
Linux
≥ 0ec6bd16705fe21d6429d6b8f7981eae2142bba8, < fe757092d2329c397ecb32f2bf68a5b1c4bd9193

Verify advisory

Source
Linux
Linux
f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c

Verify advisory

Source
Linux
Linux
≥ 6.14.9, < 6.15

Verify advisory

Source
Linux
Linux
6.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.