CVE-2026-99356 (GCVE-0-2026-99356)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:22 – Updated: 2026-11-23 08:01
VLAI
Title
SUNRPC: Do not credit control-record octets to the RPC stream
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Affected: b1df394621710b312f0393e3f240fdac0764f968 , < 24a2e754fe2c9a8f1f642ff694545cdbe088e9d7 (git)
Affected: 25bb3647d30a20486b5fe7cff2b0e503c16c9692 , < d784d46e19b52a553d5c772a18e13b4c6dc84708 (git)
Affected: bee47cb026e762841f3faece47b51f985e215edb , < 67d36b376f76a71e52a5f8ed4a4d9d90b8b68133 (git)
Affected: bee47cb026e762841f3faece47b51f985e215edb , < 99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba (git)
Affected: bee47cb026e762841f3faece47b51f985e215edb , < 129e7107b971009bc81643d23f3ab949f540d321 (git)
Affected: 3b549da875414989f480b66835d514be80a0bd9c (git)
Affected: 6b33c31cc788073bfbed9297e1f4486ed73d87da (git)
Affected: 6.6.102 , < 6.6.163 (semver)
Affected: 6.12.42 , < 6.12.117 (semver)
Affected: 6.15.10 , < 6.16 (semver)
Affected: 6.16.1 , < 6.17 (semver)
Create a notification for this product.
Linux Linux Affected: 6.17
Unaffected: 0 , < 6.17 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/svcsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "24a2e754fe2c9a8f1f642ff694545cdbe088e9d7",
              "status": "affected",
              "version": "b1df394621710b312f0393e3f240fdac0764f968",
              "versionType": "git"
            },
            {
              "lessThan": "d784d46e19b52a553d5c772a18e13b4c6dc84708",
              "status": "affected",
              "version": "25bb3647d30a20486b5fe7cff2b0e503c16c9692",
              "versionType": "git"
            },
            {
              "lessThan": "67d36b376f76a71e52a5f8ed4a4d9d90b8b68133",
              "status": "affected",
              "version": "bee47cb026e762841f3faece47b51f985e215edb",
              "versionType": "git"
            },
            {
              "lessThan": "99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba",
              "status": "affected",
              "version": "bee47cb026e762841f3faece47b51f985e215edb",
              "versionType": "git"
            },
            {
              "lessThan": "129e7107b971009bc81643d23f3ab949f540d321",
              "status": "affected",
              "version": "bee47cb026e762841f3faece47b51f985e215edb",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3b549da875414989f480b66835d514be80a0bd9c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "6b33c31cc788073bfbed9297e1f4486ed73d87da",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.163",
              "status": "affected",
              "version": "6.6.102",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.117",
              "status": "affected",
              "version": "6.12.42",
              "versionType": "semver"
            },
            {
              "lessThan": "6.16",
              "status": "affected",
              "version": "6.15.10",
              "versionType": "semver"
            },
            {
              "lessThan": "6.17",
              "status": "affected",
              "version": "6.16.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/svcsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.6.102",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.12.42",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.15.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.16.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Do not credit control-record octets to the RPC stream\n\nsvc_tcp_sock_recv_cmsg() receives up to two octets into a local\nbuffer, and returns that count for any record type other than\nTLS_RECORD_TYPE_ALERT. Nothing reached the caller\u0027s buffer, but\nsvc_tcp_read_marker() adds the count to sk_tcplen and\nsvc_tcp_read_msg()\u0027s caller adds it to sk_datalen. The RPC stream\nadvances over octets it never received. The fragment marker is\nassembled from stale sk_marker octets. The message body comes from\npages nothing wrote.\n\nA conforming client reaches this. RFC 8446 Section 4.6.3 lets either\npeer send KeyUpdate once it has sent its Finished, and svcsock has no\nrekey path. kTLS leaves the partially consumed record on ctx-\u003erx_list,\nso the body drains two octets per svc_tcp_recvfrom() call. Each pair\nis credited the same way.\n\nReturn -EAGAIN for a record that is not an alert. That is what\nsvc_tcp_sock_process_cmsg()\u0027s default arm returned before the receive\nmoved into a local buffer."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The attacker-controlled bytes are a TLS application-data record (three 0x00 octets) followed by a TLS KeyUpdate handshake record (RFC 8446 \u00a74.6.3) on the nfsd TCP connection. kTLS delivers the KeyUpdate to svc_tcp_sock_recvmsg with MSG_CTRUNC, which calls svc_tcp_sock_recv_cmsg, the function this fix changes, from svc_tcp_read_marker.\nAC:L - The attacker opens the connection and sends the RPC NULL AUTH_TLS probe that svcauth_tls_accept turns into svc_tcp_handshake, then sends the three marker bytes and the KeyUpdate. svc_data_ready runs on each record the attacker transmits, so sk_tcplen going from 3 to 5 does not depend on a race or on any state the attacker cannot send.\nPR:N - svcauth_tls_accept accepts proc 0 with a zero-length AUTH_TLS credential and never checks a uid, and tls_server_hello_x509 is invoked with no client certificate. The over-credit occurs in svc_tcp_recvfrom, before svc_process and before nfsd\u0027s check_xprtsec_policy.\nUI:N - The TLS records are sent by the attacker on the TCP connection they opened. svc_tcp_read_marker consumes them with no mount, file open, or other action by a victim.\nS:U - bvec_set_page corrupts rq_bvec and the neighboring heap of the nfsd svc_rqst inside this kernel, the same security authority as the SUNRPC server.\nC:H - The SIZE_MAX buflen makes svc_tcp_read_msg read rq_pages[i] and write those pointers through bvec_set_page past the kcalloc\u0027d rq_maxpages arrays. That unbounded heap read and the corruption of neighboring objects disclose kernel memory.\nI:H - svc_tcp_sock_recv_cmsg returns 2 for the KeyUpdate into a private alert[2] buffer. svc_tcp_read_marker adds 2 to sk_tcplen when only one marker byte was wanted, so sk_tcplen becomes 5 while svc_sock_reclen stays 0. svc_tcp_recvfrom\u0027s size_t want underflows, and svc_tcp_read_msg writes bio_vecs off the end of rq_bvec.\nA:H - The rq_bvec walk in svc_tcp_read_msg continues until it faults on unmapped kernel memory, oopsing the nfsd thread that is inside svc_tcp_recvfrom."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:01:51.828Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/24a2e754fe2c9a8f1f642ff694545cdbe088e9d7"
        },
        {
          "url": "https://git.kernel.org/stable/c/d784d46e19b52a553d5c772a18e13b4c6dc84708"
        },
        {
          "url": "https://git.kernel.org/stable/c/67d36b376f76a71e52a5f8ed4a4d9d90b8b68133"
        },
        {
          "url": "https://git.kernel.org/stable/c/99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba"
        },
        {
          "url": "https://git.kernel.org/stable/c/129e7107b971009bc81643d23f3ab949f540d321"
        }
      ],
      "title": "SUNRPC: Do not credit control-record octets to the RPC stream",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99356",
    "datePublished": "2026-11-19T14:22:22.087Z",
    "dateReserved": "2026-09-25T10:25:14.410Z",
    "dateUpdated": "2026-11-23T08:01:51.828Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99356",
      "date": "2026-11-24",
      "epss": "0.00599",
      "percentile": "0.49396"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-24T01:28:59.000Z",
      "cve": "CVE-2026-99356",
      "id": "msrc_CVE-2026-99356",
      "initial_release_date": "2026-11-23T01:02:37.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "SUNRPC: Do not credit control-record octets to the RPC stream",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99356.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/svcsock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "24a2e754fe2c9a8f1f642ff694545cdbe088e9d7",
                    "status": "affected",
                    "version": "b1df394621710b312f0393e3f240fdac0764f968",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d784d46e19b52a553d5c772a18e13b4c6dc84708",
                    "status": "affected",
                    "version": "25bb3647d30a20486b5fe7cff2b0e503c16c9692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "67d36b376f76a71e52a5f8ed4a4d9d90b8b68133",
                    "status": "affected",
                    "version": "bee47cb026e762841f3faece47b51f985e215edb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba",
                    "status": "affected",
                    "version": "bee47cb026e762841f3faece47b51f985e215edb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "129e7107b971009bc81643d23f3ab949f540d321",
                    "status": "affected",
                    "version": "bee47cb026e762841f3faece47b51f985e215edb",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "3b549da875414989f480b66835d514be80a0bd9c",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "6b33c31cc788073bfbed9297e1f4486ed73d87da",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.6.163",
                    "status": "affected",
                    "version": "6.6.102",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.12.117",
                    "status": "affected",
                    "version": "6.12.42",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.16",
                    "status": "affected",
                    "version": "6.15.10",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.17",
                    "status": "affected",
                    "version": "6.16.1",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/svcsock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.17"
                  },
                  {
                    "lessThan": "6.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Do not credit control-record octets to the RPC stream\n\nsvc_tcp_sock_recv_cmsg() receives up to two octets into a local\nbuffer, and returns that count for any record type other than\nTLS_RECORD_TYPE_ALERT. Nothing reached the caller\u0027s buffer, but\nsvc_tcp_read_marker() adds the count to sk_tcplen and\nsvc_tcp_read_msg()\u0027s caller adds it to sk_datalen. The RPC stream\nadvances over octets it never received. The fragment marker is\nassembled from stale sk_marker octets. The message body comes from\npages nothing wrote.\n\nA conforming client reaches this. RFC 8446 Section 4.6.3 lets either\npeer send KeyUpdate once it has sent its Finished, and svcsock has no\nrekey path. kTLS leaves the partially consumed record on ctx-\u003erx_list,\nso the body drains two octets per svc_tcp_recvfrom() call. Each pair\nis credited the same way.\n\nReturn -EAGAIN for a record that is not an alert. That is what\nsvc_tcp_sock_process_cmsg()\u0027s default arm returned before the receive\nmoved into a local buffer."
          }
        ],
        "id": "CVE-2026-99356",
        "lastModified": "2026-11-23T08:17:40.500",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-19T15:17:47.070",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/129e7107b971009bc81643d23f3ab949f540d321"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/24a2e754fe2c9a8f1f642ff694545cdbe088e9d7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/67d36b376f76a71e52a5f8ed4a4d9d90b8b68133"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d784d46e19b52a553d5c772a18e13b4c6dc84708"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:31:54+00:00",
      "cve": "CVE-2026-99356",
      "id": "CVE-2026-99356",
      "initial_release_date": "2026-11-19T14:22:22.087000+00:00",
      "product_status:known_affected": "201",
      "product_status:known_not_affected": "79",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: denial of service via improper handling of TLS control messages in SUNRPC",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99356.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-20T17:48:14Z",
      "cve": "CVE-2026-99356",
      "id": "CVE-2026-99356",
      "initial_release_date": "2026-11-20T17:48:14Z",
      "product_status:known_affected": "115",
      "product_status:known_not_affected": "236",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99356",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99356.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…