{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8a4b913df427b8f900bcc7849cc15a7b81628d57"
            },
            {
              "fixed": "a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b"
            },
            {
              "fixed": "50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6"
            },
            {
              "fixed": "f4f2bba28df9b9aaa00262a462139dbbcdc38d9f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "6.18.46"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80740.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/log: Fix infinite loop when scale is too large for display\n\nWhen scale is large enough that scaled_font exceeds the display\ndimensions, rows or columns become 0. A columns value of 0 causes\nan infinite loop in drm_log_draw_kmsg_record() because the loop\nnever decrements len.\n\nCheck for zero rows/columns in drm_log_setup_modeset() and return\nan error, cleaning up the already allocated buffer to avoid a leak.",
  "id": "CVE-2026-80740",
  "modified": "2026-09-05T03:30:44.103950826Z",
  "published": "2026-09-03T08:26:24.706Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80740.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80740"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "drm/log: Fix infinite loop when scale is too large for display"
}