USB: misc: uss720: unregister parport on probe failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.20, Kernel 5.10.261, Kernel 5.15.212 and 15 more.
In the Linux kernel, the following vulnerability has been resolved: USB: misc: uss720: unregister parport on probe failure uss720_probe() registers a parport before reading the 1284 register used to detect unsupported Belkin F5U002 adapters. If get_1284_register() fails, the error path drops the driver private data and the USB device reference, but leaves the parport device registered. Leaving the port registered is more than a private allocation leak: parport_register_port() has already reserved a parport number and registered the parport bus device, while pp->private_data still points at the private data that the common error path is about to release. Undo the pre-announce registration in the get_1284_register() failure branch before jumping to the common private-data cleanup path. Clear priv->pp first, matching the disconnect path and avoiding a stale pointer in the private data. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.19.317 <4.20, >=5.10.221 <5.10.261, >=5.15.162 <5.15.212, >=5.4.279 <5.5, >=6.1.96 <6.1.178, >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.6.36 <6.6.145, >=6.9.7 <6.12.96, =7.2, >=3295f1b866bfbcabd625511968e8a5c541f9ab32 <b4ecbdc4f8830f5586c4a5cfc384c00f20f8f8b3, >=4eaf2331a77996bbbaf2b824d452ac8ebda7e6e7 <93563243377f8e9b46cc94d9c4f06533dd31b141, >=6.9.7 <6.10, >=8fc246a8a456679993df565d3c9e3da28030ee43 <1712fd71a5aaf81e47c747f180535fa963ad7830, =02d13616ca30014ed96302e51a5b0e17664e58bc, =489d77fbd66375972a380d207f7eb39b00c4a67b, =6.10, =dff3b01e91a3df93063b03d0f8dd5c40546687ec, >=04736c1bc32197f7d859e01a96ae80a16659931d <6bbb98bec71b577fda4f4b48f7aea5874b04a576, >=10132ccf99f49b43aeb7470df50d72344a601ad6 <0b3073f40cc9f95d5ff0037eb0a06f5c1725a7ea, >=3295f1b866bfbcabd625511968e8a5c541f9ab32 <48dd0b2ec9f2e97c486eb68cd0a64b25c1c3df3e, >=3295f1b866bfbcabd625511968e8a5c541f9ab32 <5e62d7857fd51b908b8371062ee839739a086bbe, >=3295f1b866bfbcabd625511968e8a5c541f9ab32 <729b68a5bad71220ae0914c8bdab9488ad5be6c8 | 4.20, 5.10.261, 5.15.212, 5.5, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96, b4ecbdc4f8830f5586c4a5cfc384c00f20f8f8b3, 93563243377f8e9b46cc94d9c4f06533dd31b141, 6.10, 1712fd71a5aaf81e47c747f180535fa963ad7830, 6bbb98bec71b577fda4f4b48f7aea5874b04a576, 0b3073f40cc9f95d5ff0037eb0a06f5c1725a7ea, 48dd0b2ec9f2e97c486eb68cd0a64b25c1c3df3e, 5e62d7857fd51b908b8371062ee839739a086bbe, 729b68a5bad71220ae0914c8bdab9488ad5be6c8 |
| linux-kernel: Kernel | >=4.19.317 <4.20, >=5.10.221 <5.10.261, >=5.15.162 <5.15.212, >=5.4.279 <5.5, >=6.1.96 <6.1.178, >=6.10.0 <6.12.96, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.6.36 <6.6.145, >=6.9.7 <6.10 | 4.20, 5.10.261, 5.15.212, 5.5, 6.1.178, 6.12.96, 6.18.39, 7.1.4, 6.6.145, 6.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket