CVEvulnerability

CVE-2026-53306

5.5 MEDIUM Published 2026-06-26 Modified 2026-07-06 Official page ↗
Status
Analyzed
Published
2026-06-26
Last modified
2026-07-06
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-193

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.

Affected configurations

• linux linux kernel (>= 2.6.29 < 5.10.258) • linux linux kernel (>= 5.11 < 5.15.209) • linux linux kernel (>= 5.16 < 6.1.175) • linux linux kernel (>= 6.2 < 6.6.141) • linux linux kernel (>= 6.7 < 6.12.91) • linux linux kernel (>= 6.13 < 6.18.33) • linux linux kernel (>= 6.19 < 7.0.10)

Related

Weakness · CWE (1)

  • CWE-193 Off-by-one Error weakness

References