{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64245","id":"CVE-2026-64245","title":"fbdev: modedb: fix a possible UAF in fb_find_mode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: modedb: fix a possible UAF in fb_find_mode()\n\nIf mode_option is NULL, it is assigned from mode_option_buf:\n\n  if (!mode_option) {\n    fb_get_options(NULL, &mode_option_buf);\n    mode_option = mode_option_buf;\n  }\n\nLater, name is assigned from mode_option:\n\n  const char *name = mode_option;\n\nHowever, mode_option_buf is free","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: modedb: fix a possible UAF in fb_find_mode()\n\nIf mode_option is NULL, it is assigned from mode_option_buf:\n\n  if (!mode_option) {\n    fb_get_options(NULL, &mode_option_buf);\n    mode_option = mode_option_buf;\n  }\n\nLater, name is assigned from mode_option:\n\n  const char *name = mode_option;\n\nHowever, mode_option_buf is freed before name is no longer used:\n\n  kfree(mode_option_buf);\n\nwhile name is still accessed by:\n\n  if ((name_matches(db[i], name, namelen) ||\n\nSince name aliases mode_option_buf, this may result in a\nuse-after-free.\n\nFix this by extending the lifetime of mode_option_buf until the end of the\nfunction by using scope-based resource management for cleanup.","published":"2026-07-24T15:31:14.142Z","updated":"2026-11-14T17:28:26.185564874Z","reserved":"2026-07-19T15:36:31.772Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"089d924d03d5c17b05d02992f57671ccfba1c4f0","lessThan":"c7dc382439f7b019e207055b52e9cec051d42fa9","status":"affected","versionType":"git"},{"version":"089d924d03d5c17b05d02992f57671ccfba1c4f0","lessThan":"f906347d75c7fc377041c6d3c535d0f08846aada","status":"affected","versionType":"git"},{"version":"089d924d03d5c17b05d02992f57671ccfba1c4f0","lessThan":"4d418cf8daf57e454b4d855bf9b2419fd8e6a540","status":"affected","versionType":"git"},{"version":"089d924d03d5c17b05d02992f57671ccfba1c4f0","lessThan":"13b6f0cdd5cd5e60f682ec43134ab0e2024bd356","status":"affected","versionType":"git"},{"version":"089d924d03d5c17b05d02992f57671ccfba1c4f0","lessThan":"85b6256469cebdac395e7447147e06b2e151014f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"6.6.144","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.95","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.38","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.3","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c7dc382439f7b019e207055b52e9cec051d42fa9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f906347d75c7fc377041c6d3c535d0f08846aada","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4d418cf8daf57e454b4d855bf9b2419fd8e6a540","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/13b6f0cdd5cd5e60f682ec43134ab0e2024bd356","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/85b6256469cebdac395e7447147e06b2e151014f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64245.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64245","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00119,"epssPercentile":0.0184,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64245","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64245","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64245","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64245","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}