Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — scsi: lpfc: Fix buffer free/clear order in deferred receive path
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U H H H 7.8 .0044 36.7 —
AFFECTED
Product Versions Fixed
Linux 472e146d1cf3410a898b49834500fa9e33ac41a2 – —
Linux 5.1 – 5.4.299
TIMELINE
Apr 16 Reserved by Linux
Sep 19 Published (CNA: Linux)
Jul 30 RESCORED — CVE-2025-39841 (Linux). CVSS 9.8 → 7.8 (NVD).
Description
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| April 16, 2025 | Reserved | Reserved by Linux |
| September 19, 2025 | Published | Published (CNA: Linux) |
| July 30, 2026 | RESCORED | RESCORED — CVE-2025-39841 (Linux). CVSS 9.8 → 7.8 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 472e146d1cf3410a898b49834500fa9e33ac41a2 | — |
| Linux | Linux | — | 5.1 | 5.4.299 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-39841 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.