Katalog CVE

CVE-2026-98083

WysokieCVSS 7.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linuxa w systemie plików btrfs występuje podatność use-after-free podczas wstawiania pasków RAID. Jeśli alokacja rozszerzenia paska RAID nie powiedzie się, funkcja btrfs_insert_one_raid_extent() przerywa i kończy transakcję przed zwróceniem -ENOMEM. Wywołujący nadal posiada uchwyt transakcji i przy obsłudze błędu ponownie kończy transakcję, co może prowadzić do użycia po zwolnieniu.

Ocena ryzyka

Podatność może prowadzić do awarii systemu lub potencjalnie do wykonania dowolnego kodu w kontekście jądra, co stanowi poważne zagrożenie dla integralności systemu.

Rekomendacja

Zaleca się aktualizację jądra Linuxa do wersji z poprawką, która przenosi kończenie transakcji do wspólnej ścieżki wyjścia, aby uniknąć podwójnego kończenia.

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: btrfs: fix transaction use-after-free in raid stripe insertion If allocation of a RAID stripe extent fails, btrfs_insert_one_raid_extent() aborts and ends the transaction before returning -ENOMEM. btrfs_finish_one_ordered(), the production caller through btrfs_insert_raid_extent(), still owns the transaction handle. It handles the error by aborting the transaction and then reaches the common exit path, which ends the transaction again. The premature end can free the handle and drop its transaction reference. Transaction cleanup can then free the transaction before the caller's second abort accesses the handle and transaction, resulting in use-after-free. Keep the abort at the failure site, but let the caller's common exit path end the transaction once, after it has finished using both objects.

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