Skip to content
Heist/ feed
High

mpls: add seqcount to protect the platform_label{,s} pair

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: mpls: add seqcount to protect the platform_label{,s} pair The RCU-protected codepaths (mpls_forward, mpls_dump_routes) can have an inconsistent view of platform_labels vs platform_label in case of a concurrent resize (resize_platform_label_table, under platform_mutex). This can lead to OOB accesses. This patch adds a seqcount, so that we get a consistent snapshot. Note that mpls_label_ok is also susceptible to this, so the check against RTA_DST in rtm_to_route_config, done outside platform_mutex, is not sufficient. This value gets passed to mpls_label_ok once more in both mpls_route_add and mpls_route_del, so there is no issue, but that additional check must not be removed.

Announced Source revision 1
Original source ↗

CVE-2026-43042

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-43042

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
        "lessThan": "0d377825548fe598595b5a5fa4a309fb593d8fb4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
        "lessThan": "8adc5b6fc876928d8c95555d30b66fa50b07421e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
        "lessThan": "5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
        "lessThan": "629ec78ef8608d955ce217880cdc3e1873af3a15",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "include/net/netns/mpls.h",
      "net/mpls/af_mpls.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.12",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "include/net/netns/mpls.h",
      "net/mpls/af_mpls.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43042

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#46251 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement