# CVE-2023-53394: net/mlx5e: xsk: Fix crash on regular rq reactivation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:35.895Z
- Modified: 2026-10-30T13:17:18.240Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 082a9edf12fef88400172e7d1b131d65a3ed492e before ecf583abb07da326d5058dc6ba79dae58aa800d3; from 082a9edf12fef88400172e7d1b131d65a3ed492e before 02a84eb2af6bea7871cd34264fb27f141f005fd9; from 082a9edf12fef88400172e7d1b131d65a3ed492e before 39646d9bcd1a65d2396328026626859a1dab59d7; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.4.10 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 6.1 before 6.4.10; 6.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ecf583abb07da326d5058dc6ba79dae58aa800d3>
- <https://git.kernel.org/stable/c/02a84eb2af6bea7871cd34264fb27f141f005fd9> (patch)
- <https://git.kernel.org/stable/c/39646d9bcd1a65d2396328026626859a1dab59d7> (patch)

## Sources

- CVE List: [CVE-2023-53394](https://www.cve.org/CVERecord?id=CVE-2023-53394), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2023-53394](https://nvd.nist.gov/vuln/detail/CVE-2023-53394), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2023-53394 · Whole record: https://cve.day/CVE-2023-53394.json · Rebuilt by cve.day 2026-11-25T22:58:34.865Z
