# CVE-2022-48955: net: thunderbolt: fix memory leak in tbnet_open()

- 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.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-10-21T20:05:41.715Z
- Modified: 2026-06-17T05:16:42.517Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: thunderbolt: fix memory leak in tbnet_open()

When tb_ring_alloc_rx() failed in tbnet_open(), ida that allocated in
tb_xdomain_alloc_out_hopid() is not released. Add
tb_xdomain_release_out_hopid() to the error path to release ida.

(As written by CVE List.)

## Affected

- Linux Linux: from 180b0689425c6fb2b35e69a3316ee38371a782df before b9274dbe399952a8175db2e1ee148b7c9ba2b538; from 180b0689425c6fb2b35e69a3316ee38371a782df before ed6e955f3b7e0e622c080f4bcb5427a5e1af4c2a; from 180b0689425c6fb2b35e69a3316ee38371a782df before ed14e5903638f6eb868e3e2b4e610985e6a6c876; 5.13 (not affected: before 5.13; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.13 before 5.15.83; from 5.16 before 6.0.13; 6.1

## References

- <https://git.kernel.org/stable/c/b9274dbe399952a8175db2e1ee148b7c9ba2b538> (patch)
- <https://git.kernel.org/stable/c/ed6e955f3b7e0e622c080f4bcb5427a5e1af4c2a> (patch)
- <https://git.kernel.org/stable/c/ed14e5903638f6eb868e3e2b4e610985e6a6c876> (patch)

## Sources

- CVE List: [CVE-2022-48955](https://www.cve.org/CVERecord?id=CVE-2022-48955), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48955](https://nvd.nist.gov/vuln/detail/CVE-2022-48955), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48955 · Whole record: https://cve.day/CVE-2022-48955.json · Rebuilt by cve.day 2026-11-25T22:58:20.002Z
