CVE-2026-72405 (GCVE-0-2026-72405)
Vulnerability from cvelistv5
Published
2026-08-15 05:56
Modified
2026-08-17 05:43
Summary
In the Linux kernel, the following vulnerability has been resolved: net: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync Yue Sun reported a use-after-free and debugobjects warning in udp_tunnel_nic_device_sync_work() during concurrent device operations. The workqueue core clears the internal pending bit before invoking the worker. At that point, a concurrent thread can queue the work again. When the already running worker eventually clears the work_pending flag to 0, it mistakenly clears the flag for the newly queued instance. udp_tunnel_nic_unregister() then observes work_pending as 0 and frees the structure while the second work item is still active in the queue, leading to UAF. Fix this by returning early in udp_tunnel_nic_device_sync() if work_pending is already set, preventing redundant work queueing.
Impacted products
Vendor Product Version
Linux Linux Version: cc4e3835eff474aa274d6e1d18f69d9d296d3b76
Version: cc4e3835eff474aa274d6e1d18f69d9d296d3b76
Version: cc4e3835eff474aa274d6e1d18f69d9d296d3b76
Version: cc4e3835eff474aa274d6e1d18f69d9d296d3b76
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/udp_tunnel_nic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cee6688e5731c0591643521716d1a1a5c1a98bf8",
              "status": "affected",
              "version": "cc4e3835eff474aa274d6e1d18f69d9d296d3b76",
              "versionType": "git"
            },
            {
              "lessThan": "9075efb9b2c1d9d7a8285c937b64aa93ca0c41b7",
              "status": "affected",
              "version": "cc4e3835eff474aa274d6e1d18f69d9d296d3b76",
              "versionType": "git"
            },
            {
              "lessThan": "54292b167466cdf42176b7b6f01da66c184deb12",
              "status": "affected",
              "version": "cc4e3835eff474aa274d6e1d18f69d9d296d3b76",
              "versionType": "git"
            },
            {
              "lessThan": "ecf69d4b43370c587e48d4d70289dbdb7e039d4d",
              "status": "affected",
              "version": "cc4e3835eff474aa274d6e1d18f69d9d296d3b76",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/udp_tunnel_nic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync\n\nYue Sun reported a use-after-free and debugobjects warning in\nudp_tunnel_nic_device_sync_work() during concurrent device operations.\n\nThe workqueue core clears the internal pending bit before invoking the\nworker. At that point, a concurrent thread can queue the work again.\nWhen the already running worker eventually clears the work_pending flag\nto 0, it mistakenly clears the flag for the newly queued instance.\nudp_tunnel_nic_unregister() then observes work_pending as 0 and frees\nthe structure while the second work item is still active in the queue,\nleading to UAF.\n\nFix this by returning early in udp_tunnel_nic_device_sync() if\nwork_pending is already set, preventing redundant work queueing."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only through local netlink/RTNL paths (VXLAN/Geneve tunnel socket create/delete, netdev feature updates, or netdev unregister) that queue udp_tunnel_nic_device_sync; remote UDP/VXLAN packets do not enter this offload management code.\nAC:L - An attacker can reliably win the race by running concurrent tunnel create/delete or netdev operations in multiple threads; both the double-queue and the premature free depend on attacker-controlled timing, not on uncontrollable system state.\nPR:L - Triggering udp_tunnel_notify_add/del_rx_port requires CAP_NET_ADMIN (e.g. ip link add/del vxlan/geneve), which unprivileged users can obtain in a user/network namespace via unshare; no remote or pre-auth network path exists.\nUI:N - Exploitation requires only programmatic tunnel or netdev manipulation via netlink; no victim user action such as opening a file or mounting a filesystem is needed.\nS:U - Impact is kernel heap corruption and potential privilege escalation within the same kernel/host security domain; it does not by itself cross a VM, container, or IOMMU boundary to another authority.\nC:H - The flaw is a use-after-free of struct udp_tunnel_nic; freed offload state can be reallocated and read through the still-queued work handler, enabling arbitrary kernel memory disclosure.\nI:H - UAF on the udp_tunnel_nic work item and its entries allows heap grooming and corrupting kernel objects/driver callbacks, supporting arbitrary write and potential kernel code execution.\nA:H - Use-after-free in a workqueue handler on a shared offload path can cause kernel oops/panic or wedged NIC offload during concurrent tunnel churn, producing total loss of availability."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:43:45.202Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cee6688e5731c0591643521716d1a1a5c1a98bf8"
        },
        {
          "url": "https://git.kernel.org/stable/c/9075efb9b2c1d9d7a8285c937b64aa93ca0c41b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/54292b167466cdf42176b7b6f01da66c184deb12"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecf69d4b43370c587e48d4d70289dbdb7e039d4d"
        }
      ],
      "title": "net: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72405",
    "datePublished": "2026-08-15T05:56:29.466Z",
    "dateReserved": "2026-08-09T03:40:39.925Z",
    "dateUpdated": "2026-08-17T05:43:45.202Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…