imPC@ndo IT

Tracker / CVE-2025-39841

CVE-2025-39841

Critical 9.8

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix buffer free/clear order in deferred receive path Fix a use-after-free window by correcting the buffer release sequence in the deferred receive path. The code freed the RQ buffer first and only then cleared the context pointer under the lock. Concurrent paths (e.g., ABTS and the repost path) also inspect and release the same pointer under the lock, so the old order could lead to double-free/UAF. Note that the repost path already uses the correct pattern: detach the pointer under the lock, then free it after dropping the lock. The deferred path should do the same.

Affected products and versions

debian debian_linux
linux linux_kernel
linux linux_kernel · 5.1 → 5.4.299
linux linux_kernel · 5.11 → 5.15.192
linux linux_kernel · 5.16 → 6.1.151
linux linux_kernel · 5.5 → 5.10.243
linux linux_kernel · 6.13 → 6.16.6
linux linux_kernel · 6.2 → 6.6.105
linux linux_kernel · 6.7 → 6.12.46

Analysis

This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.

References