# CVE-2026-80651: crypto: ccp/sev-dev-tsm - bail out early when pdev-\>bus is NULL

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-08-28T06:48:59.460Z
- **Modified:** 2026-08-28T08:16:50.110Z

## Who should check

- Anyone running Linux \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 6bafd740095fb3d0e9a00540bc8f3484c38e6f85; \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 930d9d36ea618a775985446a125aedeb401db522
- Anyone running Linux 6.19

## Description

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

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

dsm\_create() initially checks pdev-\>bus when computing segment\_id:

	u8 segment\_id = pdev-\>bus ? pci\_domain\_nr(pdev-\>bus) : 0;

But the next two lines unconditionally dereference pdev-\>bus via
pcie\_find\_root\_port() and especially pci\_dev\_id(pdev), which expands
to PCI\_DEVID(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.

## Affected and fixed versions

- Linux: \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 6bafd740095fb3d0e9a00540bc8f3484c38e6f85; \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 930d9d36ea618a775985446a125aedeb401db522 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 930d9d36ea618a775985446a125aedeb401db522 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80651. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80651.md
Affected: Linux >= 4be423572da1f4c11f45168e3fafda870ddac9f8, < 6bafd740095fb3d0e9a00540bc8f3484c38e6f85; >= 4be423572da1f4c11f45168e3fafda870ddac9f8, < 930d9d36ea618a775985446a125aedeb401db522; Linux 6.19
Fixed in: Linux 6bafd740095fb3d0e9a00540bc8f3484c38e6f85, Linux 930d9d36ea618a775985446a125aedeb401db522

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80651 being exploited?

There is no confirmed exploitation: CVE-2026-80651 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80651?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80651?

Linux \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 6bafd740095fb3d0e9a00540bc8f3484c38e6f85; \>= 4be423572da1f4c11f45168e3fafda870ddac9f8, \< 930d9d36ea618a775985446a125aedeb401db522; Linux 6.19.

### Is there a fix for CVE-2026-80651?

Yes. Fixed in Linux 6bafd740095fb3d0e9a00540bc8f3484c38e6f85, Linux 930d9d36ea618a775985446a125aedeb401db522. Upgrade Linux to 930d9d36ea618a775985446a125aedeb401db522 or later.

### How do I check if I'm affected by CVE-2026-80651?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6bafd740095fb3d0e9a00540bc8f3484c38e6f85>
- other: <https://git.kernel.org/stable/c/930d9d36ea618a775985446a125aedeb401db522>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80651>

HTML: <https://flawdb.com/CVE-2026-80651> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80651>
