9.8
Critical
CVE-2025-39841 In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix buffer free/clear order in…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.17 | earliest → < 6.17 | 6.17 |
| Linux 6.16 | earliest → < 6.16.6 | 6.16.6 |
| Linux 6.12 | earliest → < 6.12.46 | 6.12.46 |
| Linux 6.6 | earliest → < 6.6.105 | 6.6.105 |
| Linux 6.1 | earliest → < 6.1.151 | 6.1.151 |
| Linux 5.15 | earliest → < 5.15.192 | 5.15.192 |
| Linux 5.10 | earliest → < 5.10.243 | 5.10.243 |
| Linux 5.4 | earliest → < 5.4.299 | 5.4.299 |
| Linux | 5.1 | No fix stated |
Show the 17 other branches Hide the 17 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| RUGGEDCOM RST2428P 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XCH328 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XCM324 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XCM328 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XCM332 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRH334 (24 V DC, 8xFO, CC) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (230 V AC, 12xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (230 V AC, 8xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (24 V DC, 12xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (24 V DC, 8xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (2x230 V AC, 12xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (2x230 V AC, 8xFO) 3.3 | earliest → < 3.3 | 3.3 |
| SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 | earliest → < 3.3 | 3.3 |
| SIMATIC CN 4100 5.0 | earliest → < 5.0 | 5.0 |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated