CVE-2026-43042 (GCVE-0-2026-43042)
Vulnerability from cvelistv5
Published
2026-05-01 14:15
Modified
2026-10-30 12:24
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 7720c01f3f590116882e251f13c7e1d5602f8643
Version: 7720c01f3f590116882e251f13c7e1d5602f8643
Version: 7720c01f3f590116882e251f13c7e1d5602f8643
Version: 7720c01f3f590116882e251f13c7e1d5602f8643
Version: 7720c01f3f590116882e251f13c7e1d5602f8643
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-43042",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:13:53.309258Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-362",
                "description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T19:06:10.994Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/net/netns/mpls.h",
            "net/mpls/af_mpls.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6b9184ebc936f791631e51e783ab30320b3770e4",
              "status": "affected",
              "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
              "versionType": "git"
            },
            {
              "lessThan": "0d377825548fe598595b5a5fa4a309fb593d8fb4",
              "status": "affected",
              "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
              "versionType": "git"
            },
            {
              "lessThan": "8adc5b6fc876928d8c95555d30b66fa50b07421e",
              "status": "affected",
              "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
              "versionType": "git"
            },
            {
              "lessThan": "5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef",
              "status": "affected",
              "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
              "versionType": "git"
            },
            {
              "lessThan": "629ec78ef8608d955ce217880cdc3e1873af3a15",
              "status": "affected",
              "version": "7720c01f3f590116882e251f13c7e1d5602f8643",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/net/netns/mpls.h",
            "net/mpls/af_mpls.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.1"
            },
            {
              "lessThan": "4.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmpls: add seqcount to protect the platform_label{,s} pair\n\nThe RCU-protected codepaths (mpls_forward, mpls_dump_routes) can have\nan inconsistent view of platform_labels vs platform_label in case of a\nconcurrent resize (resize_platform_label_table, under\nplatform_mutex). This can lead to OOB accesses.\n\nThis patch adds a seqcount, so that we get a consistent snapshot.\n\nNote that mpls_label_ok is also susceptible to this, so the check\nagainst RTA_DST in rtm_to_route_config, done outside platform_mutex,\nis not sufficient. This value gets passed to mpls_label_ok once more\nin both mpls_route_add and mpls_route_del, so there is no issue, but\nthat additional check must not be removed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The self-contained exploit path is local: the attacker races writes to /proc/sys/net/mpls/platform_labels with rtnetlink RTM_GETROUTE dumps in the same network namespace. Remote MPLS packets can reach one reader path, but a remote-only attacker cannot perform the required table resize.\nAC:L - The vulnerable condition is a race, but a local attacker can control both sides by repeatedly resizing platform_labels and issuing concurrent route dumps or packet processing. No external timing or victim state is required beyond retrying the race.\nPR:L - Writing the MPLS platform_labels sysctl requires CAP_NET_ADMIN over the target network namespace. That capability is reachable by an unprivileged user through a user namespace plus network namespace, so this is low privilege rather than high privilege.\nUI:N - No victim user action is required. The attacker can trigger the resize and reader paths directly.\nS:U - The bug is within the kernel networking/MPLS subsystem and impacts the same kernel security authority. It is not a VM escape or cross-authority boundary bypass.\nC:H - The inconsistent platform_labels/platform_label snapshot can cause out-of-bounds reads of the route pointer table and dereference attacker-influenced or adjacent kernel memory as mpls_route data. Through the route dump path this can disclose kernel memory, so confidentiality is high.\nI:N - The bug is an out-of-bounds read/dereference of the route table pointer array, not an out-of-bounds write or direct memory corruption primitive. The investigated paths do not provide a defensible arbitrary kernel data modification primitive.\nA:H - The race can make readers index a NULL, stale, or too-small platform_label array and dereference invalid pointers. This can reliably lead to kernel oops/panic or other high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:24:50.878Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6b9184ebc936f791631e51e783ab30320b3770e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d377825548fe598595b5a5fa4a309fb593d8fb4"
        },
        {
          "url": "https://git.kernel.org/stable/c/8adc5b6fc876928d8c95555d30b66fa50b07421e"
        },
        {
          "url": "https://git.kernel.org/stable/c/5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/629ec78ef8608d955ce217880cdc3e1873af3a15"
        }
      ],
      "title": "mpls: add seqcount to protect the platform_label{,s} pair",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43042",
    "datePublished": "2026-05-01T14:15:38.882Z",
    "dateReserved": "2026-05-01T14:12:55.978Z",
    "dateUpdated": "2026-10-30T12:24:50.878Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-43042\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:13:53.309258Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-362\", \"description\": \"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:13:53.884Z\"}}], \"cna\": {\"title\": \"mpls: add seqcount to protect the platform_label{,s} pair\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.1, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The self-contained exploit path is local: the attacker races writes to /proc/sys/net/mpls/platform_labels with rtnetlink RTM_GETROUTE dumps in the same network namespace. Remote MPLS packets can reach one reader path, but a remote-only attacker cannot perform the required table resize.\\nAC:L - The vulnerable condition is a race, but a local attacker can control both sides by repeatedly resizing platform_labels and issuing concurrent route dumps or packet processing. No external timing or victim state is required beyond retrying the race.\\nPR:L - Writing the MPLS platform_labels sysctl requires CAP_NET_ADMIN over the target network namespace. That capability is reachable by an unprivileged user through a user namespace plus network namespace, so this is low privilege rather than high privilege.\\nUI:N - No victim user action is required. The attacker can trigger the resize and reader paths directly.\\nS:U - The bug is within the kernel networking/MPLS subsystem and impacts the same kernel security authority. It is not a VM escape or cross-authority boundary bypass.\\nC:H - The inconsistent platform_labels/platform_label snapshot can cause out-of-bounds reads of the route pointer table and dereference attacker-influenced or adjacent kernel memory as mpls_route data. Through the route dump path this can disclose kernel memory, so confidentiality is high.\\nI:N - The bug is an out-of-bounds read/dereference of the route table pointer array, not an out-of-bounds write or direct memory corruption primitive. The investigated paths do not provide a defensible arbitrary kernel data modification primitive.\\nA:H - The race can make readers index a NULL, stale, or too-small platform_label array and dereference invalid pointers. This can reliably lead to kernel oops/panic or other high availability impact.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"7720c01f3f590116882e251f13c7e1d5602f8643\", \"lessThan\": \"6b9184ebc936f791631e51e783ab30320b3770e4\", \"versionType\": \"git\"}, {\"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.1.191\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"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\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6b9184ebc936f791631e51e783ab30320b3770e4\"}, {\"url\": \"https://git.kernel.org/stable/c/0d377825548fe598595b5a5fa4a309fb593d8fb4\"}, {\"url\": \"https://git.kernel.org/stable/c/8adc5b6fc876928d8c95555d30b66fa50b07421e\"}, {\"url\": \"https://git.kernel.org/stable/c/5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef\"}, {\"url\": \"https://git.kernel.org/stable/c/629ec78ef8608d955ce217880cdc3e1873af3a15\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmpls: add seqcount to protect the platform_label{,s} pair\\n\\nThe RCU-protected codepaths (mpls_forward, mpls_dump_routes) can have\\nan inconsistent view of platform_labels vs platform_label in case of a\\nconcurrent resize (resize_platform_label_table, under\\nplatform_mutex). This can lead to OOB accesses.\\n\\nThis patch adds a seqcount, so that we get a consistent snapshot.\\n\\nNote that mpls_label_ok is also susceptible to this, so the check\\nagainst RTA_DST in rtm_to_route_config, done outside platform_mutex,\\nis not sufficient. This value gets passed to mpls_label_ok once more\\nin both mpls_route_add and mpls_route_del, so there is no issue, but\\nthat additional check must not be removed.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.191\", \"versionStartIncluding\": \"4.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.160\", \"versionStartIncluding\": \"4.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.114\", \"versionStartIncluding\": \"4.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19.12\", \"versionStartIncluding\": \"4.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0\", \"versionStartIncluding\": \"4.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-10-30T12:24:50.878Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-43042\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-30T12:24:50.878Z\", \"dateReserved\": \"2026-05-01T14:12:55.978Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-05-01T14:15:38.882Z\", \"assignerShortName\": \"Linux\"}",
      "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…