CVE-2026-143444: SUNRPC: reject a client-side TLS alert record that is not two octets

Published Dec 5, 2026
·
Updated

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

SUNRPC: reject a client-side TLS alert record that is not two octets

tlsalertrecv() reads two octets from the kvec it is handed and does not check the length (net/handshake/alert.c). xssockprocesscmsg() calls it for any alert record, and the alert[] buffer that xssockrecvcmsg() supplies carries no initializer. A one-octet alert body leaves the description read from uninitialized stack and reported through tracetlsalertrecv().

The peer controls that length. Neither tlsrxmsgsize() nor tlsrxonerecord() enforces the two-octet Alert payload. A TLS 1.3 record carrying only the inner content-type octet decrypts to a zero-length payload. RFC 8446 Section 5.1 requires a record with an Alert type to carry exactly one message, so any other length is malformed. RFC 9289 Section 5 bars RPC-with-TLS from negotiating a version below TLS 1.3, so no other alert framing applies.

Require exactly two octets before parsing and return -EACCES otherwise. xsstreamdatareceive() already treats -EACCES as a fatal alert and reports it to the pending tasks. Gate the path on a control message rather than a positive count so that a zero-length record reaches the check.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    On the client-side TLS alert path, require the alert payload to be exactly two octets before parsing; reject any other length with -EACCES.

Event History

Dec 5, 2026
CVE Published
via MITRE·01:41 AM
Data Sourced
via MITRE·01:41 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux kernel systems using the SUNRPC client-side TLS receive path are exposed when they communicate with a peer that can send TLS alert records. RPC-with-TLS negotiates TLS 1.3, so the affected alert framing is the TLS 1.3 format.

2

What does an attacker need to do to trigger the flaw?

The peer must send a malformed TLS alert record whose decrypted alert payload is not exactly two octets. A one-octet body can cause the alert description to be read from uninitialized stack memory and reported through trace_tls_alert_recv().

3

What happens after the fix when a malformed alert is received?

Alert payloads that are not exactly two octets are rejected with -EACCES before parsing. The stream receive path treats -EACCES as a fatal alert and reports it to pending tasks.

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