# CVE-2026-104379

- Bağlantı: https://www.allsafe.com.tr/cve-2026-104379/
- Yayımlanma: 2026-11-30T00:17:01+03:00
- Yazar: Postmaster

net_if_try_send_data() in subsys/net/ip/net_if.c reads net_pkt_family(pkt) a second
time after calling net_ipv6_prepare_for_send(). When that function returns NET_CONTINUE
it has already handed the packet off: IPv6 fragmentation (CONFIG_NET_IPV6_FRAGMENT)
unreferences it before returning, and the neighbor discovery path queues it on the
neighbor's pending queue, from where the RX thread may transmit and free it as soon
as a Neighbor Advertisement arrives, or the NS error and timeout paths may free 
it.

If the freed net_pkt is reallocated to an IPv4 or ARP packet before the sending 
thread resumes (the slab free list is LIFO, so the next TX allocation receives it),
the stale pointer now reports NET_AF_INET. net_ipv4_prepare_for_send() then runs
on a packet the caller does not own, replaces the NET_CONTINUE verdict with NET_OK,
and net_if_try_queue_tx() queues the foreign packet for transmission a second time.
The packet is then transmitted and unreferenced twice, or the TX thread dereferences
an already released buffer.

On a dual-stack device an adjacent attacker can open this window by answering the
device's Neighbor Solicitations while sending IPv4 traffic that makes the stack 
allocate TX packets, such as ICMPv4 echo requests. The result is a double free or
use-after-free of network packet and buffer memory in the kernel network stack, 
which typically crashes the device. Exploiting it requires winning a race, and ordinary
dual-stack traffic can also trigger it.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-104379)
