Katalog CVE

CVE-2026-74580

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.12%

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

Streszczenie

W jądrze Linuxa odkryto podatność w podsystemie vhost. Pamięć podręczna metadanych vring (vq->meta_iotlb[]) nie jest resetowana podczas rekonfiguracji vring przez ioctl VHOST_SET_VRING_ADDR lub VHOST_SET_VRING_NUM, gdy urządzenie ma podpięty IOTLB. Może to prowadzić do użycia nieaktualnych mapowań, co skutkuje dostępem do pamięci poza faktycznie zamapowanym regionem.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do odczytu lub zapisu poza zamapowanym regionem pamięci, co może prowadzić do naruszenia integralności danych, eskalacji uprawnień lub wycieku informacji. Podatność dotyczy systemów z włączoną wirtualizacją i vhost.

Rekomendacja

Zaleca się natychmiastowe zastosowanie łatki z jądra Linuxa, która resetuje pamięć podręczną metadanych vring przy każdej rekonfiguracji. Należy również monitorować dostępność aktualizacji dla używanej dystrybucji i wdrożyć je jak najszybciej.

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: vhost: reset the vring metadata cache on vring reconfiguration vq->meta_iotlb[] caches the vhost_iotlb_map that backs each vring metadata region, and iotlb_access_ok() returns early on a cache hit, taking the hit as proof that the region has already been validated: if (vhost_vq_meta_fetch(vq, addr, len, type)) return true; The cache is reset on VHOST_IOTLB_UPDATE and VHOST_IOTLB_INVALIDATE, on device IOTLB (re)initialisation and on vq reset, but not when VHOST_SET_VRING_ADDR replaces vq->desc, vq->avail and vq->used, nor when VHOST_SET_VRING_NUM changes the region sizes. With a device IOTLB attached both ioctls are accepted while the vq is live, and neither validates the addresses at ioctl time: vq_access_ok() and vq_log_used_access_ok() return true early because the addresses are GIOVAs, deferring validation to prefetch time. Once the cache has been populated that deferred validation no longer runs -- vq_meta_prefetch() hits the stale entry and returns true -- and vhost_vq_meta_fetch() keeps translating through the old mapping as map->addr + addr - map->start for an address the mapping no longer covers. vhost_copy_to_user() and vhost_copy_from_user() consume the result with __copy_to_user() and __copy_from_user(), which do not check it either, so a subsequent used ring update or descriptor fetch accesses memory outside the region the IOTLB actually maps. Reset the metadata cache whenever the vring is reconfigured, so the new addresses are pushed back through iotlb_access_ok()'s slow path.

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