# CVE-2026-89736: usb: gadget: u\_audio: Fix use-after-free on sound card disconnect

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:46:44.608Z
- **Modified:** 2026-10-19T09:18:16.323Z

## Who should check

- Anyone running Linux \>= 33f341c1fc60e172a3515c51bdabee11e83d1ee9, \< a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82; \>= b131989797f7287d7fdadb2bababc05a15d44750, \< f983793f03148b097977f200298db215cd2d4438; \>= 3bc7324e4911351e39c54a62e6ca46321cb10faf, \< 6f46762196f04464e1050a9ee94e72b917db9010; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 891a8d11f4d5eb50b2ce7570f4f98204a7a57493; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< c74ff0b1a0fca53d3ac185873c87d6a719b30a47; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 4e747c864a88537e18b1ffc19a1954c9686bb8e1; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 79a92896e2bb9471550c56fc23d8d93592f04c27; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 858965947081d10d41d9a1010a540d3d5eea958b; 3e016ef2e72da93a2ea7afbb45de1b481b44d761; 3256e152b645fc1e788ba44c2d8ced690113e3e6; …
- Anyone running Linux 6.3

## Description

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

usb: gadget: u\_audio: Fix use-after-free on sound card disconnect

g\_audio\_cleanup() invokes snd\_card\_free\_when\_closed() to initiate sound
card teardown and immediately frees the underlying struct snd\_uac\_chip
context. However, snd\_card\_free\_when\_closed() returns asynchronously
while ALSA control elements (kctls) remain open in userspace.

When userspace control applications access or close these open file
descriptors, kctl callbacks attempt to dereference kctl-\>private\_data
pointing to &uac-\>c\_prm or &uac-\>p\_prm within the freed uac structure,
resulting in a use-after-free (UAF) memory corruption.

Fix this issue by deferring the destruction of struct snd\_uac\_chip until
all references to the ALSA sound card are released. Register a custom
card-\>private\_free callback (u\_audio\_card\_free) during g\_audio\_setup()
that frees uac and its associated playback/capture request and ring
buffers only when the sound card reference count drops to zero.

## Affected and fixed versions

- Linux: \>= 33f341c1fc60e172a3515c51bdabee11e83d1ee9, \< a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82; \>= b131989797f7287d7fdadb2bababc05a15d44750, \< f983793f03148b097977f200298db215cd2d4438; \>= 3bc7324e4911351e39c54a62e6ca46321cb10faf, \< 6f46762196f04464e1050a9ee94e72b917db9010; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 891a8d11f4d5eb50b2ce7570f4f98204a7a57493; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< c74ff0b1a0fca53d3ac185873c87d6a719b30a47; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 4e747c864a88537e18b1ffc19a1954c9686bb8e1; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 79a92896e2bb9471550c56fc23d8d93592f04c27; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 858965947081d10d41d9a1010a540d3d5eea958b; 3e016ef2e72da93a2ea7afbb45de1b481b44d761; 3256e152b645fc1e788ba44c2d8ced690113e3e6; … (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89736. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89736.md
Affected: Linux >= 33f341c1fc60e172a3515c51bdabee11e83d1ee9, < a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82; >= b131989797f7287d7fdadb2bababc05a15d44750, < f983793f03148b097977f200298db215cd2d4438; >= 3bc7324e4911351e39c54a62e6ca46321cb10faf, < 6f46762196f04464e1050a9ee94e72b917db9010; >= 6c67ed9ad9b83e453e808f9…
Fixed in: Linux 6f46762196f04464e1050a9ee94e72b917db9010, Linux 891a8d11f4d5eb50b2ce7570f4f98204a7a57493, Linux 4e747c864a88537e18b1ffc19a1954c9686bb8e1, Linux 79a92896e2bb9471550c56fc23d8d93592f04c27, Linux 858965947081d10d41d9a1010a540d3d5eea958b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89736 being exploited?

There is no confirmed exploitation: CVE-2026-89736 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89736?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89736?

Linux \>= 33f341c1fc60e172a3515c51bdabee11e83d1ee9, \< a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82; \>= b131989797f7287d7fdadb2bababc05a15d44750, \< f983793f03148b097977f200298db215cd2d4438; \>= 3bc7324e4911351e39c54a62e6ca46321cb10faf, \< 6f46762196f04464e1050a9ee94e72b917db9010; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 891a8d11f4d5eb50b2ce7570f4f98204a7a57493; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< c74ff0b1a0fca53d3ac185873c87d6a719b30a47; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 4e747c864a88537e18b1ffc19a1954c9686bb8e1; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 79a92896e2bb9471550c56fc23d8d93592f04c27; \>= 6c67ed9ad9b83e453e808f9b31a931a20a25629b, \< 858965947081d10d41d9a1010a540d3d5eea958b; 3e016ef2e72da93a2ea7afbb45de1b481b44d761; 3256e152b645fc1e788ba44c2d8ced690113e3e6; …; Linux 6.3.

### Is there a fix for CVE-2026-89736?

Yes. Fixed in Linux 6f46762196f04464e1050a9ee94e72b917db9010, Linux 891a8d11f4d5eb50b2ce7570f4f98204a7a57493, Linux 4e747c864a88537e18b1ffc19a1954c9686bb8e1, Linux 79a92896e2bb9471550c56fc23d8d93592f04c27, Linux 858965947081d10d41d9a1010a540d3d5eea958b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89736?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a7ecd1a04f4f485d7be6443d0f0b2c61a800cb82>
- other: <https://git.kernel.org/stable/c/f983793f03148b097977f200298db215cd2d4438>
- other: <https://git.kernel.org/stable/c/6f46762196f04464e1050a9ee94e72b917db9010>
- other: <https://git.kernel.org/stable/c/891a8d11f4d5eb50b2ce7570f4f98204a7a57493>
- other: <https://git.kernel.org/stable/c/c74ff0b1a0fca53d3ac185873c87d6a719b30a47>
- other: <https://git.kernel.org/stable/c/4e747c864a88537e18b1ffc19a1954c9686bb8e1>
- other: <https://git.kernel.org/stable/c/79a92896e2bb9471550c56fc23d8d93592f04c27>
- other: <https://git.kernel.org/stable/c/858965947081d10d41d9a1010a540d3d5eea958b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89736>

HTML: <https://flawdb.com/CVE-2026-89736> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89736>
