CVE-2026-104379 (GCVE-0-2026-104379)

Vulnerability from cvelistv5 – Published: 2026-11-29 20:56 – Updated: 2026-11-29 20:56
VLAI
Title
Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data
Summary
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.
CWE
Assigner
zephyr CNA under the mitre root
CNA scorecard B 77/100 over 284 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
zephyrproject zephyr Affected: 3.3.0 , < 4.3.2 (semver)
Affected: 4.4.0 , < 4.5.0 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://github.com/zephyrproject-rtos/zephyr",
          "defaultStatus": "unaffected",
          "packageName": "zephyr",
          "product": "zephyr",
          "programFiles": [
            "subsys/net/ip/net_if.c"
          ],
          "programRoutines": [
            {
              "name": "net_if_try_send_data"
            }
          ],
          "vendor": "zephyrproject",
          "versions": [
            {
              "lessThan": "4.3.2",
              "status": "affected",
              "version": "3.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "4.5.0",
              "status": "affected",
              "version": "4.4.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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.\n\nIf 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.\n\nOn a dual-stack device an adjacent attacker can open this window by answering the device\u0027s 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-416",
              "description": "use-after-free",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-29T20:56:47.962Z",
        "orgId": "e2e69745-5e70-4e92-8431-deb5529a81ad",
        "shortName": "zephyr"
      },
      "references": [
        {
          "name": "Fix commit",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/zephyrproject-rtos/zephyr/commit/a38cb68982a7da25d75151997e1c3e4fe62772d9"
        },
        {
          "name": "GHSA-h75p-j842-39jq",
          "url": "https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq"
        }
      ],
      "title": "Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data",
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "e2e69745-5e70-4e92-8431-deb5529a81ad",
    "assignerShortName": "zephyr",
    "cveId": "CVE-2026-104379",
    "datePublished": "2026-11-29T20:56:47.962Z",
    "dateReserved": "2026-10-01T22:28:01.065Z",
    "dateUpdated": "2026-11-29T20:56:47.962Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://github.com/zephyrproject-rtos/zephyr",
                "defaultStatus": "unaffected",
                "packageName": "zephyr",
                "product": "zephyr",
                "programFiles": [
                  "subsys/net/ip/net_if.c"
                ],
                "programRoutines": [
                  {
                    "name": "net_if_try_send_data"
                  }
                ],
                "vendor": "zephyrproject",
                "versions": [
                  {
                    "lessThan": "4.3.2",
                    "status": "affected",
                    "version": "3.3.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.5.0",
                    "status": "affected",
                    "version": "4.4.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "vulnerabilities@zephyrproject.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s 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.\n\nIf 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.\n\nOn a dual-stack device an adjacent attacker can open this window by answering the device\u0027s 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."
          }
        ],
        "id": "CVE-2026-104379",
        "lastModified": "2026-11-29T21:17:01.557",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.6,
              "impactScore": 4.2,
              "source": "vulnerabilities@zephyrproject.org",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-29T21:17:01.450",
        "references": [
          {
            "source": "vulnerabilities@zephyrproject.org",
            "url": "https://github.com/zephyrproject-rtos/zephyr/commit/a38cb68982a7da25d75151997e1c3e4fe62772d9"
          },
          {
            "source": "vulnerabilities@zephyrproject.org",
            "url": "https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h75p-j842-39jq"
          }
        ],
        "sourceIdentifier": "vulnerabilities@zephyrproject.org",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-416"
              }
            ],
            "source": "vulnerabilities@zephyrproject.org",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.