CVE-2025-68741
Use-After-Free Vulnerability in Linux qla2xxx SCSI Driver
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's qla2xxx driver involves improper freeing of a 'purex' item. Specifically, an item allocated either from a pre-allocated per-adapter pool or dynamically via kzalloc() is incorrectly freed using kfree() in an error handling path. Using kfree() on items from the pre-allocated pool causes memory corruption. The fix involves using the correct deallocation function, qla24xx_free_purex_item(), which properly handles both allocation types.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption in the Linux kernel when the qla2xxx driver improperly frees memory. Memory corruption can cause system instability, crashes, or potentially allow attackers to execute arbitrary code or escalate privileges, depending on exploitation conditions.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the qla2xxx driver has been fixed to use the correct deallocation function qla24xx_free_purex_item() instead of kfree() for purex items. This prevents memory corruption caused by improper freeing of pre-allocated items.