{
  "id": "CVE-2026-64017",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64017",
  "published_at": "2026-07-19T15:39:11.989Z",
  "title": "blk-mq: pop cached request if it is usable",
  "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\nblk-mq: pop cached request if it is usable\n\nWhen submitting a bio to blk-mq, if the task should sleep after peeking\na cached request, but before it pops it, the plug flushes and calls\nblk_mq_free_plug_rqs, freeing the cached_rqs. This creates a\nuse-after-free bug. Fix this by popping the cached request before any\npossible blocking calls if it is suitable for use.\n\nPopping this request first holds a queue reference, so avoid any\nserialization races with queue freezes and can safely proceed with\ndispatching that request to the driver. This potentially increases a\ntiming window from when a driver wants to freeze its queue to when\nrequests stop being dispatched. That scenario is off the fast path\nthough, and drivers need to appropriately handle requests during a\nfreeze request anyway.\n\nThe downside is the popped element needs to be individually freed when\nwe performed a bio plug merge. The cached request would have had to be\nfreed later anyway, but this patch does it inline with building the plug\nlist instead of after flushing it.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.7:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9, \u003c a3fefe65b94b095c9b66420ee0ecabd9fc2e1568",
          "\u003e= b80056bd75a16e4550873ecefe12bc8fd190b1cf, \u003c f122d9968d730c2e71d5e59d0d8b7d67acb5b3bb",
          "\u003e= b0077e269f6c152e807fdac90b58caf012cdbaab, \u003c 23d8ea1e303b5f32d883757a4a707e791dbc9808",
          "\u003e= b0077e269f6c152e807fdac90b58caf012cdbaab, \u003c 97e2d08de282ef76f84ab4ccd00f1acb3f5f999e",
          "\u003e= b0077e269f6c152e807fdac90b58caf012cdbaab, \u003c 388468f7e7d1eab092cf2a39fdfb502e52019ec6",
          "\u003e= b0077e269f6c152e807fdac90b58caf012cdbaab, \u003c dc278e9bf2b9513a763353e6b9cc21e0f532954e",
          "e9c309ded295b7f8849097d71ae231456ca79f78",
          "33cf52b6e53a6aa55883aa7fb9ceffceff8488a6",
          "8b6075046470c8756242dfe3fd058813636f69a3",
          "\u003e= 6.1.72, \u003c 6.1.191",
          "\u003e= 6.6.3, \u003c 6.6.161",
          "\u003e= 6.5.13, \u003c 6.6"
        ],
        "fixed_in": [
          "a3fefe65b94b095c9b66420ee0ecabd9fc2e1568",
          "f122d9968d730c2e71d5e59d0d8b7d67acb5b3bb",
          "23d8ea1e303b5f32d883757a4a707e791dbc9808",
          "97e2d08de282ef76f84ab4ccd00f1acb3f5f999e",
          "388468f7e7d1eab092cf2a39fdfb502e52019ec6",
          "dc278e9bf2b9513a763353e6b9cc21e0f532954e",
          "6.1.191",
          "6.6.161",
          "6.6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.161",
          "6.12.104",
          "6.18.45",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a3fefe65b94b095c9b66420ee0ecabd9fc2e1568 or f122d9968d730c2e71d5e59d0d8b7d67acb5b3bb or 23d8ea1e303b5f32d883757a4a707e791dbc9808 or 97e2d08de282ef76f84ab4ccd00f1acb3f5f999e or 388468f7e7d1eab092cf2a39fdfb502e52019ec6 or dc278e9bf2b9513a763353e6b9cc21e0f532954e or 6.1.191 or 6.6.161 or 6.6 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.161 or 6.12.104 or 6.18.45 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
