CVE-2023-53398

mlx5: fix possible ptp queue fifo use-after-free

High · published September 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
3.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

mlx5: fix possible ptp queue fifo use-after-free

Fifo indexes are not checked during pop operations and it leads to

potential use-after-free when poping from empty queue. Such case was

possible during re-sync action. WARN_ON_ONCE covers future cases.

There were out-of-order cqe spotted which lead to drain of the queue and

use-after-free because of lack of fifo pointers check. Special check and

counter are added to avoid resync operation if SKB could not exist in the

fifo because of OOO cqe (skb_id must be between consumer and producer

index).

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00150 · 3.9th percentile
Published
2025-09-18T13:33Z
EPSS history
Timeline
  • 18 SEP 13:33Z
    mlx5: fix possible ptp queue fifo use-after-free
    cvelistv5