CVE-2023-53398

Description

A flaw was found in the Linux kernel's mlx5 network driver. When handling hardware time-stamping with the Precision Time Protocol (PTP), the driver fails to validate queue boundaries during pop operations. A local attacker with administrative privileges can trigger this issue during queue resynchronization, resulting in a use-after-free condition. This flaw primarily leads to a Denial of Service (DoS) through a system crash and may potentially cause memory corruption.

Statement

This vulnerability is present in part of the network driver that runs when a system is configured to use special hardware time-stamping features. To enable these features, a user must have elevated privileges (ex. CAP_NET_ADMIN) to control the hardware itself and trigger the bug.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score67.87.8
Attack VectorLocalLocalLocal
Attack ComplexityHighLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityLowHighHigh
Integrity ImpactHighHighHigh
Availability ImpactHighHighHigh

Vector

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

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

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

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

Frequently Asked Questions

Want to get errata notifications? Sign up here.