CVE-2026-72410 (GCVE-0-2026-72410)
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: octeontx2-af: Validate NIX maximum LFs correctly NIX maximum number of LFs can be set via devlink command but that can be done before assigning any LFs to a PF/VF. The condition used to check whether any LFs are assigned is incorrect. This patch fixes that condition.
Impacted products
Vendor Product Version
Linux Linux Version: dd7842878633453e38d6a4927593dd28b9d8ab91
Version: dd7842878633453e38d6a4927593dd28b9d8ab91
Version: dd7842878633453e38d6a4927593dd28b9d8ab91
Version: dd7842878633453e38d6a4927593dd28b9d8ab91
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0933fe0130eb71af0c3ab481b40f543b458a8c54",
              "status": "affected",
              "version": "dd7842878633453e38d6a4927593dd28b9d8ab91",
              "versionType": "git"
            },
            {
              "lessThan": "e0ac054416bf4e913fe96cefefe94e3331bbe6fa",
              "status": "affected",
              "version": "dd7842878633453e38d6a4927593dd28b9d8ab91",
              "versionType": "git"
            },
            {
              "lessThan": "b1f6381acf9d55fab208e8b4c252a5a671820bd9",
              "status": "affected",
              "version": "dd7842878633453e38d6a4927593dd28b9d8ab91",
              "versionType": "git"
            },
            {
              "lessThan": "1576d12a39860418d6a68b402fda71a48f04a57c",
              "status": "affected",
              "version": "dd7842878633453e38d6a4927593dd28b9d8ab91",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "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": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: Validate NIX maximum LFs correctly\n\nNIX maximum number of LFs can be set via devlink command\nbut that can be done before assigning any LFs to a PF/VF.\nThe condition used to check whether any LFs are assigned is\nincorrect. This patch fixes that condition."
        }
      ],
      "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 flaw is reached only via DEVLINK_CMD_PARAM_SET netlink to the octeontx2-af RVU Admin Function devlink \"nix_maxlf\" parameter; there is no remote packet, mbox, or ioctl path into rvu_af_dl_nix_maxlf_validate()/set().\nAC:L - A CAP_NET_ADMIN caller can deterministically attach NIX LFs (PF/VF netdev probe) and issue the devlink set in the window before MCAM entries are allocated; the buggy mcam-\u003ebmap_fcnt check is bypassed whenever LFs are assigned but the MCAM bitmap is still full.\nPR:L - DEVLINK_CMD_PARAM_SET requires GENL_ADMIN_PERM (CAP_NET_ADMIN). On OcteonTX2 cloud/edge servers the AF devlink is host-local admin surface reachable by any principal holding netdev admin capability, including container runtimes granted CAP_NET_ADMIN.\nUI:N - Exploitation is fully programmatic via devlink netlink and concurrent netdev bringup; no victim click, mount, or other interactive action is required beyond the attacker\u0027s own administrative commands.\nS:U - Impact is confined to kernel/AF driver state on the host managing the Marvell OcteonTX2 NIC; it does not cross a VM-hypervisor, IOMMU, or container sandbox boundary to compromise a separate security authority.\nC:H - Bypassing validation lets rvu_af_dl_nix_maxlf_set() change block-\u003elf.max while LFs remain assigned, tear down MCAM tracking via npc_mcam_rsrcs_deinit(), and reinit with wrong nixlf_count, desynchronizing MCAM index math and enabling out-of-bounds reads of kmalloc\u0027d MCAM metadata.\nI:H - The same desync corrupts MCAM entry2pfvf_map/entry2cntr_map bookkeeping and NIX LF resource maps while hardware LFs stay attached, giving attacker-influenced out-of-bounds writes during subsequent MCAM/NIX operations and a plausible path to kernel code execution.\nA:H - Forcing MCAM reinitialization and inconsistent LF limits on an active OcteonTX2 AF can panic/oops the kernel or wedge NIC packet processing on internet-facing servers and telco/cloud nodes that depend on this hardware for line-rate networking."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:43:50.739Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0933fe0130eb71af0c3ab481b40f543b458a8c54"
        },
        {
          "url": "https://git.kernel.org/stable/c/e0ac054416bf4e913fe96cefefe94e3331bbe6fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1f6381acf9d55fab208e8b4c252a5a671820bd9"
        },
        {
          "url": "https://git.kernel.org/stable/c/1576d12a39860418d6a68b402fda71a48f04a57c"
        }
      ],
      "title": "octeontx2-af: Validate NIX maximum LFs correctly",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72410",
    "datePublished": "2026-08-15T05:56:32.843Z",
    "dateReserved": "2026-08-09T03:40:39.926Z",
    "dateUpdated": "2026-08-17T05:43:50.739Z",
    "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…