CVE-2023-53394
kernel: net/mlx5e: xsk: Fix crash on regular rq reactivation
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 18, 2025
Updated · October 31, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: xsk: Fix crash on regular rq reactivation
When the regular rq is reactivated after the XSK socket is closed it could be reading stale cqes which eventually corrupts the rq. This leads to no more traffic being received on the regular rq and a crash on the next close or deactivation of the rq.
Kal Cuttler Conely reported this issue as a crash on the release path when the xdpsock sample program is stopped (killed) and restarted in sequence while traffic is running.
This patch flushes all cqes when during the rq flush. The cqe flushing is done in the reset state of the rq. mlx5e_rq_to_ready code is moved into the flush function to allow for this.
Statement
This vulnerability is rated as Moderate impact because exploitation requires elevated privileges, such as CAP_NET_ADMIN or root, to open and manage AF_XDP sockets on host interfaces backed by Mellanox ConnectX hardware. Standard Red Hat Enterprise Linux deployments do not run AF_XDP workloads by default, significantly limiting exposure to environments actively using high-performance user-space packet processing. The resulting failure is confined to a local denial of service through network queue degradation and a kernel crash, without exposing system confidentiality or allowing arbitrary code execution.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.7CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
CWE-821 · Incorrect Synchronization