{
  "id": "CVE-2026-64245",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64245",
  "published_at": "2026-07-24T15:31:14.142Z",
  "title": "fbdev: modedb: fix a possible UAF in fb_find_mode()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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, \u0026mode_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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 089d924d03d5c17b05d02992f57671ccfba1c4f0, \u003c c7dc382439f7b019e207055b52e9cec051d42fa9",
          "\u003e= 089d924d03d5c17b05d02992f57671ccfba1c4f0, \u003c f906347d75c7fc377041c6d3c535d0f08846aada",
          "\u003e= 089d924d03d5c17b05d02992f57671ccfba1c4f0, \u003c 4d418cf8daf57e454b4d855bf9b2419fd8e6a540",
          "\u003e= 089d924d03d5c17b05d02992f57671ccfba1c4f0, \u003c 13b6f0cdd5cd5e60f682ec43134ab0e2024bd356",
          "\u003e= 089d924d03d5c17b05d02992f57671ccfba1c4f0, \u003c 85b6256469cebdac395e7447147e06b2e151014f"
        ],
        "fixed_in": [
          "c7dc382439f7b019e207055b52e9cec051d42fa9",
          "f906347d75c7fc377041c6d3c535d0f08846aada",
          "4d418cf8daf57e454b4d855bf9b2419fd8e6a540",
          "13b6f0cdd5cd5e60f682ec43134ab0e2024bd356",
          "85b6256469cebdac395e7447147e06b2e151014f"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.144",
          "6.12.95",
          "6.18.38",
          "7.1.3",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c7dc382439f7b019e207055b52e9cec051d42fa9 or f906347d75c7fc377041c6d3c535d0f08846aada or 4d418cf8daf57e454b4d855bf9b2419fd8e6a540 or 13b6f0cdd5cd5e60f682ec43134ab0e2024bd356 or 85b6256469cebdac395e7447147e06b2e151014f or later.",
      "Upgrade Linux to 0 or 6.6.144 or 6.12.95 or 6.18.38 or 7.1.3 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
