# CVE-2026-89751: x86/tdx: Fix off-by-one in port I/O handling

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:46:55.314Z
- **Modified:** 2026-10-19T09:18:18.113Z

## Who should check

- Anyone running Linux \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c6875423ad849ac234ab9812eb72f37ff8a490b4; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 220011fe95fc78b2bc2d7d43893bc73957a5c811; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 222b7005e4519f633b4cd666226256abbab46a1a; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c4a22154870813d10aa0b4c734a574c726f9d4b0; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< bb45f705c4440dd3c689328319b88dd28770bbb8; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 0f63e656b1c679d32ac595de29d10c03efca6a25
- Anyone running Linux 5.19

## Description

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

x86/tdx: Fix off-by-one in port I/O handling

handle\_in() and handle\_out() in arch/x86/coco/tdx/tdx.c use:

    u64 mask = GENMASK(BITS\_PER\_BYTE \* size, 0);

GENMASK(h, l) includes bit h. For size=1 (INB), this produces
GENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8
bits). The mask is one bit too wide for all I/O sizes.

Fix the mask calculation.

## Affected and fixed versions

- Linux: \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c6875423ad849ac234ab9812eb72f37ff8a490b4; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 220011fe95fc78b2bc2d7d43893bc73957a5c811; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 222b7005e4519f633b4cd666226256abbab46a1a; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c4a22154870813d10aa0b4c734a574c726f9d4b0; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< bb45f705c4440dd3c689328319b88dd28770bbb8; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 0f63e656b1c679d32ac595de29d10c03efca6a25 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 0f63e656b1c679d32ac595de29d10c03efca6a25 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-89751. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89751.md
Affected: Linux >= 03149948832a078f759022ed5b92e722d8d23c26, < c6875423ad849ac234ab9812eb72f37ff8a490b4; >= 03149948832a078f759022ed5b92e722d8d23c26, < 220011fe95fc78b2bc2d7d43893bc73957a5c811; >= 03149948832a078f759022ed5b92e722d8d23c26, < 222b7005e4519f633b4cd666226256abbab46a1a; >= 03149948832a078f759022e…
Fixed in: Linux 220011fe95fc78b2bc2d7d43893bc73957a5c811, Linux 222b7005e4519f633b4cd666226256abbab46a1a, Linux 0f63e656b1c679d32ac595de29d10c03efca6a25

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-89751 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c6875423ad849ac234ab9812eb72f37ff8a490b4; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 220011fe95fc78b2bc2d7d43893bc73957a5c811; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 222b7005e4519f633b4cd666226256abbab46a1a; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< c4a22154870813d10aa0b4c734a574c726f9d4b0; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< bb45f705c4440dd3c689328319b88dd28770bbb8; \>= 03149948832a078f759022ed5b92e722d8d23c26, \< 0f63e656b1c679d32ac595de29d10c03efca6a25; Linux 5.19.

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

Yes. Fixed in Linux 220011fe95fc78b2bc2d7d43893bc73957a5c811, Linux 222b7005e4519f633b4cd666226256abbab46a1a, Linux 0f63e656b1c679d32ac595de29d10c03efca6a25. Upgrade Linux to 0f63e656b1c679d32ac595de29d10c03efca6a25 or later.

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

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/c6875423ad849ac234ab9812eb72f37ff8a490b4>
- other: <https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811>
- other: <https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a>
- other: <https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0>
- other: <https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8>
- other: <https://git.kernel.org/stable/c/0f63e656b1c679d32ac595de29d10c03efca6a25>

## 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-89751>

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