← CVE Intelligence

CVE-2022-48955

net: thunderbolt: fix memory leak in tbnet_open() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 180b0689425c6fb2b35e69a3316ee38371a782df before b9274dbe399952a8175db2e1ee148b7c9ba2b538; affected 180b0689425c6fb2b35e69a3316ee38371a782df before ed6e955f3b7e0e622c080f4bcb5427a5e1af4c2a; affected 180b0689425c6fb2b35e69a3316ee38371a782df before ed14e5903638f6eb868e3e2b4e610985e6a6c876
Linux / Linuxaffected 5.13; unaffected 0 before 5.13; unaffected 5.15.83 through 5.15.*; unaffected 6.0.13 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.