Katalog CVE

CVE-2026-98117

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W podsystemie cachefiles jądra Linux funkcja trace_cachefiles_coherency() otrzymuje wskaźnik do __be64 nakładany na dane koherencji o zmiennej długości (mogącej wynosić nawet 0 bajtów), co może prowadzić do UAF lub ostrzeżenia KASAN. Poprawka zapewnia co najmniej 8 bajtów miejsca w buforze, wstępnie je zeruje i pobiera dane jako cztery 2-bajtowe słowa.

Ocena ryzyka

Odczyt poza granicami bufora lub użycie zwolnionej pamięci może wywołać ostrzeżenie KASAN, awarię jądra lub potencjalnie prowadzić do ujawnienia danych.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla tego problemu (cachefiles: Fix potential UAF/KASAN warning).

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: cachefiles: Fix potential UAF/KASAN warning Currently, trace_cachefiles_coherency() is being passed a pointer to a __be64 lain over the coherency data in struct cachefiles_xattr so that it can display the first 8 bytes. However, the data is of variable length and could even be 0 bytes. This could lead to a UAF or KASAN warning. Fix this by making sure the buffer has room for at least 8 bytes and that those 8 bytes are pre-cleared. Further, those bytes are not 8-byte aligned, so fix the tracepoint to extract the data as four 2-byte words (they are 2-byte aligned) and reassemble the __be64. The compiler will convert this into a single 8-byte load where the CPU supports it.

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