SUNRPC: Do not credit control-record octets to the RPC stream
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Do not credit control-record octets to the RPC stream svc_tcp_sock_recv_cmsg() receives up to two octets into a local buffer, and returns that count for any record type other than TLS_RECORD_TYPE_ALERT. Nothing reached the caller's buffer, but svc_tcp_read_marker() adds the count to sk_tcplen and svc_tcp_read_msg()'s caller adds it to sk_datalen. The RPC stream advances over octets it never received. The fragment marker is assembled from stale sk_marker octets. The message body comes from pages nothing wrote. A conforming client reaches this. RFC 8446 Section 4.6.3 lets either peer send KeyUpdate once it has sent its Finished, and svcsock has no rekey path. kTLS leaves the partially consumed record on ctx->rx_list, so the body drains two octets per svc_tcp_recvfrom() call. Each pair is credited the same way. Return -EAGAIN for a record that is not an alert. That is what svc_tcp_sock_process_cmsg()'s default arm returned before the receive moved into a local buffer.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from b1df394621710b312f0393e3f240fdac0764f968, before 24a2e754fe2c9a8f1f642ff694545cdbe088e9d7; from 25bb3647d30a20486b5fe7cff2b0e503c16c9692, before d784d46e19b52a553d5c772a18e13b4c6dc84708; from bee47cb026e762841f3faece47b51f985e215edb, before 67d36b376f76a71e52a5f8ed4a4d9d90b8b68133; from bee47cb026e762841f3faece47b51f985e215edb, before 99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba; from bee47cb026e762841f3faece47b51f985e215edb, before 129e7107b971009bc81643d23f3ab949f540d321; 3b549da875414989f480b66835d514be80a0bd9c; and 5 more | 24a2e754fe2c9a8f1f642ff694545cdbe088e9d7; d784d46e19b52a553d5c772a18e13b4c6dc84708; 67d36b376f76a71e52a5f8ed4a4d9d90b8b68133; 99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba |
| Linux Linux | Software | 6.17 | not recorded |
The 9.8 severity score (critical) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 5 sources for this flaw, none tagged as a vendor patch.