{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139018",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.909Z",
        "datePublished": "2026-11-30T13:27:06.713Z",
        "dateUpdated": "2026-11-30T13:27:06.713Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:06.713Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime\n\nThe virtual PCI driver registers an ntb_dev but has no remove callback.\nUnbinding the endpoint function can therefore free BARs while the NTB\ndevice and its client still use them. It also leaves the virtual PCI\ndevices and root bus allocated.\n\nAllocate an ntb_dev for each virtual PCI probe and unregister it from the\nmatching remove callback. Start command processing only after registration.\nPublish the device for doorbell IRQs at the same point. During remove, stop\nthe command work and drain IRQ handlers before unregistering the device.\n\nRetain the root bus returned by pci_scan_bus() so it can be removed on\nunbind. Unregister the virtual PCI driver before releasing endpoint\nresources. Stop and remove the root bus under the PCI rescan/remove lock,\nthen release its host bridge."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pci/endpoint/functions/pci-epf-vntb.c"
                    ],
                    "versions": [
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "cad1c7c2a8552444a9bec6032774ac667f08afb7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "980e10d35c44cccc5abff8fea7f96ce168af8f07",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "ffa99759d4c01499d7eb78fce43db9db4d5da620",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "df46b452097bfe046e6c522b0b0e035259cbf8dc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e35f56bb03304abc92c928b641af41ca372966bb",
                            "lessThan": "5cdbd6d3a3a147fa9975e35f2602cbec9a72a932",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e2b6ef72b7aea9d7d480d2df499bcd1c93247abb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.153",
                            "lessThan": "5.16",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pci/endpoint/functions/pci-epf-vntb.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "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.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.153"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620"
                },
                {
                    "url": "https://git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932"
                }
            ],
            "title": "PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}