Katalog CVE

CVE-2025-40183

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.57%

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

Streszczenie

W jądrze Linux w funkcjach __bpf_redirect_neigh_v{4,6} wykryto wyciek obiektu metadata_dst. Problem występuje, gdy BPF używa bpf_redirect_neigh() do przekierowania pakietów po dekapsulacji VXLAN w trybie collect md. VXLAN alokuje metadata_dst i dołącza go przez fałszywy wpis dst do skb, ale bpf_redirect_neigh() ustawia nowy wpis dst przez skb_dst_set() bez uprzedniego zwolnienia istniejącego, co prowadzi do narastającego wycieku pamięci.

Ocena ryzyka

Wyciek pamięci jądra może z czasem doprowadzić do wyczerpania pamięci (szczególnie w puli kmalloc-256), powodując odmowę usługi (DoS) w systemie.

Rekomendacja

Zaleca się aktualizację jądra Linux do wersji zawierającej poprawkę usuwającą wyciek metadata_dst.

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: bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6} Cilium has a BPF egress gateway feature which forces outgoing K8s Pod traffic to pass through dedicated egress gateways which then SNAT the traffic in order to interact with stable IPs outside the cluster. The traffic is directed to the gateway via vxlan tunnel in collect md mode. A recent BPF change utilized the bpf_redirect_neigh() helper to forward packets after the arrival and decap on vxlan, which turned out over time that the kmalloc-256 slab usage in kernel was ever-increasing. The issue was that vxlan allocates the metadata_dst object and attaches it through a fake dst entry to the skb. The latter was never released though given bpf_redirect_neigh() was merely setting the new dst entry via skb_dst_set() without dropping an existing one first.

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