MEDIUM 5.5

CVE-2026-53306: Linux Kernel hvc_iucv Off-by-One Denial of Service Vulnerability

A boundary error in the Linux kernel's hvc_iucv (IUCV hypervisor console) driver allows a local attacker to trigger an out-of-bounds memory access. The vulnerability stems from inconsistent bounds checking when managing virtual console devices. When the device counter reaches its maximum value of 8, the code can attempt to access an array element beyond its allocated range, potentially causing a kernel crash or memory corruption.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-193
Affected products
1 configuration(s)
Published / Modified
2026-06-26 / 2026-07-06

NVD description (verbatim)

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.

8 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The hvc_iucv driver maintains a static array, hvc_iucv_table[], sized to hold 8 entries (MAX_HVC_IUCV_LINES). The vulnerability arises from an off-by-one error in bounds validation. One code path (a) compares a user-supplied number against hvc_iucv_devices but fails to account for zero-based indexing, permitting access to hvc_iucv_table[8] when hvc_iucv_devices==8. In contrast, other code paths (b) correctly iterate using 'i < hvc_iucv_devices', confirming the inconsistency. The flaw is classified as CWE-193 (Off-by-one Error) and can be triggered by a local, unprivileged user with kernel module or sysfs interaction capabilities.

Business impact

This vulnerability can be exploited by local users to destabilize production systems running affected kernels. A successful exploit would trigger a kernel panic, resulting in immediate system downtime and potential data loss for in-flight transactions. Organizations running containerized workloads or multi-tenant environments face particular risk, as a single compromised container or unprivileged user could crash the shared host kernel. Recovery requires manual intervention and reboot, impacting service availability.

Affected systems

The Linux kernel is affected across all versions containing the vulnerable hvc_iucv driver code. Vulnerable systems typically include POWER architecture systems (s390/s390x) where IUCV (Inter-User Communication Vehicle) hypervisor consoles are in use. Systems that do not load or enable the hvc_iucv driver module are not affected. Embedded systems, cloud platforms, and virtualized environments using POWER-based infrastructure should verify their kernel versions and module configuration.

Exploitability

The vulnerability requires local access and can be triggered without elevated privileges, making it exploitable by any unprivileged user on the system. No network access or user interaction is required beyond the ability to interact with kernel module parameters or device configuration. The attack surface is relatively narrow, limited to systems with the hvc_iucv driver loaded and accessible. Exploitation is straightforward once access is gained, consisting of parameter manipulation or sysfs writes to exceed the device allocation boundary.

Remediation

The Linux kernel maintainers have resolved this issue by correcting the bounds-checking logic in the hvc_iucv driver to consistently validate the device counter against MAX_HVC_IUCV_LINES before array access. The fix ensures all code paths perform proper off-by-one boundary validation. Systems should apply the patched kernel version released after the vulnerability was disclosed. Verify against the Linux kernel security advisory and your distribution's patch bulletin for the specific fixed version applicable to your kernel branch.

Patch guidance

Apply the latest stable or long-term support kernel update from your Linux distribution that includes the hvc_iucv bounds-check fix. For distributions providing security updates (Red Hat, SUSE, Canonical, etc.), check the security advisory portal for your release. If using a custom or vendor-specific kernel, consult the source repository commit history referencing CVE-2026-53306 or the hvc_iucv off-by-one fix. Reboot is required after kernel installation. Prioritize patching for systems with hvc_iucv driver loaded, verifiable via 'lsmod | grep hvc_iucv'.

Detection guidance

Monitor system logs for kernel panic or oops messages referencing hvc_iucv or memory access violations at the boundary of array allocations. Kernel sanitizers (KASAN, UBSAN) configured in development or staging environments will detect this flaw. Review dmesg or journalctl output for out-of-bounds warnings. In production, alerting on unexpected kernel crashes or page faults may indicate exploitation attempts. Audit sysfs writes to hvc_iucv-related parameters on systems where this module is active.

Why prioritize this

Although rated MEDIUM severity due to local-only access requirements, this vulnerability warrants prompt remediation because it affects system availability with high impact (denial of service via kernel panic). Organizations running POWER-based infrastructure or systems where hvc_iucv is enabled should treat this as a moderate-priority patching target. The low barrier to exploitation and direct path to crash make it more urgent than its CVSS score alone might suggest.

Risk score, explained

The CVSS 3.1 score of 5.5 (MEDIUM) reflects the local attack vector (AV:L), low complexity (AC:L), low privilege requirement (PR:L), absence of user interaction (UI:N), and availability impact (A:H). The score appropriately captures that only local users with some privilege can trigger the flaw, but the impact—an uncontrolled kernel crash—is severe. No confidentiality or integrity compromise is possible, limiting the overall severity. For organizations with unprivileged user populations or shared systems, the practical risk may be elevated.

Frequently asked questions

Does this vulnerability affect my system if hvc_iucv is not loaded?

No. The flaw is specific to the hvc_iucv driver module. If your system does not load this module (verify with 'lsmod'), you are not affected. The module is typically only present on POWER-based systems or specialized hypervisor environments. Confirm via your kernel configuration or module list.

Can an attacker gain code execution or escalate privileges via this vulnerability?

No. The vulnerability permits only memory access boundary violations leading to kernel crashes (denial of service). It does not provide code execution, privilege escalation, or confidentiality compromise. The impact is limited to system availability.

What is the difference between the vulnerable code paths (a) and (b) mentioned in the description?

Code path (a) validates against hvc_iucv_devices without accounting for zero-based array indexing, allowing an out-of-bounds access. Code path (b) correctly uses 'i < hvc_iucv_devices' in loop iterations. The fix unifies these approaches, ensuring consistent bounds checking across all code paths that access the hvc_iucv_table[] array.

Is this vulnerability being exploited in the wild?

This vulnerability is not currently tracked in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating no confirmed active exploitation as of the disclosure date. However, given the simplicity of triggering a local crash, organizations should prioritize patching proactively rather than waiting for evidence of wild exploitation.

This analysis is provided for informational purposes and represents the state of publicly available information as of the disclosure date. SEC.co does not guarantee the completeness or accuracy of vulnerability details, patch availability, or remediation timelines. Organizations should verify all technical claims against official Linux kernel advisories and their distribution's security bulletins before taking action. No exploit code or proof-of-concept instructions are provided. Consult with your security team and vendor support for guidance specific to your environment. Source: NVD (public-domain), retrieved 2026-08-05. Analysis generated by SEC.co (claude-haiku-4-5).