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.
Published: 2026-06-26
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contained an off‑by‑one error in the tty hvc_iucv subsystem. The number of supported devices could be set to 8, while the array that stores device pointers only has 8 entries, indexed 0–7. When the code uses the device count as an index, it can read or write past the end of the array. This out‑of‑bounds access can corrupt kernel memory, potentially causing a system crash or allowing local privilege escalation to root. The flaw is a classic buffer overrun scenario that affects kernel stability and security.

Affected Systems

All Linux kernel implementations that contain the unpatched hvc_iucv driver configuration are affected. The issue exists in any release that compiled the hvc_iucv module without the patch. No specific version numbers are supplied, but the bug was addressed in the kernel commits referenced in the advisory and is present in the default kernels shipped with most distributions until the patch is applied.

Risk and Exploitability

The vulnerability’s CVSS base score is 5.5, which places it in the medium severity range. The EPSS score is less than 1 %, indicating a very low probability of exploitation at the time of this assessment, and it is not listed in CISA’s KEV catalog. The likely attack vector is local kernel exploitation, requiring the attacker to execute code with kernel privileges or to transition from a user process that can interact with hvc_iucv devices. No publicly known exploit exists, but the out‑of‑bounds array access could corrupt kernel memory and lead to kernel crashes or privilege escalation.

Generated by OpenCVE AI on June 29, 2026 at 16:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest available release that includes the hvc_iucv off‑by‑one fix.
  • If an immediate kernel upgrade is not possible and hvc_iucv devices are not required, unload or disable the module and remove any configuration that enables them.
  • Although not officially documented, limiting the maximum number of hvc_iucv devices to 7 by adjusting the kernel configuration or applying a custom patch can mitigate the out‑of‑bounds access.

Generated by OpenCVE AI on June 29, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
History

Mon, 29 Jun 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Mon, 29 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 26 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-193
CWE-787

Fri, 26 Jun 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title tty: hvc_iucv: fix off-by-one in number of supported devices
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-26T19:41:01.338Z

Reserved: 2026-06-09T07:44:35.397Z

Link: CVE-2026-53306

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-26T00:00:00Z

Links: CVE-2026-53306 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T16:30:17Z

Weaknesses