diff options
| author | 2026-08-08 11:40:14 -0400 | |
|---|---|---|
| committer | 2026-10-05 09:46:40 -0400 | |
| commit | 9b7b1f89b93a3ec1ed121e1ab28450acde815bff (patch) | |
| tree | 0495c8f9c0d773f0faea4b885e9edfab4360d157 /scripts/Makefile.thinlto | |
| parent | SUNRPC: reject a client-side TLS alert record that is not two octets (diff) | |
SUNRPC: treat every client-side TLS error alert as fatal
xs_sock_process_cmsg() decides whether an alert ends the session by
reading the alert's level octet. RFC 8446 Section 6 retired that
field. The severity is implicit in the description, and a receiver
treats every alert listed in Section 6.2 as an error alert
"regardless of the AlertLevel in the message". A peer that aborts
with unexpected_message but leaves the legacy octet set to warning
makes the client return -EAGAIN. xs_stream_data_receive() wakes no
pending task for that error, so RPC Calls queued on a dead TLS
session wait for their timeouts to expire.
Decide from the alert description instead. close_notify and
user_canceled are the closure alerts (RFC 8446 Section 6.1). Every
other description ends the session, including one this kernel does
not recognize.
Fixes: 39067dda1d86 ("SUNRPC: Use new helpers to handle TLS Alerts")
Signed-off-by: Chuck Lever <cel@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
