Executive brief
A vulnerability exists in the Linux kernel's Emulex LightPulse Fibre Channel (lpfc) driver, which manages high-performance storage connections. A flaw in how the system handles data buffers could allow an attacker to trigger a system crash or potentially execute unauthorized code. This could lead to a total loss of system availability or the compromise of sensitive data stored on connected storage networks.
Technical details
A use-after-free (UAF) vulnerability exists in the lpfc driver within the `lpfc_nvmet_defer_rcv` function. The root cause is an incorrect buffer release sequence where the Receive Queue (RQ) buffer was freed before the associated context pointer was cleared under a spinlock. This creates a race condition window where concurrent execution paths, such as ABTS or the repost path, could attempt to access or release the same pointer, resulting in a double-free or UAF. Attackers could potentially exploit this via network-based storage traffic to cause a kernel panic or achieve privilege escalation. Patches have been released for various stable kernel branches to ensure the pointer is detached under lock before the buffer is freed.
Affected products
- Linux Linux Kernel n/a
- Siemens RUGGEDCOM RST2428P < V3.3
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.3
Timeline
- 2025-08-28: other: Patch submitted by developer
- 2025-09-19: disclosed: CVE published
References
- https://git.kernel.org/stable/c/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11
- https://git.kernel.org/stable/c/55658c7501467ca9ef3bd4453dd920010db8bc13
- https://git.kernel.org/stable/c/897f64b01c1249ac730329b83f4f40bab71e86c7
- https://git.kernel.org/stable/c/95b63d15fce5c54a73bbf195e1aacb5a75b128e2
- https://git.kernel.org/stable/c/9dba9a45c348e8460da97c450cddf70b2056deb3
- https://git.kernel.org/stable/c/ab34084f42ee06a9028d67c78feafb911d33d111
- https://git.kernel.org/stable/c/baa39f6ad79d372a6ce0aa639fbb2f1578479f57