CVE-2026-90020
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
USB: gadżet: napraw wyłuskiwanie wskaźnika NULL w gadżet_dev_ioctl()
gadżet_dev_ioctl() czyta dev->gadget przed pobraniem dev->lock, ale
dev->stan jest sprawdzany po uzyskaniu blokady. Dlatego równoczesne
bind może zmienić stan urządzenia pomiędzy tymi operacjami, co może
pozostaw ioctl ze starym wskaźnikiem gadżetu NULL i powodującym wskaźnik NULL
wyłuskanie w gadżet->ops->ioctl.
Przeczytaj dev->gadget, przytrzymując dev->lock tak, aby wskaźnik gadżetu
i stan urządzenia są próbkowane w sposób spójny.
>_ Referencje
- https://git.kernel.org/stable/c/162178ca83c3de986900385a0477eb539f8e1a7e
- https://git.kernel.org/stable/c/64ec019bf9a8b12f53b9f2777d65aadb730b5a84
- https://git.kernel.org/stable/c/87cbf9410b12f5c2d659bb01e8ecf6517cb9f28c
- https://git.kernel.org/stable/c/8be30959be31b4205e3bdd2e2a6221f3a2ee7ea1
- https://git.kernel.org/stable/c/c29a83c1ff3f06d5751f6d365b606c9f81ccc4cb
- https://git.kernel.org/stable/c/dd0eed9e165b1a6292f49e622e3dd0b7d99b106d
- https://git.kernel.org/stable/c/e8219accce2f6d3502ed71f5b5e854ecf27249a6
- https://git.kernel.org/stable/c/ebd916fdfefaacbc0e577f7037ec96b31a105e5f
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org