{
  "id": "CVE-2026-64276",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64276",
  "published_at": "2026-07-25T08:49:21.3Z",
  "title": "Input: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "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\nInput: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count\n\nrmi_f30_map_gpios() allocates gpioled_key_map with\nmin(gpioled_count, TRACKSTICK_RANGE_END) == at most 6 entries, but\nrmi_f30_attention() iterates the full f30-\u003egpioled_count (device query\nregister, range 0..31) and dereferences gpioled_key_map[i], and\ninput-\u003ekeycodemax is set to the full gpioled_count while input-\u003ekeycode\npoints at the 6-entry allocation.\n\nA device that reports gpioled_count \u003e 6 with GPIO support enabled\ntherefore causes an out-of-bounds read on the attention interrupt and\nout-of-bounds read/write through the EVIOCGKEYCODE/EVIOCSKEYCODE ioctls,\nwhich bound the index only against keycodemax. This is the same defect\nas the F3A handler, which was copied from F30.\n\nSize the keymap for the full gpioled_count; the mapping loop still\nassigns only the first min(gpioled_count, TRACKSTICK_RANGE_END) entries.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.14:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.14:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.14:rc8:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c 8c6d18d61bb6fe0e6edf848413391c590552e8a9",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c d162a1ead7de404d8b41a093c83ed0db6487cded",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c f0be9eba946e9200b43265e0a748d38bd0a56954",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c 26c895928d7118436a24f564587cb4aefc40cdd8",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c 4e3689c26854356f41fbaa1eafa382e58ac79e00",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c e849c6f51e6877104c765da084e001ec37c8e119",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c bfe622efecd4ff0a792d0ecd1a8dce535a902f50",
          "\u003e= 3e64fcbdbd10e46dede502d507dbcc104837cd59, \u003c d577e46785d45484b2ab7e7309c49b18764bf56c"
        ],
        "fixed_in": [
          "8c6d18d61bb6fe0e6edf848413391c590552e8a9",
          "d162a1ead7de404d8b41a093c83ed0db6487cded",
          "f0be9eba946e9200b43265e0a748d38bd0a56954",
          "26c895928d7118436a24f564587cb4aefc40cdd8",
          "4e3689c26854356f41fbaa1eafa382e58ac79e00",
          "e849c6f51e6877104c765da084e001ec37c8e119",
          "bfe622efecd4ff0a792d0ecd1a8dce535a902f50",
          "d577e46785d45484b2ab7e7309c49b18764bf56c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.14"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8c6d18d61bb6fe0e6edf848413391c590552e8a9 or d162a1ead7de404d8b41a093c83ed0db6487cded or f0be9eba946e9200b43265e0a748d38bd0a56954 or 26c895928d7118436a24f564587cb4aefc40cdd8 or 4e3689c26854356f41fbaa1eafa382e58ac79e00 or e849c6f51e6877104c765da084e001ec37c8e119 or bfe622efecd4ff0a792d0ecd1a8dce535a902f50 or d577e46785d45484b2ab7e7309c49b18764bf56c or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
