CVE-2026-139253

net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn

PTP SQs are allocated via mlx5e_ptp_alloc_txqsq(), which never sets
sq->channel. The excessive port timestamp delta recovery path
incorrectly used sq->channel->netdev for netdev_warn(), causing a NULL
pointer dereference. Use sq->netdev instead.

Analysis

AI-generated

Technical impact

A null pointer dereference occurs in the mlx5e driver during PTP transmit timestamp recovery because the code uses an uninitialized pointer for a network device reference. When the faulty code path is executed, the kernel crashes, causing a system reboot or loss of networking service. This results in a loss of availability for the affected host.

Affected Systems

The issue affects Linux kernel releases that include the generic, unpatched mlx5e driver. Systems running kernel versions before the commit identified by 0df412012a26389582b120844d098e1e961f10a6 or 2af973e5e1eb5d7445f5aeae5661c70df2882ad2 will be vulnerable. Custom builds or distributions that compile the mlx5e driver without these fixes should also be checked for the presence of the bug.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, indicating no publicly known exploits at the time of this analysis. The likely attack vector requires local or privileged execution of PTP transmit operations; it is inferred that a malicious user with sufficient access to the kernel or an application that triggers the PTP timestamp recovery path could cause the kernel to crash. The impact is an availability disruption without any disclosed capability to compromise confidentiality or integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the patches 0df412012a26389582b120844d098e1e961f10a6 or 2af973e5e1eb5d7445f5aeae5661c70df2882ad2.
  • Rebuild or reinstall the kernel ensuring the mlx5e driver contains the updated code from a stable release.
  • Disable or remove PTP support in the kernel configuration if the functionality is not required.

Generated by OpenCVE AI on December 1, 2026 at 10:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn PTP SQs are allocated via mlx5e_ptp_alloc_txqsq(), which never sets sq->channel. The excessive port timestamp delta recovery path incorrectly used sq->channel->netdev for netdev_warn(), causing a NULL pointer dereference. Use sq->netdev instead.
Title net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM