CVE-2026-89989
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
ima: Sprawdź ERR_PTR z dentry_path() w valid_hash_algo()
dentry_path() zwraca ERR_PTR(-ENAMETOOLONG), gdy ścieżka przekracza
bufor. valid_hash_algo() przekazuje wynik bezpośrednio do
integralności_audit_msg() bez sprawdzania. ERR_PTR nie ma wartości NULL, więc
integralność_audit_message() widzi prawidłowy wskaźnik i wywołuje funkcję strlen().
to, które ma wady:
BŁĄD: nie można obsłużyć błędu strony dla adresu: ffffffffffffdc
RIP: 0010:strlen+0x30/0xa0
Zadzwoń do śledzenia:
audyt_log_untrustedstring+0x19/0x30
integralność_audit_message+0x366/0x4f0
ima_inode_setxattr+0x512/0x5f0
Sprawdź IS_ERR() i zamiast tego użyj NULL, co spowoduje wygenerowanie komunikatu kontrolnego
pomiń pole name= zamiast powodować awarię.
>_ Referencje
- https://git.kernel.org/stable/c/0de5b525c0cd7d202848b8adfde3c01c287fb1a6
- https://git.kernel.org/stable/c/30b5c0e17dcad72b6b2f987319aa645570e6376d
- https://git.kernel.org/stable/c/8861f6d5c0678a7c5089c7b272509fc5931b8437
- https://git.kernel.org/stable/c/9e69d683ebd7def04557fe758ff123105d7d9840
- https://git.kernel.org/stable/c/d62a84a78de5f29c642fa3bd4eee072ba7289cb4
- https://git.kernel.org/stable/c/d6fade89903c8fd0af6c956242aec8b927040e02
- https://git.kernel.org/stable/c/f8a2f2a4602318eb93d49d27fd0d0fdaab17edde
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