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

Summary

CVECVE-2026-53306
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-26 20:17:23 UTC
Updated2026-07-06 20:14:53 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.001770000 probability, percentile 0.074300000 (date 2026-07-04)

Problem Types: CWE-193

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b 3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b 484357dff256c816d9466bda35eb765685e4dc86 git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b 11207e42a332eb8bbcb9fe74df9edd2a807c5607 git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4 git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b a76511bc654819425d3b15e77b523d7f9d81f064 git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b 3104a3f40feb107f77d7116ad9bf6c210ab7babf git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b f1dc8e72de9aabe5d96767a4e97219ac26b79fe5 git Not specified
CNA Linux Linux affected 44a01d5ba8a4d543694461cd3e178cfa6b3f221b f2a880e802ad12d1e38039d1334fb1475d0f5241 git Not specified
CNA Linux Linux affected 2.6.29 Not specified
CNA Linux Linux unaffected 2.6.29 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.141 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.91 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.33 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.10 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/11207e42a332eb8bbcb9fe74df9edd2a807c5607 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/484357dff256c816d9466bda35eb765685e4dc86 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f1dc8e72de9aabe5d96767a4e97219ac26b79fe5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a76511bc654819425d3b15e77b523d7f9d81f064 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/3104a3f40feb107f77d7116ad9bf6c210ab7babf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f2a880e802ad12d1e38039d1334fb1475d0f5241 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report