{"id":"CVE-2026-90079","revision":"9b03b9b3a1944d0e8aa730ef13a91fa7","records":[{"revision":"9b03b9b3a1944d0e8aa730ef13a91fa7","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90079","aliases":[],"title":"octeontx2-af: fix cn20k mailbox lifetime on repeated rvu_mbox_init()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: fix cn20k mailbox lifetime on repeated rvu_mbox_init()\n\nrvu_mbox_init() is called separately for AF-PF mailboxes during probe\nand for AF-VF mailboxes when SR-IOV is enabled.  Each call used to\nallocate a new ng_rvu object, leaking the first allocation when the\npointer was overwritten on the second call.\n\nSharing one ng_rvu across both paths exposed several teardown bugs:\nthe error path freed all cn20k mailbox DMA and kfree()d ng_rvu even\nwhen only the failing init type should be unwound, leaving live AF-PF\nmailbox memory in use after an AF-VF init failure.  mutex_init() was\nalso re-run on the AF-VF path while AF-PF mailbox handlers could still\nhold rvu->mbox_lock.  Probe and SR-IOV failure paths did not release\ncn20k mailbox DMA either, since cleanup only happened in rvu_remove().\n\nAllocate ng_rvu once with devm_kzalloc(), initialize mbox_lock in the\nsame block, unwind only the mailbox memory for the failing init type,\nand free cn20k mailbox DMA from the probe and pci_enable_sriov()\nerror paths.","state":0,"publishedAt":"2026-09-17T16:05:57.541+00:00","modifiedAt":"2026-10-19T08:57:35.887+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/marvell/octeontx2/af/cn20k/api.h\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/cn20k/mbox_init.c\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"e53ee4acb220acab6832669334279367b0206af6\",\n                            \"lessThan\": \"c08314f91782983d67af0807ed1360e404ac4a8b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e53ee4acb220acab6832669334279367b0206af6\",\n                            \"lessThan\": \"a0fcbea79f034f49bdd44915f28938922023458d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e53ee4acb220acab6832669334279367b0206af6\",\n                            \"lessThan\": \"3b11a77f69980932c3924054d66e565c9a135747\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/marvell/octeontx2/af/cn20k/api.h\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/cn20k/mbox_init.c\",\n                        \"drivers/net/ethernet/marvell/octeontx2/af/rvu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.17\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.17\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.57\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/c08314f91782983d67af0807ed1360e404ac4a8b","https://git.kernel.org/stable/c/a0fcbea79f034f49bdd44915f28938922023458d","https://git.kernel.org/stable/c/3b11a77f69980932c3924054d66e565c9a135747"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90079","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90079","identifiers":["CVE-2026-90079"]},"retained":false,"historicalAffected":[]}],"coverage":[]}