{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6cc50e1c5b57180fd37a31282000f43859b0fe73"
            },
            {
              "fixed": "e9a180120e17b0a4e1df0fc2eee993cb4366e9f7"
            },
            {
              "fixed": "5c009eb82016cf1bd0994de4cede312ba947aea1"
            },
            {
              "fixed": "b3a266d262a34df1954fb8b96ae372da2a4f6245"
            },
            {
              "fixed": "adec7583abe290f8b513863cf44b9d3569962ef1"
            },
            {
              "fixed": "2877dfcc6e7aea7e9a503931931b6791c6a74b95"
            },
            {
              "fixed": "18b00e211a0aab7219f024927789b515bfc3ea00"
            },
            {
              "fixed": "e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69"
            },
            {
              "fixed": "e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a"
            }
          ],
          "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.15"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99974.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbcon: Rebuild rotated font buffer on font change\n\nfbcon_rotate_font() caches a rotated copy of the console font in\npar-\u003erotated.buf. The buffer is sized from the font's width, height\nand charcount, and is rebuilt in fbcon_init(), fbcon_switch() and\nfbcon_modechanged(), but not in fbcon_do_set_font().\n\nWhen the font is changed through KDFONTOP, the new geometry is\ninstalled and vc_resize() redraws before the buffer is rebuilt. The\nrotated putcs/cursor ops then index the old buffer with the new cell\nsize; KASAN reports a slab-out-of-bounds read in soft_cursor().\n\nRebuild the buffer for the visible console before the redraw, as the\nother callers do: select the console's blitting state with\nset_blitting_type() (which also uploads the new font's map on\ntile-blitting hardware), then rebuild. Background consoles keep\ntheir rebuild at fbcon_switch() time, as the buffer is shared per\nframebuffer and must not be updated for a console that is not being\ndisplayed.\n\nTo ensure a correct rollback when the rebuild or the following\nvc_resize() fails, save the rotated font state, clear it before\nrebuilding, and restore it in the error path of\nfbcon_do_set_font().",
  "id": "CVE-2026-99974",
  "modified": "2026-12-01T20:45:37.305492151Z",
  "published": "2026-11-30T13:18:47.436Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18b00e211a0aab7219f024927789b515bfc3ea00"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2877dfcc6e7aea7e9a503931931b6791c6a74b95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c009eb82016cf1bd0994de4cede312ba947aea1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/adec7583abe290f8b513863cf44b9d3569962ef1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b3a266d262a34df1954fb8b96ae372da2a4f6245"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e9a180120e17b0a4e1df0fc2eee993cb4366e9f7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99974.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99974"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fbcon: Rebuild rotated font buffer on font change"
}