CVE-2026-139388

ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()

Published Nov 30, 2026 CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()

When an error happens in snd_jack_kctl_new(), it tries to free the new
kcontrol element via snd_ctl_free_one(). But snd_ctl_free_one()
releases only the memories, and the internal linked list and hash
entries still remain, which may lead to bogus accesses to user.

Replace with the correct destructor, snd_ctl_remove(), for clearing
the whole resources of the given kcontrol, instead.

Analysis

AI-generated

Technical impact

A defect in the ALSA jack subsystem of the Linux kernel corrupts the cleanup path for the kcontrol object created in snd_jack_kctl_new(). The code calls snd_ctl_free_one() on error, which frees only memory while leaving the internal linked list and hash entries intact. This leaves dangling references that can be accessed after the error, enabling a use‑after‑free scenario that may allow an attacker to trigger arbitrary code execution or cause a kernel crash.

Affected Systems

All Linux kernel releases that include the ALSA jack subsystem prior to the commit that replaces snd_ctl_free_one() with snd_ctl_remove(), which is present in every distribution running an unpatched kernel.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, so the quantitative risk is unclear. The likely attack vector is inferred to involve an attacker triggering snd_jack_kctl_new() from user space—for example, by manipulating audio controls or communicating with the JACK server—then causing the error path to execute. If successful, this could lead to kernel panic or arbitrary code execution. The issue is not listed in CISA KEV, indicating no publicly known mass exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the upstream commit which replaces snd_ctl_free_one() with snd_ctl_remove() in the ALSA jack subsystem.
  • If an update is not immediately available, rebuild the kernel with the ALSA jack subsystem disabled (CONFIG_ALSA_JACK=n) to remove the vulnerable code path.
  • As a temporary defensive measure, disable JACK audio services and monitor system logs for audio‑related errors or kernel panics that might indicate a dangling pointer access.
  • Keep the kernel and ALSA components up to date and review release notes for future patches.

Generated by OpenCVE AI on December 1, 2026 at 06:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: jack: Fix kctl free at error in snd_jack_kctl_new() When an error happens in snd_jack_kctl_new(), it tries to free the new kcontrol element via snd_ctl_free_one(). But snd_ctl_free_one() releases only the memories, and the internal linked list and hash entries still remain, which may lead to bogus accesses to user. Replace with the correct destructor, snd_ctl_remove(), for clearing the whole resources of the given kcontrol, instead.
Title ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:42 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Dec 1, 2026, 6:17 AM