AZL-118214: CVE-2026-143154 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

tls: only install pushpendingrecord for a TX context

tlssetswoffload() assigns ctx->pushpendingrecord for both directions, but the hook is a TX-side dispatcher. On a socket whose TX side is HW offloaded, tlssetdeviceoffload() installs tlsdevicepushpendingrecord(); any later TLSRX setsockopt overwrites it with tlsswpushpendingrecord(), because tlssetdeviceoffloadrx() itself calls tlssetswoffload(sk, 0, NULL) for the software half of a successful HW RX offload, and so does the fallback when the RX offload is declined (NIC with TX-only offload, tlsdevadd() failure).

From then on tlshandleopenrecord() (a TLSSETRECORDTYPE cmsg after a MSGMORE send, or the close path with a pending writer) runs tlsswpushpendingrecord() against privctxtx, which is a struct tlsoffloadcontexttx, not a struct tlsswcontexttx, and reads openrec from inside the offload context. On x8664 without lock debugging that field overlays sgtxdata[2].dmaaddress, which is never set, so the push is silently skipped and the data buffered by the MSGMORE send is later sent under the cmsg's record type, e.g. application data in a handshake or alert record. Enabling CONFIGDEBUGSPINLOCK, CONFIGDEBUGLOCKALLOC and CONFIGLOCKDEP, but not CONFIGLOCKSTAT, in the tested x8664 configuration moves openrec over sgtxdata[5].pagelink. Once populated, its page pointer and scatterlist flags are interpreted as a tlsrec pointer and dereferenced while reading msgplaintext.sg.size.

Only set the hook when initialising the TX side.

Found by code review while developing TLS 1.3 HW offload rekey support.

Tested with HW TLS TX and RX offload on Mellanox ConnectX-6 Dx (Crypto Enabled): after setting TLSRX, send() "AAAA" with MSGMORE, then sendmsg() "BBBB" with a TLSSETRECORDTYPE cmsg for a handshake record. Without this patch the peer receives a single handshake record "AAAABBBB"; with it, an application data record "AAAA" followed by a handshake record "BBBB".

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to the incorrect callback replacement?

The affected path requires kernel TLS with transmit-side hardware offload. It can occur when TLS receive configuration is applied afterward, including when receive offload succeeds, when a NIC supports transmit offload only, or when receive offload setup fails.

2

What workload behavior can make the issue observable?

A pending TLS write is needed. The problematic push can occur when TLS_SET_RECORD_TYPE is supplied as a control message after a MSG_MORE send, or when a socket is closed while a writer is pending.

3

What is the practical effect on transmitted data?

The pending-record push may be silently skipped because a software-TLS callback interprets a hardware-offload transmit context as a software context. Data buffered by MSG_MORE can subsequently be transmitted using the record type from the later control message.

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