All vulnerabilities

Servers and applications

CVE-2026-64245

fbdev: modedb: fix a possible UAF in fb_find_mode()

Severity
Unrated
Published
24 Jul 2026
Last changed
6 Nov 2026
Added to UpHeron
6 Nov 2026
Fixed in
6.6.144, 6.12.95, 6.18.38, 7.1.3
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

If mode_option is NULL, it is assigned from mode_option_buf:

if (!mode_option) { fb_get_options(NULL, &mode_option_buf); mode_option = mode_option_buf; }

Later, name is assigned from mode_option:

const char *name = mode_option;

However, mode_option_buf is freed before name is no longer used:

kfree(mode_option_buf);

while name is still accessed by:

if ((name_matches(db[i], name, namelen) ||

Since name aliases mode_option_buf, this may result in a use-after-free.

Fix this by extending the lifetime of mode_option_buf until the end of the function by using scope-based resource management for cleanup.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.4 before 6.6.144
  • From 6.7 before 6.12.95
  • From 6.13 before 6.18.38
  • From 6.19 before 7.1.3

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-64245