x86/tdx: Fix off-by-one in port I/O handling (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/c6875423ad849ac234ab9812eb72f37ff8a490b4
- https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811
- https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a
- https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0
- https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8
- https://git.kernel.org/stable/c/0f63e656b1c679d32ac595de29d10c03efca6a25
European references
- ENISA EUVD · EUVD-2026-76663
- GCVE · GCVE-0-2026-89751
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 03149948832a078f759022ed5b92e722d8d23c26 < c6875423ad849ac234ab9812eb72f37ff8a490b4 ; affected 03149948832a078f759022ed5b92e722d8d23c26 < 220011fe95fc78b2bc2d7d43893bc73957a5c811 ; affected 03149948832a078f759022ed5b92e722d8d23c26 < 222b7005e4519f633b4cd666226256abbab46a1a ; affected 03149948832a078f759022ed5b92e722d8d23c26 < c4a22154870813d10aa0b4c734a574c726f9d4b0 ; affected 03149948832a078f759022ed5b92e722d8d23c26 < bb45f705c4440dd3c689328319b88dd28770bbb8 ; affected 03149948832a078f759022ed5b92e722d8d23c26 < 0f63e656b1c679d32ac595de29d10c03efca6a25 |
| Linux · Linux | affected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |