Katalog CVE

CVE-2025-37890

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

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

Streszczenie

W jądrze Linux w schedulerze sieciowym HFSC występuje podatność use-after-free, gdy klasa HFSC ma netem jako dziecko qdisc. Sprawdzenie cl->qdisc->q.qlen == 0 nie gwarantuje, że klasa nie została wstawiona do vttree/eltree, co prowadzi do podwójnego wstawienia i UAF.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do uzyskania nieautoryzowanego dostępu do pamięci jądra, co może prowadzić do eskalacji uprawnień lub awarii systemu.

Rekomendacja

Zastosuj łatkę z jądra Linux, która dodaje sprawdzenie zmiennej n_active, aby zapobiec podwójnemu wstawieniu klasy do vttree/eltree.

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_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc As described in Gerrard's report [1], we have a UAF case when an hfsc class has a netem child qdisc. The crux of the issue is that hfsc is assuming that checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted the class in the vttree or eltree (which is not true for the netem duplicate case). This patch checks the n_active class variable to make sure that the code won't insert the class in the vttree or eltree twice, catering for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

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