CVE-2026-139253: net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn

Published Nov 30, 2026
·
Updated

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 mlx5eptpalloctxqsq(), which never sets sq->channel. The excessive port timestamp delta recovery path incorrectly used sq->channel->netdev for netdevwarn(), causing a NULL pointer dereference. Use sq->netdev instead.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the excessive port timestamp delta recovery path, use sq->netdev instead of sq->channel->netdev for netdev_warn().

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this NULL pointer dereference?

Systems using the Linux kernel mlx5e driver with PTP transmit timestamp queues are affected when the excessive port timestamp delta recovery path is reached. The vulnerable condition involves PTP SQs allocated by mlx5e_ptp_alloc_txqsq(), where sq->channel is not set.

2

What condition triggers the issue?

The issue is triggered when excessive port timestamp delta recovery attempts to issue a netdev warning. That path dereferences sq->channel->netdev even though sq->channel is NULL for the affected PTP transmit queues.

3

How can the fix be identified?

The corrected code uses sq->netdev for the warning instead of sq->channel->netdev. The provided stable-kernel references identify fixes at commits 2af973e5e1eb5d7445f5aeae5661c70df2882ad2 and 0df412012a26389582b120844d098e1e961f10a6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203