Katalog CVE

CVE-2026-74569

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w module netfilter nf_conntrack_sip występuje podatność polegająca na przepełnieniu licznika zmian rozmiaru wiadomości SIP (s16) podczas przepisywania NAT. Pojedyncza wiadomość może urosnąć o więcej niż 32767 bajtów, co powoduje zawinięcie licznika i odczyt poza buforem (use-after-free).

Ocena ryzyka

Atakujący może wysłać specjalnie skonstruowany ruch SIP, powodując awarię systemu (panic) lub potencjalnie wykonanie kodu w jądrze. Podatność dotyczy systemów z włączonym netfilter i obsługą SIP.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą poprawkę (poszerzenie typu do s32). Jeśli nie jest to możliwe, rozważ wyłączenie modułu nf_conntrack_sip lub ograniczenie ruchu SIP przez firewall.

Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: widen NAT rewrite delta to s32 in sip_help_tcp() sip_help_tcp() stores the size change of each NAT-rewritten SIP message in s16 diff and accumulates it in s16 tdiff, but a single message can grow by more than S16_MAX while the packet stays under the 65535 enlarge_skb() limit: nf_nat_sip() rewrites every matching URI, and a long Contact list expands the message by tens of kilobytes. diff then wraps, and "datalen = datalen + diff - msglen" yields a huge unsigned datalen, so the next iteration's ct_sip_get_header() reads past the linearized skb tail. Widen diff, tdiff and the seq_adjust hook to s32. Both are bounded by the 65535 byte packet limit, and the seqadj core is already s32 (nf_ct_seqadj_set() takes s32), so no previously accepted input is rejected. BUG: KASAN: use-after-free in ct_sip_get_header (net/netfilter/nf_conntrack_sip.c:464) Read of size 1 at addr ffff888010800000 by task ksoftirqd/1/25 ct_sip_get_header (net/netfilter/nf_conntrack_sip.c:464) sip_help_tcp (net/netfilter/nf_conntrack_sip.c:1694) nf_confirm (net/netfilter/nf_conntrack_proto.c:183) nf_hook_slow (net/netfilter/core.c:619) ip6_output (net/ipv6/ip6_output.c:246) ip6_forward (net/ipv6/ip6_output.c:690) ipv6_rcv (net/ipv6/ip6_input.c:351) __netif_receive_skb_one_core (net/core/dev.c:6212) process_backlog (net/core/dev.c:6676) __napi_poll (net/core/dev.c:7735) net_rx_action (net/core/dev.c:7955) handle_softirqs (kernel/softirq.c:622) run_ksoftirqd (kernel/softirq.c:1076) ...

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