# CVE-2026-64350: usb: cdnsp: fix stream context array leak in cdnsp_alloc_stream_info()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:10.270Z
- Modified: 2026-09-03T16:03:46.993Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

usb: cdnsp: fix stream context array leak in cdnsp_alloc_stream_info()

cdnsp_alloc_stream_info() allocates stream_info->stream_ctx_array with
cdnsp_alloc_stream_ctx(). If a later stream ring allocation or stream
mapping update fails, the error path frees the allocated stream rings
and stream_rings array, but leaves stream_ctx_array allocated.

Free the stream context array before falling through to the stream_rings
cleanup path.

(As written by CVE List.)

## Affected

- Linux Linux: from 3d82904559f4f5a2622db1b21de3edf2eded7664 before 37283f5a47127fbdea567749a2110766af53d18d; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before cb8e9391b7f4f77d112c51910cd7c355a337ef76; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before fde3c095e1d48e0ac3ab8bc32905da42fe58a36a; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before d9643bbe93a6aee24edee1a86e0303aa74bcd320; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before c00826e87bb75e14e0381b05da5f18ffd0241ab6; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before 963075c4da0cd43b3d17b107c355e1eb0ee64a58; from 3d82904559f4f5a2622db1b21de3edf2eded7664 before 3348f444a4ce43dd5c2d1aa41634cb6eff33aa64; 5.12 (not affected: before 5.12; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.12 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/37283f5a47127fbdea567749a2110766af53d18d> (patch)
- <https://git.kernel.org/stable/c/cb8e9391b7f4f77d112c51910cd7c355a337ef76> (patch)
- <https://git.kernel.org/stable/c/fde3c095e1d48e0ac3ab8bc32905da42fe58a36a> (patch)
- <https://git.kernel.org/stable/c/d9643bbe93a6aee24edee1a86e0303aa74bcd320> (patch)
- <https://git.kernel.org/stable/c/c00826e87bb75e14e0381b05da5f18ffd0241ab6> (patch)
- <https://git.kernel.org/stable/c/963075c4da0cd43b3d17b107c355e1eb0ee64a58> (patch)
- <https://git.kernel.org/stable/c/3348f444a4ce43dd5c2d1aa41634cb6eff33aa64> (patch)

## Sources

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

---

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