CVE-2026-31475
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-415CVE-2026-31475 is classified as CWE-415
See CWE-415 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.14.9,
6.15
and later are affected. Fixed in
6.18.21,
6.19.11,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31475 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1a82c3272626db9006f4c2cad3adf2916417aed6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d472d1a52985211b92883bb64bbe710b45980190
-
PatchKernel patch commithttps://git.kernel.org/stable/c/fe757092d2329c397ecb32f2bf68a5b1c4bd9193
Frequently asked questions
-
What is CVE-2026-31475?
CVE-2026-31475 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 6.14.9 onward and has been patched in 6.18.21, 6.19.11 and 7.0. CVE-2026-31475 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31475?
CVE-2026-31475 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2026-31475?
Yes — CVE-2026-31475 has been patched. Fixed versions include 6.18.21, 6.19.11 and 7.0. If you are running Linux kernel 6.14.9 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31475 actively exploited?
No — CVE-2026-31475 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.