{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "44a01d5ba8a4d543694461cd3e178cfa6b3f221b"
            },
            {
              "fixed": "3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff"
            },
            {
              "fixed": "484357dff256c816d9466bda35eb765685e4dc86"
            },
            {
              "fixed": "11207e42a332eb8bbcb9fe74df9edd2a807c5607"
            },
            {
              "fixed": "fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4"
            },
            {
              "fixed": "a76511bc654819425d3b15e77b523d7f9d81f064"
            },
            {
              "fixed": "3104a3f40feb107f77d7116ad9bf6c210ab7babf"
            },
            {
              "fixed": "f1dc8e72de9aabe5d96767a4e97219ac26b79fe5"
            },
            {
              "fixed": "f2a880e802ad12d1e38039d1334fb1475d0f5241"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.29"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.141"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.91"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.33"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53306.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ntty: hvc_iucv: fix off-by-one in number of supported devices\n\nMAX_HVC_IUCV_LINES == HVC_ALLOC_TTY_ADAPTERS == 8.\nThis is the number of entries in:\n  static struct hvc_iucv_private *hvc_iucv_table[MAX_HVC_IUCV_LINES];\n\nSometimes hvc_iucv_table[] is limited by:\n(a)\tif (num \u003e hvc_iucv_devices) // for error detection\nor\n(b)\tfor (i = 0; i \u003c hvc_iucv_devices; i++) // in 2 places\n(so these 2 don't agree; second one appears to be correct to me.)\n\nhvc_iucv_devices can be 0..8. This is a counter.\n(c)\tif (hvc_iucv_devices \u003e MAX_HVC_IUCV_LINES)\n\nIf hvc_iucv_devices == 8, (a) allows the code to access hvc_iucv_table[8].\nOops.",
  "id": "CVE-2026-53306",
  "modified": "2026-07-15T01:49:08.722161479Z",
  "published": "2026-06-26T19:41:01.338Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/11207e42a332eb8bbcb9fe74df9edd2a807c5607"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3104a3f40feb107f77d7116ad9bf6c210ab7babf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d3b89e6ab93bdd0efd45828bda6b0e61cc46dff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/484357dff256c816d9466bda35eb765685e4dc86"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a76511bc654819425d3b15e77b523d7f9d81f064"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f1dc8e72de9aabe5d96767a4e97219ac26b79fe5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f2a880e802ad12d1e38039d1334fb1475d0f5241"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fed8b8f33a46db0ee2efdb000f4f630c86ed8ca4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53306.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53306"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "tty: hvc_iucv: fix off-by-one in number of supported devices"
}