# CVE-2026-64001: ALSA: pcm: oss: Fix setup list UAF on proc write error

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:18.816Z
- Modified: 2026-10-21T13:19:19.113Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 060d77b9c04acd7aef60790398a53f731db8c8fe before d9df965284abde27ba6bfbdfc8407697cf6802f1; from 060d77b9c04acd7aef60790398a53f731db8c8fe before 8be4efd0dc0093eb7a02ad1aac936bca2a1f04ce; from 060d77b9c04acd7aef60790398a53f731db8c8fe before e13922bb97b4e6f94f8ac02d034f2d4bd65eeb3c; from 060d77b9c04acd7aef60790398a53f731db8c8fe before be387230dc22d870afd0e5d35912b07c2bc323bd; from 060d77b9c04acd7aef60790398a53f731db8c8fe before 4cc54bdd54b337e77115be5b55577d1c58608eae; 2.6.17 (not affected: before 2.6.17; from 6.6.160 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.17 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/d9df965284abde27ba6bfbdfc8407697cf6802f1>
- <https://git.kernel.org/stable/c/8be4efd0dc0093eb7a02ad1aac936bca2a1f04ce> (patch)
- <https://git.kernel.org/stable/c/e13922bb97b4e6f94f8ac02d034f2d4bd65eeb3c> (patch)
- <https://git.kernel.org/stable/c/be387230dc22d870afd0e5d35912b07c2bc323bd> (patch)
- <https://git.kernel.org/stable/c/4cc54bdd54b337e77115be5b55577d1c58608eae> (patch)

## Sources

- CVE List: [CVE-2026-64001](https://www.cve.org/CVERecord?id=CVE-2026-64001), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-64001](https://nvd.nist.gov/vuln/detail/CVE-2026-64001), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-64001 · Whole record: https://cve.day/CVE-2026-64001.json · Rebuilt by cve.day 2026-11-25T22:59:28.909Z
