CVE-2026-98344
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
dmaengine: Napraw niedopełnienie kref urządzenia w dma_chan_put()
dma_chan_get() pobiera chan->device->ref tylko na wolnej ścieżce:
/* brak krefa na szybkiej ścieżce */
if (chan->liczba_klientów) {
__module_get(właściciel);
chan->liczba_klientów++;
zwróć 0;
}
if (!try_module_get(właściciel))
powrót -ENODEV;
if (!dma_device_get(chan->device)) { // wywołuje kref_get_unless_zero()
dma_chan_put() usuwa ref bezwarunkowo, więc każda szybka ścieżka
get/put pair usuwa jedno dodatkowe odwołanie do urządzenia.
Błąd jest uruchamiany, gdy spełnione są dwa warunki: nieprywatny
dostawca ma stałego klienta posiadającego chan->client_count > 0
a inny klient wykonuje cykl dmaengine_get()/dmaengine_put().
Kiedy kref osiągnie zero, następuje powrót dma_find_channel().
NULL, mimo że moduł dostawcy jest nadal załadowany.
Napraw to, upuszczając urządzenie->ref tylko na ostatnie miejsce, dopasowując
pobieranie pojedynczej wolnej ścieżki.
>_ Referencje
- https://git.kernel.org/stable/c/036b527f92570206da4b8c40b38f8d689e29d0f3
- https://git.kernel.org/stable/c/1a0d9b406febf23054ad595fd47b29325e70fb2d
- https://git.kernel.org/stable/c/44dab659064eb5c10adb0306510eebe848ed592d
- https://git.kernel.org/stable/c/57f7f1c6827be7d8f80feca48d2125fb91c6f6ed
- https://git.kernel.org/stable/c/5fb1797a8c9485e40e5492fa0338ab5c7d1f3fef
- https://git.kernel.org/stable/c/77906ac448d2fa81fa710ae26c0e591ebdc81154
- https://git.kernel.org/stable/c/7c3f4ce651d43705f9ec7f778f642a90d5ff4fba
- https://git.kernel.org/stable/c/de2677e57d3161390d8a508f08cddec6ef7e4b23
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