CVE-2023-53398 Details
Description
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).
A use-after-free vulnerability has been identified in the Linux kernel's handling of Precision Time Protocol (PTP) queues for Mellanox MLX5 devices. This issue arises because the FIFO queue indexes are not properly validated during pop operations, leading to potential memory management errors when popping from an empty queue. Such a scenario can occur during the re-synchronization process, where out-of-order completion queue events have been observed, draining the queue and causing use-after-free conditions. The vulnerability has been addressed by adding checks and counters to prevent re-sync operations if the socket buffer (SKB) cannot be accounted for in the FIFO due to out-of-order events.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3a50cf1e8e5157b82268eee7e330dbe5736a0948 | kernel.org | Patch |
| https://git.kernel.org/stable/c/52e6e7a0bc04c85012a9251c7cf2d444a77eb966 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6afdedc4e66e3846ce497744f01b95c34bf39d21 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0, < 6.1.18 >= 6.2, < 6.2.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 12, 2025 | Initial Analysis | [email protected] |
| Sep 18, 2025 | New CVE Received | kernel.org |