CVE-2025-39841
BaseFortify
Publication date: 2025-09-19
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.1.153-1 |
| linux | linux_kernel | 5.10.244-1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) issue in the Linux kernel's SCSI lpfc driver. It occurs because the code frees a buffer before clearing its context pointer under a lock, which can lead to concurrent paths accessing and freeing the same memory twice, causing double-free or use-after-free conditions. The fix involves changing the order to detach the pointer under the lock first, then free the buffer after releasing the lock.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption due to use-after-free or double-free conditions in the kernel, potentially causing system instability, crashes, or allowing an attacker to execute arbitrary code with kernel privileges.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the buffer free/clear order in the deferred receive path of the lpfc driver. This fix corrects the use-after-free issue by properly detaching the pointer under the lock before freeing it, preventing double-free or use-after-free conditions.