Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: compress: Fix task creation error unwind

snd_compr_task_new() allocates the driver task before validating the
returned DMA buffers and reserving file descriptors. When either of
those later steps fails, the core frees its task wrapper and DMA-buffer
references without calling the driver's task_free() callback. Any
driver resources allocated by task_create() are therefore leaked.

The dual-fd allocation path also jumps to cleanup without storing the
negative get_unused_fd_flags() result in retval. Since retval still
contains the successful task_create() return value, TASK_CREATE can
incorrectly report success although the task was discarded.

Preserve the fd allocation errors and call task_free() when failure
occurs after a successful task_create() callback.
Published: 2026-07-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the ALSA compression driver within the Linux kernel. The snd_compr_task_new() routine allocates a driver task before validating DMA buffers and reserving file descriptors. If either validation fails, the kernel frees only the wrapper and DMA buffers but never calls the driver's task_free() callback, leading to a leak of driver‑specific resources. Moreover, on the dual‑FD allocation path a failed get_unused_fd_flags() error is not propagated correctly, causing the task_create function to report success even though the task was discarded. This allows a user to repeatedly trigger the bug and cause memory or file‑descriptor exhaustion, eventually degrading system performance or availability.

Affected Systems

The issue affects any Linux kernel iteration that includes the ALSA snd_compr compression driver prior to the patch. This includes current kernel releases for which the patch is not yet integrated. The fix is present in commit 426a9947a38d272d0e19c031658da68e31128667 and subsequent kernel releases that incorporate this change.

Risk and Exploitability

Based on the description, it is inferred that the primary attack vector is local access to the ALSA interface with kernel privileges, as the vulnerability involves task creation requests to the ALSA driver. The EPSS score of less than 1% and absence from CISA KEV suggest a low likelihood of active exploitation. Although exploitation does not provide code execution or privilege escalation, repeated successful attempts can exhaust kernel resources, potentially leading to a denial‑of‑service condition.

Generated by OpenCVE AI on August 2, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the ALSA compress task_free patch, such as the changes implemented in commit 426a9947a38d272d0e19c031658da68e31128667 or any subsequent release.
  • If an immediate kernel upgrade is not possible, restrict or disable applications that may send malformed ALSA compression task create requests, or disable the ALSA compression module entirely; alternatively, apply ACLs to limit access to the ALSA devices to trusted users only.
  • Continuously monitor kernel logs and system resource usage for signs of task creation failures or abnormal memory or file‑descriptor consumption; enable audit logging for ALSA-related syscalls to detect potential exploitation attempts.

Generated by OpenCVE AI on August 2, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 01 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-209
CWE-401

Tue, 28 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-209
CWE-401

Mon, 27 Jul 2026 05:15:00 +0000

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'}


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: compress: Fix task creation error unwind snd_compr_task_new() allocates the driver task before validating the returned DMA buffers and reserving file descriptors. When either of those later steps fails, the core frees its task wrapper and DMA-buffer references without calling the driver's task_free() callback. Any driver resources allocated by task_create() are therefore leaked. The dual-fd allocation path also jumps to cleanup without storing the negative get_unused_fd_flags() result in retval. Since retval still contains the successful task_create() return value, TASK_CREATE can incorrectly report success although the task was discarded. Preserve the fd allocation errors and call task_free() when failure occurs after a successful task_create() callback.
Title ALSA: compress: Fix task creation error unwind
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:42:25.926Z

Reserved: 2026-07-19T15:36:31.791Z

Link: CVE-2026-64485

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:34.203

Modified: 2026-07-27T05:16:54.570

Link: CVE-2026-64485

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64485 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T12:30:05Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime