# CVE-2026-53306: tty: hvc_iucv: fix off-by-one in number of supported devices

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-26T19:41:01.338Z
- Modified: 2026-11-06T17:18:23.710Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

tty: hvc_iucv: fix off-by-one in number of supported devices

MAX_HVC_IUCV_LINES == HVC_ALLOC_TTY_ADAPTERS == 8.
This is the number of entries in:
  static struct hvc_iucv_private *hvc_iucv_table[MAX_HVC_IUCV_LINES];

Sometimes hvc_iucv_table[] is limited by:
(a)	if (num > hvc_iucv_devices) // for error detection
or
(b)	for (i = 0; i < hvc_iucv_devices; i++) // in 2 places
(so these 2 don't agree; second one appears to be correct to me.)

hvc_iucv_devices can be 0..8. This is a counter.
(c)	if (hvc_iucv_devices > MAX_HVC_IUCV_LINES)

If hvc_iucv_devices == 8, (a) allows the code to access hvc_iucv_table[8].
Oops.

(As written by CVE List.)

## Affected

- Linux Linux: from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before 3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before 484357dff256c816d9466bda35eb765685e4dc86; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before 11207e42a332eb8bbcb9fe74df9edd2a807c5607; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before a76511bc654819425d3b15e77b523d7f9d81f064; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before 3104a3f40feb107f77d7116ad9bf6c210ab7babf; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before f1dc8e72de9aabe5d96767a4e97219ac26b79fe5; from 44a01d5ba8a4d543694461cd3e178cfa6b3f221b before f2a880e802ad12d1e38039d1334fb1475d0f5241; 2.6.29 (not affected: before 2.6.29; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.29 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff> (patch)
- <https://git.kernel.org/stable/c/484357dff256c816d9466bda35eb765685e4dc86> (patch)
- <https://git.kernel.org/stable/c/11207e42a332eb8bbcb9fe74df9edd2a807c5607> (patch)
- <https://git.kernel.org/stable/c/fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4> (patch)
- <https://git.kernel.org/stable/c/a76511bc654819425d3b15e77b523d7f9d81f064> (patch)
- <https://git.kernel.org/stable/c/3104a3f40feb107f77d7116ad9bf6c210ab7babf> (patch)
- <https://git.kernel.org/stable/c/f1dc8e72de9aabe5d96767a4e97219ac26b79fe5> (patch)
- <https://git.kernel.org/stable/c/f2a880e802ad12d1e38039d1334fb1475d0f5241> (patch)

## Sources

- CVE List: [CVE-2026-53306](https://www.cve.org/CVERecord?id=CVE-2026-53306), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53306](https://nvd.nist.gov/vuln/detail/CVE-2026-53306), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53306 · Whole record: https://cve.day/CVE-2026-53306.json · Rebuilt by cve.day 2026-11-25T22:59:26.533Z
