Back to CVE records
Critical 9.8Published Sep 19, 2025

CVE-2025-39841scsi: lpfc: Fix buffer free/clear order in deferred receive path

Updated under an hour ago ()

Does this affect you?

It affects Linux and 19 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Aug 5, 2026
First seen by InfoSec Signals
Oct 19, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 472e146d1cf3410a898b49834500fa9e33ac41a2 before ab34084f42ee06a9028d67c78feafb911d33d111; from 472e146d1cf3410a898b49834500fa9e33ac41a2 before baa39f6ad79d372a6ce0aa639fbb2f1578479f57; 472e146d1cf3410a898b49834500fa9e33ac41a2 builds before 95b63d15fce5c54a73bbf195e1aacb5a75b128e2; from 472e146d1cf3410a898b49834500fa9e33ac41a2 before 55658c7501467ca9ef3bd4453dd920010db8bc13; from 472e146d1cf3410a898b49834500fa9e33ac41a2 before d96cc9a1b57725930c60b607423759d563b4d900; 472e146d1cf3410a898b49834500fa9e33ac41a2 builds before 367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11; from 472e146d1cf3410a898b49834500fa9e33ac41a2 before 897f64b01c1249ac730329b83f4f40bab71e86c7; 472e146d1cf3410a898b49834500fa9e33ac41a2 builds before 9dba9a45c348e8460da97c450cddf70b2056deb3
CNA record
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XCH328
siemens:scalance_xch328 (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XCM324
siemens:scalance_xcm324 (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XCM328
siemens:scalance_xcm328 (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XCM332
siemens:scalance_xcm332 (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC)
siemens:scalance_xrh334_24_v_dc_8xfo_cc (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XRM334 (230 V AC, 12xFO)
siemens:scalance_xrm334_230_v_ac_12xfo (from the name)
before V3.3
CISA ADP
Siemens SCALANCE XRM334 (230 V AC, 8xFO)
siemens:scalance_xrm334_230_v_ac_8xfo (from the name)
before V3.3
CISA ADP

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.