PT-2026-34380 · Linux · Linux Kernel

Published

2026-04-22

·

Updated

2026-04-27

·

CVE-2026-31475

CVSS v3.1

7.8

High

VectorAV: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.

Fix

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-31475

Affected Products

Linux Kernel