Shellfeed logo Shellfeed

CVE-2026-64001 · HIGH (CVSS 7.8)

Summary: ALSA: pcm: oss: Fix setup list UAF on proc write error

Details

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

ALSA: pcm: oss: Fix setup list UAF on proc write error

snd_pcm_oss_proc_write() links a newly allocated setup entry into the
OSS setup list before duplicating the task name. If the task-name
allocation fails, the error path frees the already linked entry and
leaves setup_list pointing at freed memory.

A later OSS device open can then walk the stale list entry in
snd_pcm_oss_look_for_setup() and dereference freed memory.

Allocate the task name and initialize the setup entry before publishing
the entry on setup_list. Also fetch the initial proc read iterator only
after taking setup_mutex, so all setup_list traversal follows the same
list lifetime rules.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [060d77b9c04acd7aef60790398a53f731db8c8fe – d9df965284abde27ba6bfbdfc8407697cf6802f1]
  • Linux Kernel [2.6.17 – 6.6.160] [6.7.0 – 6.12.93] [6.13.0 – 6.18.35] [6.19.0 – 7.0.12]

References