{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72410","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-09T03:40:39.926Z","datePublished":"2026-08-15T05:56:32.843Z","dateUpdated":"2026-08-17T05:43:50.739Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:43:50.739Z"},"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":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"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->bmap_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's 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->lf.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'd 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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"],"versions":[{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","lessThan":"0933fe0130eb71af0c3ab481b40f543b458a8c54","status":"affected","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","lessThan":"e0ac054416bf4e913fe96cefefe94e3331bbe6fa","status":"affected","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","lessThan":"b1f6381acf9d55fab208e8b4c252a5a671820bd9","status":"affected","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","lessThan":"1576d12a39860418d6a68b402fda71a48f04a57c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.2"}]}]}],"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"}}}}