Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-53394

net/mlx5e: xsk: Fix crash on regular rq reactivation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 082a9edf12fef88400172e7d1b131d65a3ed492e to < 02a84eb2af6bea7871cd34264fb27f141f005fd9affected
  • 082a9edf12fef88400172e7d1b131d65a3ed492e to < 39646d9bcd1a65d2396328026626859a1dab59d7affected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.4.10 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References