{
  "id": "CVE-2026-97536",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-97536",
  "published_at": "2026-09-25T10:21:34.991Z",
  "title": "scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:H/PR:N/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\nscsi: qla2xxx: Fix use-after-free of qpair work on queue teardown\n\nThe response queue MSI-X handler qla2xxx_msix_rsp_q() schedules\nqla_do_work() via queue_work(ha-\u003ewq, \u0026qpair-\u003eq_work). qla_do_work()\ndereferences the qpair (vha, rsp) and takes qpair-\u003eqp_lock.\n\nDuring teardown, qla2xxx_delete_qpair() deletes the response queue, which\ncalls free_irq() in qla25xx_free_rsp_que(), and then frees the queue and\nthe qpair. free_irq() waits for running hardirq handlers but does not\ncancel work already placed on ha-\u003ewq. A still-pending q_work then runs\nqla_do_work() against the freed qpair and response queue, causing a\nuse-after-free. This is especially likely during full adapter teardown,\nwhere destroy_workqueue(ha-\u003ewq) forces pending work to run after the queue\npairs have been freed.\n\nFlush the work item with cancel_work_sync() in qla25xx_free_rsp_que()\nafter free_irq() has released the interrupt (so no new work can be\nqueued) and before the response queue and qpair memory are freed (so the\nflushed handler still sees valid memory). Guard on rsp-\u003eqpair and ha-\u003ewq\nto match the INIT_WORK() condition and avoid operating on an\nuninitialized work_struct.",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c 2089647f81ff5263867ec08589f273899016ad4a",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c bf3f802619eb57cb11c706263dca13255db9f3fd",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c 942ceba876881a57e5157bb30a8a05f99a77ddd8",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c 9bd063c082ef0475dfc28c46f607aa3e90fe13d7",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c dd6c14db0dbb7774278e62c8114902f953540932",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c f1f4d1cb93eeeb250eac9405121933e268eefbd3",
          "\u003e= 68ca949cdb04b4dc71451a999148fbc5f187a220, \u003c 19788a55cab61d78e33e0914a5a31d27843e8a4a"
        ],
        "fixed_in": [
          "2089647f81ff5263867ec08589f273899016ad4a",
          "bf3f802619eb57cb11c706263dca13255db9f3fd",
          "942ceba876881a57e5157bb30a8a05f99a77ddd8",
          "9bd063c082ef0475dfc28c46f607aa3e90fe13d7",
          "dd6c14db0dbb7774278e62c8114902f953540932",
          "1710a69fd74d0b4bdfcc57c3309b1c4057f70d85",
          "f1f4d1cb93eeeb250eac9405121933e268eefbd3",
          "19788a55cab61d78e33e0914a5a31d27843e8a4a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.31"
        ],
        "fixed_in": [
          "0",
          "5.10.273",
          "5.15.224",
          "6.1.191",
          "6.6.160",
          "6.12.112",
          "6.18.53",
          "7.2.7",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2089647f81ff5263867ec08589f273899016ad4a or bf3f802619eb57cb11c706263dca13255db9f3fd or 942ceba876881a57e5157bb30a8a05f99a77ddd8 or 9bd063c082ef0475dfc28c46f607aa3e90fe13d7 or dd6c14db0dbb7774278e62c8114902f953540932 or 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 or f1f4d1cb93eeeb250eac9405121933e268eefbd3 or 19788a55cab61d78e33e0914a5a31d27843e8a4a or later.",
      "Upgrade Linux to 0 or 5.10.273 or 5.15.224 or 6.1.191 or 6.6.160 or 6.12.112 or 6.18.53 or 7.2.7 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
