CVE-2026-93261
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
blokowanie/lockdep: Napraw wyłuskiwanie wskaźnika NULL w __lock_set_class()
Register_lock_class() może zwrócić NULL, gdy pula klas blokady wynosi
wyczerpany, graph_lock() kończy się niepowodzeniem lub sprawdzanie poprawności klucza kończy się niepowodzeniem. Jednakże,
__lock_set_class() wykorzystuje wartość zwracaną bezpośrednio w arytmetyce wskaźników
bez sprawdzenia NULL:
klasa = rejestr_blokady_klasy(blokada, podklasa, 0);
hlock->class_idx = klasa - klasy_blokad;
Jeśli klasa ma wartość NULL, obliczane jest dzikie przesunięcie, które powoduje uszkodzenie
hlock->class_idx. Kolejne wywołanie reacquire_held_locks() spowoduje
wywołaj hlock_class() z tym uszkodzonym indeksem, co prowadzi do wartości NULL lub
dereferencja wskaźnika poza zakresem.
Dodaj brakujące sprawdzenie NULL, zgodnie z tym, jak już działa __lock_acquire().
zajmuje się tą sprawą w tym samym miejscu połączenia.
>_ Referencje
- https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2
- https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d
- https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db
- https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8
- https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545
- https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d
- https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce
- https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc
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