7.8
HIGH CVSS 3.1
CVE-2026-64245
fbdev: modedb: fix a possible UAF in fb_find_mode()
Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: modedb: fix a possible UAF in fb_find_mode() 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.

INFO

Published Date :

July 24, 2026, 4:16 p.m.

Last Modified :

Aug. 17, 2026, 7:23 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-64245 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Fix a use-after-free vulnerability in the Linux kernel's fbdev driver by extending buffer lifetime.
  • Apply the patch to the Linux kernel.
  • Update the fbdev driver code.
  • Ensure proper resource management for mode_option_buf.
  • Recompile and deploy the updated kernel.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64245 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-64245 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64245 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64245 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 17, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.38 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.4 up to (excluding) 6.6.144
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/13b6f0cdd5cd5e60f682ec43134ab0e2024bd356 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4d418cf8daf57e454b4d855bf9b2419fd8e6a540 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/85b6256469cebdac395e7447147e06b2e151014f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c7dc382439f7b019e207055b52e9cec051d42fa9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f906347d75c7fc377041c6d3c535d0f08846aada Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'c7dc382439f7b019e207055b52e9cec051d42fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'f906347d75c7fc377041c6d3c535d0f08846aada', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '4d418cf8daf57e454b4d855bf9b2419fd8e6a540', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '13b6f0cdd5cd5e60f682ec43134ab0e2024bd356', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '85b6256469cebdac395e7447147e06b2e151014f', 'versionType': 'git'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'c7dc382439f7b019e207055b52e9cec051d42fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'f906347d75c7fc377041c6d3c535d0f08846aada', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '4d418cf8daf57e454b4d855bf9b2419fd8e6a540', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '13b6f0cdd5cd5e60f682ec43134ab0e2024bd356', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '85b6256469cebdac395e7447147e06b2e151014f', 'versionType': 'git'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 27, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'c7dc382439f7b019e207055b52e9cec051d42fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'f906347d75c7fc377041c6d3c535d0f08846aada', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '4d418cf8daf57e454b4d855bf9b2419fd8e6a540', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '13b6f0cdd5cd5e60f682ec43134ab0e2024bd356', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '85b6256469cebdac395e7447147e06b2e151014f', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.144', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.95', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.38', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.3', 'versionType': 'semver'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'c7dc382439f7b019e207055b52e9cec051d42fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': 'f906347d75c7fc377041c6d3c535d0f08846aada', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '4d418cf8daf57e454b4d855bf9b2419fd8e6a540', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '13b6f0cdd5cd5e60f682ec43134ab0e2024bd356', 'versionType': 'git'}, {'status': 'affected', 'version': '089d924d03d5c17b05d02992f57671ccfba1c4f0', 'lessThan': '85b6256469cebdac395e7447147e06b2e151014f', 'versionType': 'git'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'c7dc382439f7b019e207055b52e9cec051d42fa9', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'f906347d75c7fc377041c6d3c535d0f08846aada', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '4d418cf8daf57e454b4d855bf9b2419fd8e6a540', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '13b6f0cdd5cd5e60f682ec43134ab0e2024bd356', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '85b6256469cebdac395e7447147e06b2e151014f', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.144', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.95', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.38', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.3', 'versionType': 'semver'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/video/fbdev/core/modedb.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: fbdev: modedb: fix a possible UAF in fb_find_mode() 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.
    Added Reference https://git.kernel.org/stable/c/13b6f0cdd5cd5e60f682ec43134ab0e2024bd356
    Added Reference https://git.kernel.org/stable/c/4d418cf8daf57e454b4d855bf9b2419fd8e6a540
    Added Reference https://git.kernel.org/stable/c/85b6256469cebdac395e7447147e06b2e151014f
    Added Reference https://git.kernel.org/stable/c/c7dc382439f7b019e207055b52e9cec051d42fa9
    Added Reference https://git.kernel.org/stable/c/f906347d75c7fc377041c6d3c535d0f08846aada
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.