CVE-2026-143193: net/mlx5e: kTLS, Fix missing error unwind when enabling RX offload

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: kTLS, Fix missing error unwind when enabling RX offload

Since commit abed42f9cd80 ("net/mlx5e: Conditionally create async ICOSQ"), the async ICOSQ is only created when an XDP program is attached or priv->ktlsrxwasenabled is set. When TLS RX offload is enabled for the first time, mlx5ektlssetfeaturerx() sets the flag and reopens the channels so that they get the queue, but it ignores the return value of mlx5esafereopenchannels().

If the reopen fails, mlx5esafeswitchparams() keeps the old channels, which have no async ICOSQ, while NETIFFHWTLSRX is still reported as enabled. The next offloaded RX connection then dereferences the NULL c->asyncicosq in postrxparamwqes(). Enabling the feature again does not help, as the flag is already set and the reopen is skipped.

Propagate the error, clear the flag and destroy the accel TCP flow tables again, so that the feature stays disabled and the next attempt retries the reopen.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the NULL dereference?

TLS RX hardware offload must be enabled for the first time, and the channel reopen required to create the async ICOSQ must fail. A subsequent offloaded RX connection can then dereference a NULL async ICOSQ.

2

Does retrying TLS RX offload enablement recover from a failed channel reopen?

No. In the affected behavior, the enablement flag remains set after the failed reopen, so another enable attempt skips the reopen and does not create the missing queue.

3

What is the effect of the fix when channel reopening fails?

The fix propagates the reopen error, clears the TLS RX enabled flag, and destroys the acceleration TCP flow tables. This keeps the feature disabled and allows a later enablement attempt to retry the channel reopen.

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