Katalog CVE

CVE-2025-39768

ŚrednieCVSS 5.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

Percentyl 2 - wyżej niż 2% wszystkich znanych CVE

Streszczenie

W jądrze Linux w sterowniku net/mlx5 HWS przepływ błędów przy rehashu złożonych reguł jest nieprawidłowy. W przypadku niepowodzenia przenoszenia reguł jądro może wpaść w serię soft lock-upów lub inne problemy zamiast kontynuować działanie. Poprawka naprawia obsługę błędów: brak odpytywania o ukończenie przed zakolejkowaniem, przerwanie rehashu przy timeoucie, kontynuacja przy innych błędach i zwracanie pierwszego kodu błędu.

Ocena ryzyka

Na systemach z kartami Mellanox mlx5 może dochodzić do zawieszeń jądra (soft lock-up) przy błędach rehashu reguł, co prowadzi do niedostępności sieci i konieczności restartu.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, zwłaszcza na serwerach z kartami Mellanox mlx5 korzystających z HWS.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix complex rules rehash error flow Moving rules from matcher to matcher should not fail. However, if it does fail due to various reasons, the error flow should allow the kernel to continue functioning (albeit with broken steering rules) instead of going into series of soft lock-ups or some other problematic behaviour. Similar to the simple rules, complex rules rehash logic suffers from the same problems. This patch fixes the error flow for moving complex rules: - If new rule creation fails before it was even enqeued, do not poll for completion - If TIMEOUT happened while moving the rule, no point trying to poll for completions for other rules. Something is broken, completion won't come, just abort the rehash sequence. - If some other completion with error received, don't give up. Continue handling rest of the rules to minimize the damage. - Make sure that the first error code that was received will be actually returned to the caller instead of replacing it with the generic error code. All the aforementioned issues stem from the same bad error flow, so no point fixing them one by one and leaving partially broken code - fixing them in one patch.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS