PT-2026-34380 · Linux · Linux Kernel
CVE-2026-31475
·
Published
2026-03-16
·
Updated
2026-04-27
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A double free issue exists in the ASoC sma1307 component. The
sma1307 setting loaded() function incorrectly uses kfree() to manually release memory for mode set entries that were allocated using devm kzalloc(). Since devm kzalloc() creates device-managed resources, the system automatically attempts to release this memory later, leading to a double free condition when the manual cleanup is triggered in the error path.Recommendations
Remove the manual
kfree() loop and allow the devres framework to handle the cleanup of device-managed resources.Exploit
Fix
Double Free
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux Kernel