{
  "id": "CVE-2025-68741",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68741",
  "published_at": "2025-12-24T12:09:38.655Z",
  "title": "scsi: qla2xxx: Fix improper freeing of purex item",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/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 improper freeing of purex item\n\nIn qla2xxx_process_purls_iocb(), an item is allocated via\nqla27xx_copy_multiple_pkt(), which internally calls\nqla24xx_alloc_purex_item().\n\nThe qla24xx_alloc_purex_item() function may return a pre-allocated item\nfrom a per-adapter pool for small allocations, instead of dynamically\nallocating memory with kzalloc().\n\nAn error handling path in qla2xxx_process_purls_iocb() incorrectly uses\nkfree() to release the item. If the item was from the pre-allocated\npool, calling kfree() on it is a bug that can lead to memory corruption.\n\nFix this by using the correct deallocation function,\nqla24xx_free_purex_item(), which properly handles both dynamically\nallocated and pre-allocated items.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 875386b98857822b77ac7f95bdf367b70af5b78c, \u003c 4bccd506a1f1ab01d1f45b2a3effff6bedc73cf9",
          "\u003e= 875386b98857822b77ac7f95bdf367b70af5b78c, \u003c 8e9f0a0717ba31d5842721627ade1e62d7aec012",
          "\u003e= 875386b98857822b77ac7f95bdf367b70af5b78c, \u003c cfe3e2f768d248fd3d965d561d0768a56dd0b9f8",
          "\u003e= 875386b98857822b77ac7f95bdf367b70af5b78c, \u003c 5fa1c8226b4532ad7011d295d3ab4ad45df105ae",
          "\u003e= 875386b98857822b77ac7f95bdf367b70af5b78c, \u003c 78b1a242fe612a755f2158fd206ee6bb577d18ca"
        ],
        "fixed_in": [
          "4bccd506a1f1ab01d1f45b2a3effff6bedc73cf9",
          "8e9f0a0717ba31d5842721627ade1e62d7aec012",
          "cfe3e2f768d248fd3d965d561d0768a56dd0b9f8",
          "5fa1c8226b4532ad7011d295d3ab4ad45df105ae",
          "78b1a242fe612a755f2158fd206ee6bb577d18ca"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.6"
        ],
        "fixed_in": [
          "0",
          "6.6.120",
          "6.12.63",
          "6.17.13",
          "6.18.2",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4bccd506a1f1ab01d1f45b2a3effff6bedc73cf9 or 8e9f0a0717ba31d5842721627ade1e62d7aec012 or cfe3e2f768d248fd3d965d561d0768a56dd0b9f8 or 5fa1c8226b4532ad7011d295d3ab4ad45df105ae or 78b1a242fe612a755f2158fd206ee6bb577d18ca or later.",
      "Upgrade Linux to 0 or 6.6.120 or 6.12.63 or 6.17.13 or 6.18.2 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
