{"id":"CVE-2026-99975","aliases":["CVE-2026-99975"],"related":[],"kind":"vulnerability","state":"published","title":"fbcon: Include font geometry in the rotated font cache","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbcon: Include font geometry in the rotated font cache\n\nfbcon_rotate_font() caches a rotated copy of the console font and\nskips the rebuild when the fontdata pointer and the rotation match.\nRaw font data carries no geometry, though: width, height and\ncharcount live in vc->vc_font. fbcon_set_font() deduplicates uploads\nby byte equality, so the same bytes re-uploaded with different\ndimensions keep the fontdata pointer while the geometry changes, and\nthe early-out skips the rebuild.\n\nThe rotated cell size depends on the geometry (rotation swaps width\nand height), so the stale buffer is indexed with the new cell size.\nRe-uploading a 4x16 font as 16x8 on a CW-rotated console, for\nexample, doubles the rotated cell size and reads past the end of the\nold buffer.\n\nRecord the geometry the buffer was built from and compare it in the\nearly-out. The pointer-only key used to be backed by an explicit\nwidth check in the deduplication, which commit 1e3c49aa03fb\n(\"lib/fonts: Compare font data for equality with font_data_is_equal()\")\ndropped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbcon: Include font geometry in the rotated font cache\n\nfbcon_rotate_font() caches a rotated copy of the console font and\nskips the rebuild when the fontdata pointer and the rotation match.\nRaw font data carries no geometry, though: width, height and\ncharcount live in vc->vc_font. fbcon_set_font() deduplicates uploads\nby byte equality, so the same bytes re-uploaded with different\ndimensions keep the fontdata pointer while the geometry changes, and\nthe early-out skips the rebuild.\n\nThe rotated cell size depends on the geometry (rotation swaps width\nand height), so the stale buffer is indexed with the new cell size.\nRe-uploading a 4x16 font as 16x8 on a CW-rotated console, for\nexample, doubles the rotated cell size and reads past the end of the\nold buffer.\n\nRecord the geometry the buffer was built from and compare it in the\nearly-out. The pointer-only key used to be backed by an explicit\nwidth check in the deduplication, which commit 1e3c49aa03fb\n(\"lib/fonts: Compare font data for equality with font_data_is_equal()\")\ndropped.","source":"cvelist"}],"published":"2026-11-30T13:18:47.992Z","modified":"2026-11-30T14:20:40.400Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6cc50e1c5b57180fd37a31282000f43859b0fe73","fixed":"e19f246141af0c3f4d6f0b267793f39723413199","status":"affected"},{"type":"git","introduced":"6cc50e1c5b57180fd37a31282000f43859b0fe73","fixed":"10463bcd43495fb88ff667b2c5348200860f6bdc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.15","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e19f246141af0c3f4d6f0b267793f39723413199","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10463bcd43495fb88ff667b2c5348200860f6bdc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99975","url":"https://www.cve.org/CVERecord?id=CVE-2026-99975","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:47.992Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99975","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99975","licence":"Public domain","modified":"2026-11-30T14:20:40.400Z"}],"updatedAt":"2026-11-30T14:33:50.103Z","epss":{"score":0.00286,"percentile":0.22767,"date":"2026-12-01T12:00:22.000Z"}}