CVE-2026-143272 (GCVE-0-2026-143272)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:21 – Updated: 2026-12-04 03:32
VLAI
Title
ip6mr: Serialize multicast router socket ownership
Summary
In the Linux kernel, the following vulnerability has been resolved: ip6mr: Serialize multicast router socket ownership MRT6_TABLE checks whether the socket owns its current table before acquiring RTNL. MRT6_INIT also looks up its table before taking RTNL. Consequently, concurrent TABLE and INIT calls can initialize the old table and then change the socket's selected table. Another INIT can register the same socket in the new table. rawv6_close() calls ip6mr_sk_done(), which clears only the first table owned by the socket. After the socket's RCU-delayed free, the other table retains a dangling mroute_sk pointer. A subsequent multicast cache report passes that pointer to sock_queue_rcv_skb_reason(). This produces a KASAN slab-use-after-free in sk_filter_trim_cap(). Look up the selected table in ip6mr_sk_init() after acquiring RTNL. Likewise, re-read the current table and check its owner under RTNL in MRT6_TABLE before updating the selection. This preserves the single-table ownership invariant shared with ip6mr_sk_done(), without changing the locking of the other multicast socket options.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d1db275dd3f6e4182c4c4b4a1ac6287925d60569 , < 3ebf0303d121825f2cff9d050b6e4f8a6b85214d (git)
Affected: d1db275dd3f6e4182c4c4b4a1ac6287925d60569 , < 0978e904f7e1470f793a6d095a5413a47b31a7df (git)
Affected: d1db275dd3f6e4182c4c4b4a1ac6287925d60569 , < f9ca379fec83686acc41e97ee714c99544abbc16 (git)
Affected: d1db275dd3f6e4182c4c4b4a1ac6287925d60569 , < c6b41de4dd9f2d6856d8d8d292348f7961034152 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.35
Unaffected: 0 , < 2.6.35 (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (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/ipv6/ip6mr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3ebf0303d121825f2cff9d050b6e4f8a6b85214d",
              "status": "affected",
              "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
              "versionType": "git"
            },
            {
              "lessThan": "0978e904f7e1470f793a6d095a5413a47b31a7df",
              "status": "affected",
              "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
              "versionType": "git"
            },
            {
              "lessThan": "f9ca379fec83686acc41e97ee714c99544abbc16",
              "status": "affected",
              "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
              "versionType": "git"
            },
            {
              "lessThan": "c6b41de4dd9f2d6856d8d8d292348f7961034152",
              "status": "affected",
              "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv6/ip6mr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.35"
            },
            {
              "lessThan": "2.6.35",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nip6mr: Serialize multicast router socket ownership\n\nMRT6_TABLE checks whether the socket owns its current table before\nacquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.\nConsequently, concurrent TABLE and INIT calls can initialize the old\ntable and then change the socket\u0027s selected table. Another INIT can\nregister the same socket in the new table.\n\nrawv6_close() calls ip6mr_sk_done(), which clears only the first table\nowned by the socket. After the socket\u0027s RCU-delayed free, the other\ntable retains a dangling mroute_sk pointer. A subsequent multicast cache\nreport passes that pointer to sock_queue_rcv_skb_reason(). This produces\na KASAN slab-use-after-free in sk_filter_trim_cap().\n\nLook up the selected table in ip6mr_sk_init() after acquiring RTNL.\nLikewise, re-read the current table and check its owner under RTNL in\nMRT6_TABLE before updating the selection. This preserves the single-table\nownership invariant shared with ip6mr_sk_done(), without changing the\nlocking of the other multicast socket options."
        }
      ],
      "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 owning state is created by setsockopt(SOL_IPV6, MRT6_INIT) and setsockopt(SOL_IPV6, MRT6_TABLE) on an AF_INET6 SOCK_RAW IPPROTO_ICMPV6 socket. sock_common_setsockopt calls rawv6_setsockopt, then ipv6_setsockopt and do_ipv6_setsockopt, which call ip6mr_sk_init and store the new id in raw6_sk(sk)-\u003eip6mr_table. That is the path the fix changes.\nAC:L - do_ipv6_setsockopt calls ip6_mroute_setsockopt before sockopt_lock_sock, so the attacker races two of their own threads: MRT6_TABLE\u0027s pre-RTNL mroute_sk check against MRT6_INIT\u0027s pre-RTNL table lookup. They MRT6_ADD_MIF on the surviving table, add an RTM_NEWRULE for RTNL_FAMILY_IP6MR selecting it, close through rawv6_close, and inject the cache-miss packet.\nPR:L - ip6_mroute_setsockopt allows MRT6_TABLE only when ns_capable(sock_net(sk)-\u003euser_ns, CAP_NET_ADMIN) or the socket is already mroute_sk, and inet6_create allows this SOCK_RAW only when ns_capable(net-\u003euser_ns, CAP_NET_RAW). Both hold for the root of a user namespace that owns the netns (unshare -Urn).\nUI:N - The same attacker opens the ICMPV6 raw socket, races MRT6_INIT with MRT6_TABLE, adds the vif, installs the IP6MR rule, closes the socket, and sends the IPv6 multicast packet that reaches ip6_mr_input and ip6mr_cache_report.\nS:U - ip6mr_cache_report dereferences mr_table.mroute_sk in the kernel that allocated the raw socket. The resulting struct sock use-after-free stays inside that kernel, the same security authority as the vulnerable ip6mr code.\nC:H - ip6mr_sk_done nulls mroute_sk on only the first matching table and breaks, so after the SOCK_RCU_FREE grace period ip6mr_cache_report still hands the freed sock to sock_queue_rcv_skb_reason. sk_filter_trim_cap then reads sk-\u003esk_filter and sk flags from the reclaimed slab, the KASAN use-after-free the fix describes, which yields a kernel read primitive.\nI:H - sock_queue_rcv_skb_reason continues into __sock_queue_rcv_skb, which links the skb onto sk_receive_queue and calls sk-\u003esk_data_ready, while sk_filter_trim_cap runs the bpf prog at sk-\u003esk_filter when that pointer is non-NULL. Spraying the freed sock slot turns those writes and indirect calls into kernel code execution.\nA:H - Once the second table\u0027s mroute_sk dangles, the next ip6mr_cache_report path reaches sk_filter_trim_cap on freed memory. The fix commit reports that as a KASAN slab-use-after-free, which faults and oopses the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:32:05.050Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3ebf0303d121825f2cff9d050b6e4f8a6b85214d"
        },
        {
          "url": "https://git.kernel.org/stable/c/0978e904f7e1470f793a6d095a5413a47b31a7df"
        },
        {
          "url": "https://git.kernel.org/stable/c/f9ca379fec83686acc41e97ee714c99544abbc16"
        },
        {
          "url": "https://git.kernel.org/stable/c/c6b41de4dd9f2d6856d8d8d292348f7961034152"
        }
      ],
      "title": "ip6mr: Serialize multicast router socket ownership",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143272",
    "datePublished": "2026-12-03T09:21:13.728Z",
    "dateReserved": "2026-12-03T03:10:28.363Z",
    "dateUpdated": "2026-12-04T03:32:05.050Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143272",
      "date": "2026-12-04",
      "epss": "0.00164",
      "percentile": "0.05791"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:02:04.000Z",
      "cve": "CVE-2026-143272",
      "id": "msrc_CVE-2026-143272",
      "initial_release_date": "2026-12-03T18:56:29.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ip6mr: Serialize multicast router socket ownership",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143272.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv6/ip6mr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3ebf0303d121825f2cff9d050b6e4f8a6b85214d",
                    "status": "affected",
                    "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0978e904f7e1470f793a6d095a5413a47b31a7df",
                    "status": "affected",
                    "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f9ca379fec83686acc41e97ee714c99544abbc16",
                    "status": "affected",
                    "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c6b41de4dd9f2d6856d8d8d292348f7961034152",
                    "status": "affected",
                    "version": "d1db275dd3f6e4182c4c4b4a1ac6287925d60569",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv6/ip6mr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.6.35"
                  },
                  {
                    "lessThan": "2.6.35",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.120",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.66",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nip6mr: Serialize multicast router socket ownership\n\nMRT6_TABLE checks whether the socket owns its current table before\nacquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.\nConsequently, concurrent TABLE and INIT calls can initialize the old\ntable and then change the socket\u0027s selected table. Another INIT can\nregister the same socket in the new table.\n\nrawv6_close() calls ip6mr_sk_done(), which clears only the first table\nowned by the socket. After the socket\u0027s RCU-delayed free, the other\ntable retains a dangling mroute_sk pointer. A subsequent multicast cache\nreport passes that pointer to sock_queue_rcv_skb_reason(). This produces\na KASAN slab-use-after-free in sk_filter_trim_cap().\n\nLook up the selected table in ip6mr_sk_init() after acquiring RTNL.\nLikewise, re-read the current table and check its owner under RTNL in\nMRT6_TABLE before updating the selection. This preserves the single-table\nownership invariant shared with ip6mr_sk_done(), without changing the\nlocking of the other multicast socket options."
          }
        ],
        "id": "CVE-2026-143272",
        "lastModified": "2026-12-04T04:17:46.490",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:18:11.123",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0978e904f7e1470f793a6d095a5413a47b31a7df"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3ebf0303d121825f2cff9d050b6e4f8a6b85214d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c6b41de4dd9f2d6856d8d8d292348f7961034152"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f9ca379fec83686acc41e97ee714c99544abbc16"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:56:08+00:00",
      "cve": "CVE-2026-143272",
      "id": "CVE-2026-143272",
      "initial_release_date": "2026-12-03T09:21:13.728000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via race condition in IPv6 multicast routing",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143272.json",
      "version": "3"
    }
  }
}



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.