{
  "id": "CVE-2026-64362",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64362",
  "published_at": "2026-07-25T08:50:18.008Z",
  "title": "HID: lg-g15: cancel pending work on remove to fix a use-after-free",
  "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\nHID: lg-g15: cancel pending work on remove to fix a use-after-free\n\nlg_g15_data is allocated with devm and holds a work item. The report\nhandlers schedule that work straight from device input.\nlg_g15_event() and lg_g15_v2_event() do it on the backlight cycle key,\nand lg_g510_leds_event() does it too. The worker dereferences the\nlg_g15_data back through container_of.\n\nThe driver had no remove callback and never cancelled the work. So if a\nreport scheduled the work and the keyboard was then unplugged, devres\nfreed lg_g15_data while the work was still pending or running, and the\nworker touched freed memory. This is a use-after-free. It is reachable\nas a race on device unplug.\n\nAdd a remove callback that cancels the work before devres frees the\nstate. g15-\u003ework is only initialized for the models that schedule it\n(G15, G15 v2, G510). The G13 and Z-10 leave it zeroed, so guard the\ncancel on g15-\u003ework.func to avoid cancelling a work that was never set\nup. The g15 NULL test mirrors the one already in lg_g15_raw_event().",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 3b9a3919aac6977262f04d5365c0456877522a44",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 4aef9676c26dff8723b56834951cfc6b618f0986",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c acce9dee807f21184fff19ad17c8ed464247e7f7",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 33cd1a000daf929356aacf2b191d31714ff0615e",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c dfc6e61f83113cc18346b6988f07271c0063357d",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 4d0d51bc12d246accbfbb94de05d729c68c9b8fb",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 8131f4226688c4be5f30874d167e44dab838eb09",
          "\u003e= 97b741aba918c4143f4208d2421d08ff215c1b49, \u003c 7705b4140d188ce22656f6e541ae7ef834c7e11a"
        ],
        "fixed_in": [
          "3b9a3919aac6977262f04d5365c0456877522a44",
          "4aef9676c26dff8723b56834951cfc6b618f0986",
          "acce9dee807f21184fff19ad17c8ed464247e7f7",
          "33cd1a000daf929356aacf2b191d31714ff0615e",
          "dfc6e61f83113cc18346b6988f07271c0063357d",
          "4d0d51bc12d246accbfbb94de05d729c68c9b8fb",
          "8131f4226688c4be5f30874d167e44dab838eb09",
          "7705b4140d188ce22656f6e541ae7ef834c7e11a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.5"
        ],
        "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 3b9a3919aac6977262f04d5365c0456877522a44 or 4aef9676c26dff8723b56834951cfc6b618f0986 or acce9dee807f21184fff19ad17c8ed464247e7f7 or 33cd1a000daf929356aacf2b191d31714ff0615e or dfc6e61f83113cc18346b6988f07271c0063357d or 4d0d51bc12d246accbfbb94de05d729c68c9b8fb or 8131f4226688c4be5f30874d167e44dab838eb09 or 7705b4140d188ce22656f6e541ae7ef834c7e11a 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": []
}
