In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix TCP-with-TLS transport class identification xs_setup_tcp_tls() assigns the ordinary TCP transport class to a TCP-with-TLS transport. When rpc_clnt_add_xprt() is called with an unspecified transport type, it inherits the class identifier and can create an unencrypted TCP transport. Looks like a copy-paste error from the commit 3 years ago. NFSv4 trunk discovery uses an unspecified transport type when adding server-advertised addresses. If the additional transport passes server-identity validation, it can be admitted to the client's transport switch. An isolated loopback test reproduced plaintext application RPC transmission for TLS- and mTLS-configured clients, including an unpinned TLS-client RPC that selected the added transport. Assign the TCP-with-TLS class instead. With the fix, the plaintext-only test peer receives TLS negotiation probes but no application payloads.
https://git.kernel.org/stable/c/871e96ff9240099066411f61a0d573602ead5fca
https://git.kernel.org/stable/c/789c8189e85791bc1fafbc9af07a9ad60da3c561
https://git.kernel.org/stable/c/0502c7e7f171a8c9c892bdef89e6aa6f44d7b2a3
https://git.kernel.org/stable/c/04f8aa3c25be1b7529d6f975f4fdf690b5cfdca1