{"api_version":"1","generated_at":"2026-12-01T14:53:26+00:00","cve":"CVE-2026-139018","urls":{"html":"https://cve.report/CVE-2026-139018","api":"https://cve.report/api/cve/CVE-2026-139018.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139018","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139018"},"summary":{"title":"PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:05","updated_at":"2026-11-30 14:18:05"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07","name":"https://git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc","name":"https://git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7","name":"https://git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af","name":"https://git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932","name":"https://git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620","name":"https://git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139018","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139018","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb 5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb cad1c7c2a8552444a9bec6032774ac667f08afb7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb 980e10d35c44cccc5abff8fea7f96ce168af8f07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb ffa99759d4c01499d7eb78fce43db9db4d5da620 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb df46b452097bfe046e6c522b0b0e035259cbf8dc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e35f56bb03304abc92c928b641af41ca372966bb 5cdbd6d3a3a147fa9975e35f2602cbec9a72a932 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e2b6ef72b7aea9d7d480d2df499bcd1c93247abb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.153 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/pci/endpoint/functions/pci-epf-vntb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"lessThan":"cad1c7c2a8552444a9bec6032774ac667f08afb7","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"lessThan":"980e10d35c44cccc5abff8fea7f96ce168af8f07","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"lessThan":"ffa99759d4c01499d7eb78fce43db9db4d5da620","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"lessThan":"df46b452097bfe046e6c522b0b0e035259cbf8dc","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"lessThan":"5cdbd6d3a3a147fa9975e35f2602cbec9a72a932","status":"affected","version":"e35f56bb03304abc92c928b641af41ca372966bb","versionType":"git"},{"status":"affected","version":"e2b6ef72b7aea9d7d480d2df499bcd1c93247abb","versionType":"git"},{"lessThan":"5.16","status":"affected","version":"5.15.153","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/pci/endpoint/functions/pci-epf-vntb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.153","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:27:06.713Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139018","datePublished":"2026-11-30T13:27:06.713Z","dateReserved":"2026-11-30T13:22:15.909Z","dateUpdated":"2026-11-30T13:27:06.713Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:05","lastModifiedDate":"2026-11-30 14:18:05","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139018","Ordinal":"1","Title":"PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus life","CVE":"CVE-2026-139018","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139018","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus life"}]}}}