CVE-2026-68161 (GCVE-0-2026-68161)

Vulnerability from cvelistv5 – Published: 2026-08-10 11:59 – Updated: 2026-08-17 04:59
VLAI
Title
sctp: close UDP tunnel sockets during netns teardown
Summary
In the Linux kernel, the following vulnerability has been resolved: sctp: close UDP tunnel sockets during netns teardown proc_sctp_do_udp_port() starts per-net SCTP UDP tunneling sockets when net.sctp.udp_port is set, and stops/restarts them when the sysctl value changes. The netns exit path does not stop these sockets, so a namespace can be torn down while its SCTP UDP tunnel sockets are still installed. Close the UDP tunnel sockets from sctp_ctrlsock_exit() after unregistering the per-net sysctl table. This prevents new sysctl writes from racing in while the sockets are being released, and closes the sockets before the control socket is destroyed.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 046c052b475e7119b6a30e3483e2888fc606a2f8 , < c6eb2d615210b80339548ab07c0230edaab9a6c7 (git)
Affected: 046c052b475e7119b6a30e3483e2888fc606a2f8 , < 8ff78591d309c50a4fdab683b68dd8d512a270dd (git)
Affected: 046c052b475e7119b6a30e3483e2888fc606a2f8 , < 3bf0e349cbb4f975f35eb22753acc346b89c66a0 (git)
Affected: 046c052b475e7119b6a30e3483e2888fc606a2f8 , < 37ff9794be48d0caa37687e04d09675f9c849121 (git)
Affected: 046c052b475e7119b6a30e3483e2888fc606a2f8 , < ffb2bd7ade36ec4da32c46a6eddbf4515316d08c (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.11
Unaffected: 0 , < 5.11 (semver)
Unaffected: 6.6.151 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sctp/protocol.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6eb2d615210b80339548ab07c0230edaab9a6c7",
              "status": "affected",
              "version": "046c052b475e7119b6a30e3483e2888fc606a2f8",
              "versionType": "git"
            },
            {
              "lessThan": "8ff78591d309c50a4fdab683b68dd8d512a270dd",
              "status": "affected",
              "version": "046c052b475e7119b6a30e3483e2888fc606a2f8",
              "versionType": "git"
            },
            {
              "lessThan": "3bf0e349cbb4f975f35eb22753acc346b89c66a0",
              "status": "affected",
              "version": "046c052b475e7119b6a30e3483e2888fc606a2f8",
              "versionType": "git"
            },
            {
              "lessThan": "37ff9794be48d0caa37687e04d09675f9c849121",
              "status": "affected",
              "version": "046c052b475e7119b6a30e3483e2888fc606a2f8",
              "versionType": "git"
            },
            {
              "lessThan": "ffb2bd7ade36ec4da32c46a6eddbf4515316d08c",
              "status": "affected",
              "version": "046c052b475e7119b6a30e3483e2888fc606a2f8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sctp/protocol.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.151",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "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.6.151",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: close UDP tunnel sockets during netns teardown\n\nproc_sctp_do_udp_port() starts per-net SCTP UDP tunneling sockets when\nnet.sctp.udp_port is set, and stops/restarts them when the sysctl value\nchanges. The netns exit path does not stop these sockets, so a namespace\ncan be torn down while its SCTP UDP tunnel sockets are still installed.\n\nClose the UDP tunnel sockets from sctp_ctrlsock_exit() after unregistering\nthe per-net sysctl table. This prevents new sysctl writes from racing in\nwhile the sockets are being released, and closes the sockets before the\ncontrol socket is destroyed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - Stale SCTP UDP tunnel sockets left installed after netns teardown still receive remote SCTP-over-UDP (RFC 6951) on the configured net.sctp.udp_port; packets enter sctp_udp_rcv\u2192sctp_rcv in softirq and touch freed per-net SCTP/UDP state.\nAC:L - An attacker can repeatedly race namespace deletion against SCTP-over-UDP traffic they send or receive, controlling both teardown timing and packet delivery; no attacker-uncontrollable memory layout or rare kernel config is required beyond SCTP being enabled.\nPR:N - On SCTP-over-UDP deployments where net.sctp.udp_port is already configured, any remote SCTP peer needs no credentials on the target; alternatively an unprivileged local user obtains CAP_NET_ADMIN via user namespaces to set udp_port and destroy the namespace.\nUI:N - Exploitation requires only attacker-driven SCTP-over-UDP traffic and namespace lifecycle events (e.g., container restart); no victim must mount a filesystem, open a file, or take any separate interactive action.\nS:U - Impact is host-kernel slab use-after-free and memory corruption within the same OS security authority; it does not cross VM, IOMMU, or sandbox boundaries to affect a separate security domain.\nC:H - Use-after-free of struct net and SCTP UDP tunnel socket state lets an attacker influence freed slab contents and obtain arbitrary kernel memory read primitives through subsequent SCTP/UDP lookups and socket processing.\nI:H - The UAF enables heap grooming and reuse of freed per-net/socket objects in SCTP/UDP handlers, supporting arbitrary kernel writes and control-flow hijack typical of slab use-after-free exploitation.\nA:H - Dereferencing SCTP/UDP tunnel sockets and per-net state after netns free causes slab use-after-free detections, kernel oops, or panic; even unexploited UAF commonly crashes or hangs the host."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T04:59:57.755Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6eb2d615210b80339548ab07c0230edaab9a6c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ff78591d309c50a4fdab683b68dd8d512a270dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bf0e349cbb4f975f35eb22753acc346b89c66a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/37ff9794be48d0caa37687e04d09675f9c849121"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffb2bd7ade36ec4da32c46a6eddbf4515316d08c"
        }
      ],
      "title": "sctp: close UDP tunnel sockets during netns teardown",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68161",
    "datePublished": "2026-08-10T11:59:28.072Z",
    "dateReserved": "2026-07-30T09:28:09.372Z",
    "dateUpdated": "2026-08-17T04:59:57.755Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68161",
      "date": "2026-08-20",
      "epss": "0.00626",
      "percentile": "0.47373"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68161\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:02.447\",\"lastModified\":\"2026-08-17T05:18:16.567\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsctp: close UDP tunnel sockets during netns teardown\\n\\nproc_sctp_do_udp_port() starts per-net SCTP UDP tunneling sockets when\\nnet.sctp.udp_port is set, and stops/restarts them when the sysctl value\\nchanges. The netns exit path does not stop these sockets, so a namespace\\ncan be torn down while its SCTP UDP tunnel sockets are still installed.\\n\\nClose the UDP tunnel sockets from sctp_ctrlsock_exit() after unregistering\\nthe per-net sysctl table. This prevents new sysctl writes from racing in\\nwhile the sockets are being released, and closes the sockets before the\\ncontrol socket is destroyed.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/sctp/protocol.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"046c052b475e7119b6a30e3483e2888fc606a2f8\",\"lessThan\":\"c6eb2d615210b80339548ab07c0230edaab9a6c7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"046c052b475e7119b6a30e3483e2888fc606a2f8\",\"lessThan\":\"8ff78591d309c50a4fdab683b68dd8d512a270dd\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"046c052b475e7119b6a30e3483e2888fc606a2f8\",\"lessThan\":\"3bf0e349cbb4f975f35eb22753acc346b89c66a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"046c052b475e7119b6a30e3483e2888fc606a2f8\",\"lessThan\":\"37ff9794be48d0caa37687e04d09675f9c849121\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"046c052b475e7119b6a30e3483e2888fc606a2f8\",\"lessThan\":\"ffb2bd7ade36ec4da32c46a6eddbf4515316d08c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/sctp/protocol.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.151\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/37ff9794be48d0caa37687e04d09675f9c849121\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3bf0e349cbb4f975f35eb22753acc346b89c66a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ff78591d309c50a4fdab683b68dd8d512a270dd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c6eb2d615210b80339548ab07c0230edaab9a6c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ffb2bd7ade36ec4da32c46a6eddbf4515316d08c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-14T05:59:24+00:00",
      "cve": "CVE-2026-68161",
      "id": "CVE-2026-68161",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "44",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: sctp: close UDP tunnel sockets during netns teardown",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68161.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-13T16:24:02Z",
      "cve": "CVE-2026-68161",
      "id": "CVE-2026-68161",
      "initial_release_date": "2026-08-13T16:24:02Z",
      "product_status:known_affected": "292",
      "product_status:known_not_affected": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68161",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68161.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…