LiveActive security incident?Get immediate response
CVE Record

CVE-2023-53398: mlx5: fix possible ptp queue fifo use-after-free

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

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2023-53398 is a Linux kernel use-after-free flaw in the mlx5 PTP queue handling path. A local, low-privileged attacker could potentially trigger memory misuse with high impact to confidentiality, integrity, and availability. The provided sources do not show active exploitation.

Executive priority

Treat as a high-priority kernel maintenance item, especially for shared Linux infrastructure. The flaw requires local access, so urgency is lower than remote unauthenticated issues, but kernel memory corruption can carry serious business impact if local users or workloads are untrusted.

Technical view

The mlx5 driver failed to check FIFO indexes during pop operations, creating a potential use-after-free when an empty queue was popped during re-sync. The description links this to out-of-order CQEs draining the queue. Fixes add pointer/index checks and avoid re-sync when the SKB cannot exist in the FIFO.

Likely exposure

Exposure appears limited to Linux systems running affected kernel builds with the mlx5 driver path present. The source bundle lists Linux kernel affected entries including 6.0, 6.1.18, 6.2.5, and 6.3, but exact downstream distro exposure requires vendor package mapping.

Exploitation context

The CVSS vector is local, low complexity, low privileges, no user interaction, with high confidentiality, integrity, and availability impact. The provided KEV flag is false, and no cited source in the bundle states active exploitation.

Researcher notes

The core issue is CWE-416 in mlx5 PTP FIFO handling. The source describes unchecked FIFO indexes during pop and out-of-order CQEs causing queue drain. The stable fixes add checks around consumer and producer index bounds and guard re-sync when the SKB ID is not valid for the FIFO.

Mitigation direction

  • Apply Linux kernel updates that include the referenced stable fixes.
  • Check distribution advisories for backported fixes before relying on version strings.
  • Prioritize multi-user, shared, and tenant-accessible Linux hosts.
  • Track vendor guidance if a patched package is not yet available.

Validation and detection

  • Inventory running Linux kernel versions across affected fleets.
  • Map installed kernel packages to vendor advisories or fixed stable commits.
  • Confirm rebooted hosts are running the patched kernel.
  • Identify systems using mlx5-related driver functionality for prioritization.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-53398 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2023-53398Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux58a518948f60153e8f6cb8361d2712aa3a1af94a, 58a518948f60153e8f6cb8361d2712aa3a1af94a, 58a518948f60153e8f6cb8361d2712aa3a1af94aunaffected
LinuxLinux6.0, 0, 6.1.18, 6.2.5, 6.3affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.