CVE-2026-89751

Source
https://cve.org/CVERecord?id=CVE-2026-89751
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89751.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89751
Downstream
Published
2026-09-11T19:46:55Z
Modified
2026-09-12T11:47:16Z
Summary
x86/tdx: Fix off-by-one in port I/O handling
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89751.json"
}
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
03149948832a078f759022ed5b92e722d8d23c26
Fixed
222b7005e4519f633b4cd666226256abbab46a1a
Fixed
c4a22154870813d10aa0b4c734a574c726f9d4b0
Fixed
bb45f705c4440dd3c689328319b88dd28770bbb8
Fixed
0f63e656b1c679d32ac595de29d10c03efca6a25

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.12.109
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.50
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

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