Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: USB: ulpi: fix memory leak on registration failure The allocated device name is never freed on early ULPI device registration failures. Fix this by initialising the device structure earlier and releasing the initial reference whenever registration fails.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before d5b32f36c50894ac2df8fa184e6f35f3a6665ecd; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 691e61e5d4cfc5a1b061e937f8cbf2126bfc19a0; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 88187a43135c79d0e43573b4d8f880bbb919eceb; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 5c098f20f15db7f9126129686d1c6da2ce8bbeb0; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 624c57147df1977e0d3da53f1da7117861b9cf19; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 1967a7f0cd5c08eb479196daa5aaa4b7b7a7bd04; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before e5493c9a98ffe083acf13ac064828ae598ba3c16; affected 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 8af6812795869a66e9b26044f455b13deecdb69c |
| Linux / Linux | affected 4.2; unaffected 0 before 4.2; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.96 through 6.12.*; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d5b32f36c50894ac2df8fa184e6f35f3a6665ecd
- https://git.kernel.org/stable/c/691e61e5d4cfc5a1b061e937f8cbf2126bfc19a0
- https://git.kernel.org/stable/c/88187a43135c79d0e43573b4d8f880bbb919eceb
- https://git.kernel.org/stable/c/5c098f20f15db7f9126129686d1c6da2ce8bbeb0
- https://git.kernel.org/stable/c/624c57147df1977e0d3da53f1da7117861b9cf19
- https://git.kernel.org/stable/c/1967a7f0cd5c08eb479196daa5aaa4b7b7a7bd04
- https://git.kernel.org/stable/c/e5493c9a98ffe083acf13ac064828ae598ba3c16
- https://git.kernel.org/stable/c/8af6812795869a66e9b26044f455b13deecdb69c