SUNRPC: Do not credit control-record octets to the RPC stream (Linux Linux)

CVE-2026-99356
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.60 % · percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ b1df394621710b312f0393e3f240fdac0764f968 < 24a2e754fe2c9a8f1f642ff694545cdbe088e9d7
affected : ≥ 25bb3647d30a20486b5fe7cff2b0e503c16c9692 < d784d46e19b52a553d5c772a18e13b4c6dc84708
affected : ≥ bee47cb026e762841f3faece47b51f985e215edb < 67d36b376f76a71e52a5f8ed4a4d9d90b8b68133
affected : ≥ bee47cb026e762841f3faece47b51f985e215edb < 99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba
affected : ≥ bee47cb026e762841f3faece47b51f985e215edb < 129e7107b971009bc81643d23f3ab949f540d321
affected : 3b549da875414989f480b66835d514be80a0bd9c
affected : 6b33c31cc788073bfbed9297e1f4486ed73d87da
affected : ≥ 6.6.102 < 6.6.163
affected : ≥ 6.12.42 < 6.12.117
affected : ≥ 6.15.10 < 6.16
affected : ≥ 6.16.1 < 6.17
Other versions : unaffected
Linux · Linux
affected : 6.17
unaffected : ≥ 0 < 6.17
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD