{"id":"CVE-2026-72410","state":"PUBLISHED","title":"octeontx2-af: Validate NIX maximum LFs correctly","description":"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.","publishedAt":"2026-08-15T05:56:32.843Z","updatedAt":"2026-08-17T05:43:50.739Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"0933fe0130eb71af0c3ab481b40f543b458a8c54","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"e0ac054416bf4e913fe96cefefe94e3331bbe6fa","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"b1f6381acf9d55fab208e8b4c252a5a671820bd9","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"1576d12a39860418d6a68b402fda71a48f04a57c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"]}],"references":["https://git.kernel.org/stable/c/0933fe0130eb71af0c3ab481b40f543b458a8c54","https://git.kernel.org/stable/c/e0ac054416bf4e913fe96cefefe94e3331bbe6fa","https://git.kernel.org/stable/c/b1f6381acf9d55fab208e8b4c252a5a671820bd9","https://git.kernel.org/stable/c/1576d12a39860418d6a68b402fda71a48f04a57c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72410.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72410","state":"PUBLISHED","datePublished":"2026-08-15T05:56:32.843Z","dateUpdated":"2026-08-17T05:43:50.739Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.926Z"},"containers":{"cna":{"title":"octeontx2-af: Validate NIX maximum LFs correctly","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"0933fe0130eb71af0c3ab481b40f543b458a8c54","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"e0ac054416bf4e913fe96cefefe94e3331bbe6fa","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"b1f6381acf9d55fab208e8b4c252a5a671820bd9","versionType":"git"},{"version":"dd7842878633453e38d6a4927593dd28b9d8ab91","status":"affected","lessThan":"1576d12a39860418d6a68b402fda71a48f04a57c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c"]}],"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"}],"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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:43:50.739Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}