CVE-2025-39841 in Debian Linux and 16 more products
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.
Affects 17 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Linux | Linux Kernel | 6.17 ≥ 5.1, < 5.4.299 ≥ 5.5, < 5.10.243 ≥ 5.11, < 5.15.192 ≥ 5.16, < 6.1.151 ≥ 6.2, < 6.6.105+2 more≥ 6.7, < 6.12.46 ≥ 6.13, < 6.16.6 |
| Linux | Linux | 5.1 |
| Siemens | SCALANCE XR-300 (device and firmware) | < 3.3 |
| Siemens | SCALANCE XR-500 (device and firmware) | < 3.3 |
| Siemens | SIMATIC Cn 4100 (device and firmware) | < 5.0 |
| Siemens | RUGGEDCOM RST2428P (device and firmware) | < 3.3 |
| Siemens | SCALANCE XCH328 | < 3.3 |
| Siemens | SCALANCE XCM324 | < 3.3 |
| Siemens | SCALANCE XCM328 | < 3.3 |
| Siemens | SCALANCE XCM332 | < 3.3 |
| Siemens | SCALANCE XRH334 | < 3.3 |
| Siemens | SCALANCE XRM334 | < 3.3 |
Fix and vendor advisory
- RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2) and 11 more: Update to V3.3 or later version
- SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.
Source: ICSA-26-043-06
- SIMATIC CN 4100: Update to V5.0 or later version
Source: ICSA-26-134-10
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-39841 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-257625-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-05-14 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement network segmentation to isolate the SIMATIC CN 4100 from other critical systems and monitor traffic for suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.