Skip to main content
Network Thinking Solutions Logo

CVE-2025-39841

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.

All CVEs
CVE-2025-39841Published 9/19/2025

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
9/19/2025
Last modified
10/19/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.1, < 5.4.299

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.243

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.192

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.151

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.105

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.46

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.16.6

Verify advisory

Source
linux kernel
linux
6.17

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < ab34084f42ee06a9028d67c78feafb911d33d111

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < baa39f6ad79d372a6ce0aa639fbb2f1578479f57

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 95b63d15fce5c54a73bbf195e1aacb5a75b128e2

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 55658c7501467ca9ef3bd4453dd920010db8bc13

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < d96cc9a1b57725930c60b607423759d563b4d900

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 897f64b01c1249ac730329b83f4f40bab71e86c7

Verify advisory

Source
Linux
Linux
≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 9dba9a45c348e8460da97c450cddf70b2056deb3

Verify advisory

Source
Linux
Linux
5.1

Verify advisory

Source
RUGGEDCOM RST2428P
Siemens
< V3.3

Verify advisory

Source
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
Siemens
< V3.3

Verify advisory

Source
SCALANCE XCH328
Siemens
< V3.3

Verify advisory

Source
SCALANCE XCM324
Siemens
< V3.3

Verify advisory

Source
SCALANCE XCM328
Siemens
< V3.3

Verify advisory

Source
SCALANCE XCM332
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRH334 (24 V DC, 8xFO, CC)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (230 V AC, 12xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (230 V AC, 8xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (24 V DC, 12xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (24 V DC, 8xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (2x230 V AC, 12xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (2x230 V AC, 8xFO)
Siemens
< V3.3

Verify advisory

Source
SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
Siemens
< V3.3

Verify advisory

Source
SIMATIC CN 4100
Siemens
< V5.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.