{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139221",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.921Z",
        "datePublished": "2026-11-30T13:32:43.374Z",
        "dateUpdated": "2026-11-30T13:32:43.374Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:32:43.374Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nionic: free port_info when probe fails after the port is set up\n\nionic_probe() allocates the port_info DMA buffer via ionic_setup_one()\n-> ionic_port_init(). If probe then fails anywhere after that, it\nunwinds through err_out_pci, which never calls ionic_port_reset();\nionic_dev_teardown() and ionic_clear_pci() do not touch port_info, and\nso the buffer is leaked. The call was lost when the setup code was\nmoved into ionic_setup_one().\n\nSince ionic_remove() already frees the port_info DMA buffer with\nionic_port_reset(), call that on the probe error path too. Every path\nto err_out_pci runs after ionic_setup_one() succeeded, so the BARs are\nstill mapped and the firmware gets a PORT_RESET before the buffer is\nfreed, the same order as in ionic_remove()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c"
                    ],
                    "versions": [
                        {
                            "version": "0de38d9f1dba2336f84799824af08263fc407dd1",
                            "lessThan": "4e9ec23592e793458e8cb34ccb90f9ad23b29425",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0de38d9f1dba2336f84799824af08263fc407dd1",
                            "lessThan": "bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0de38d9f1dba2336f84799824af08263fc407dd1",
                            "lessThan": "a886f04e84e0f96f362f14d8a6cf4cd882e00479",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0de38d9f1dba2336f84799824af08263fc407dd1",
                            "lessThan": "9150b7787824c9e1d3435fc9be7ed5ca6a270e2f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0de38d9f1dba2336f84799824af08263fc407dd1",
                            "lessThan": "4e15e0a941ce901d51b5f203713fa90feee9c4d3",
                            "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/pensando/ionic/ionic_bus_pci.c"
                    ],
                    "versions": [
                        {
                            "version": "6.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.6",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4e9ec23592e793458e8cb34ccb90f9ad23b29425"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a886f04e84e0f96f362f14d8a6cf4cd882e00479"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9150b7787824c9e1d3435fc9be7ed5ca6a270e2f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4e15e0a941ce901d51b5f203713fa90feee9c4d3"
                }
            ],
            "title": "ionic: free port_info when probe fails after the port is set up",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}