{"id":"CVE-2025-68741","published":"2025-12-24T12:09:38Z","modified":"2026-08-05T12:11:13Z","title":"scsi: qla2xxx: Fix improper freeing of purex item","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00891,"percentile":0.57241,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4bccd506a1f1ab01d1f45b2a3effff6bedc73cf9","tags":[]},{"url":"https://git.kernel.org/stable/c/8e9f0a0717ba31d5842721627ade1e62d7aec012","tags":[]},{"url":"https://git.kernel.org/stable/c/cfe3e2f768d248fd3d965d561d0768a56dd0b9f8","tags":[]},{"url":"https://git.kernel.org/stable/c/5fa1c8226b4532ad7011d295d3ab4ad45df105ae","tags":[]},{"url":"https://git.kernel.org/stable/c/78b1a242fe612a755f2158fd206ee6bb577d18ca","tags":[]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":11.45},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 875386b98857822b77ac7f95bdf367b70af5b78c, < 4bccd506a1f1ab01d1f45b2a3effff6bedc73cf9",">= 875386b98857822b77ac7f95bdf367b70af5b78c, < 8e9f0a0717ba31d5842721627ade1e62d7aec012",">= 875386b98857822b77ac7f95bdf367b70af5b78c, < cfe3e2f768d248fd3d965d561d0768a56dd0b9f8",">= 875386b98857822b77ac7f95bdf367b70af5b78c, < 5fa1c8226b4532ad7011d295d3ab4ad45df105ae",">= 875386b98857822b77ac7f95bdf367b70af5b78c, < 78b1a242fe612a755f2158fd206ee6bb577d18ca"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-16T19:31:58.802980Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-205221","exploited":false,"provenance":"source"}}