CVE-2026-64485

ALSA: compress: Fix task creation error unwind

State
Published
Severity
7.8 High
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 04177158cf98a79744937893b100020d77e6f9ac to before b27a75d42044d9d4709095617730b91b1c4af423Affected
  • 04177158cf98a79744937893b100020d77e6f9ac to before 426a9947a38d272d0e19c031658da68e31128667Affected
  • 04177158cf98a79744937893b100020d77e6f9ac to before 4a60127debb9e370d6c0e22a307326b624a141f3Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.