{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89751","id":"CVE-2026-89751","title":"x86/tdx: Fix off-by-one in port I/O handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/tdx: Fix off-by-one in port I/O handling\n\nhandle_in() and handle_out() in arch/x86/coco/tdx/tdx.c use:\n\n    u64 mask = GENMASK(BITS_PER_BYTE * size, 0);\n\nGENMASK(h, l) includes bit h. For size=1 (INB), this produces\nGENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8\nbits). The mask is one bit too wide for all I","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/tdx: Fix off-by-one in port I/O handling\n\nhandle_in() and handle_out() in arch/x86/coco/tdx/tdx.c use:\n\n    u64 mask = GENMASK(BITS_PER_BYTE * size, 0);\n\nGENMASK(h, l) includes bit h. For size=1 (INB), this produces\nGENMASK(8, 0) = 0x1FF (9 bits) instead of GENMASK(7, 0) = 0xFF (8\nbits). The mask is one bit too wide for all I/O sizes.\n\nFix the mask calculation.","published":"2026-09-11T19:46:55.314Z","updated":"2026-11-18T19:57:35.880758901Z","reserved":"2026-09-11T19:38:34.762Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"c6875423ad849ac234ab9812eb72f37ff8a490b4","status":"affected","versionType":"git"},{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"220011fe95fc78b2bc2d7d43893bc73957a5c811","status":"affected","versionType":"git"},{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"222b7005e4519f633b4cd666226256abbab46a1a","status":"affected","versionType":"git"},{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"c4a22154870813d10aa0b4c734a574c726f9d4b0","status":"affected","versionType":"git"},{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"bb45f705c4440dd3c689328319b88dd28770bbb8","status":"affected","versionType":"git"},{"version":"03149948832a078f759022ed5b92e722d8d23c26","lessThan":"0f63e656b1c679d32ac595de29d10c03efca6a25","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.109","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.50","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.4","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c6875423ad849ac234ab9812eb72f37ff8a490b4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/220011fe95fc78b2bc2d7d43893bc73957a5c811","tags":["web"]},{"url":"https://git.kernel.org/stable/c/222b7005e4519f633b4cd666226256abbab46a1a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c4a22154870813d10aa0b4c734a574c726f9d4b0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bb45f705c4440dd3c689328319b88dd28770bbb8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0f63e656b1c679d32ac595de29d10c03efca6a25","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89751.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89751","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00173,"epssPercentile":0.06761,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89751","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89751","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89751","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89751","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}