CVE-2026-89864
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
scsi: qla2xxx: Powiązana długość i2c->w procedurach obsługi I2C bsg
struct qla_i2c_access zawiera pole o długości 16 bitów wraz ze stałym polem
Bufor 64-bajtowy:
struktura qla_i2c_access {
uint16_t urządzenie, przesunięcie, opcja, długość;
uint8_t bufor [0x40];
} __spakowany;
qla2x00_write_i2c() i qla2x00_read_i2c() używają dostarczonego przez użytkownika
i2c->długość bez sprawdzania granic. i2c jest nałożony na 256 bajtów
bufor na stosie, a sfp to 256-bajtowy bufor puli DMA, więc długość do
65535 przekracza oba:
- napisz: memcpy(sfp, i2c->buffer, i2c->length) nadmiernie odczytuje stos i
nadpisuje bufor sterty sfp i qla2x00_write_sfp(), a następnie DMA
i2c->długość bajtów z 256-bajtowego bufora.
- odczytaj: qla2x00_read_sfp() DMA i2c->length bajtów do 256-bajtowego sfp,
następnie memcpy(i2c->buffer, sfp, i2c->length) przekracza 64-bajty
bufor wewnątrz tablicy na stosie.
Osoba wywołująca posiadająca CAP_SYS_RAWIO może tego użyć do uszkodzenia sterty i pliku
stos jądra. Odrzuć żądania, których długość przekracza bufor przed jakimkolwiek
kopiowanie lub transfer DMA w obu programach obsługi.
>_ Referencje
- https://git.kernel.org/stable/c/0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59
- https://git.kernel.org/stable/c/2be39946abcde5a6416fb074ef728429e246a996
- https://git.kernel.org/stable/c/32d6df14fdab71fe1ba304fd9a0db0411ea2e043
- https://git.kernel.org/stable/c/47049fdadc0eaa115e813735b827e1379c0d2cf8
- https://git.kernel.org/stable/c/522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e
- https://git.kernel.org/stable/c/8f01f886cc5e7bbc16cbf1a9928fdebbc911e973
- https://git.kernel.org/stable/c/97ca58b0fb026799b99e3d552d5f69cf9a3113ad
- https://git.kernel.org/stable/c/9a756f277eb89f769dbf380f38245c270d31fdb5
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