CVE-2026-80651

Source
https://cve.org/CVERecord?id=CVE-2026-80651
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80651.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80651
Downstream
Published
2026-08-28T06:48:59.460Z
Modified
2026-08-29T03:47:17.046728012Z
Summary
crypto: ccp/sev-dev-tsm - bail out early when pdev->bus is NULL
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: ccp/sev-dev-tsm - bail out early when pdev->bus is NULL

dsmcreate() initially checks pdev->bus when computing segmentid:

u8 segment_id = pdev->bus ? pci_domain_nr(pdev->bus) : 0;

But the next two lines unconditionally dereference pdev->bus via pciefindrootport() and especially pcidevid(pdev), which expands to PCIDEVID(dev->bus->number, dev->devfn). If pdev->bus is in fact NULL, segment_id is initialised to 0 but the very next statement crashes the kernel.

smatch flags this:

drivers/crypto/ccp/sev-dev-tsm.c:253 dsm_create() error: we previously assumed 'pdev->bus' could be null (see line 251)

Make the NULL handling consistent: if pdev->bus is NULL the device has no PCI context to work with and SEV TIO setup cannot proceed, so return -ENODEV before any of the bus-dependent lookups. The remaining initialisation now runs only on the path where pdev->bus is known to be valid.

No change for callers where pdev->bus is non-NULL, which is the only case where dsm_create() did meaningful work before this change.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80651.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4be423572da1f4c11f45168e3fafda870ddac9f8
Fixed
6bafd740095fb3d0e9a00540bc8f3484c38e6f85
Fixed
930d9d36ea618a775985446a125aedeb401db522

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80651.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80651.json"