CVE-2026-90235 (GCVE-0-2026-90235)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:07 – Updated: 2026-09-18 17:54
VLAI
Title
sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE
Summary
In the Linux kernel, the following vulnerability has been resolved: sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE xprtsock replaces and restores sk->sk_data_ready and sk->sk_write_space on live sockets with plain stores, and xs_udp_do_set_buffer_size() invokes sk->sk_write_space via a plain load. These callback pointers are shared with generic socket and protocol paths that may read or invoke them concurrently, so xprtsock needs the same READ_ONCE()/WRITE_ONCE() callback visibility contract that the validated 4022 family applied elsewhere. When SUNRPC takes over an AF_LOCAL, UDP, or TCP socket and later restores the lower-socket callbacks during teardown, another CPU may still hold an earlier callback snapshot. The plain replace/restore pattern leaves the same visibility hole as the validated 4022 family, so a stale snapshot can still invoke xs_data_ready() or xs_udp_write_space() after the live callback fields have already been restored to the lower-socket handlers. Use WRITE_ONCE() for the shared sk_data_ready and sk_write_space stores in xs_local_finish_connecting(), xs_udp_finish_connecting(), xs_tcp_finish_connecting(), and xs_restore_old_callbacks(). Use READ_ONCE() for the direct sk_write_space invocation in xs_udp_do_set_buffer_size(). This matches the required callback visibility contract while leaving adjacent sk_state_change and sk_error_report handling unchanged.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a246b0105bbd9a70a698f69baae2042996f2a0e9 , < ed80d009b154aa204f541d390884851b3d4f15ae (git)
Affected: a246b0105bbd9a70a698f69baae2042996f2a0e9 , < 589f761236e05ff9de1bdfd6a5258f113e6457fe (git)
Affected: a246b0105bbd9a70a698f69baae2042996f2a0e9 , < da652cb17f9faeea1fa44b7215e8869a0b10b664 (git)
Affected: a246b0105bbd9a70a698f69baae2042996f2a0e9 , < d8f0b83753809761a560c4b33249388548ba6e43 (git)
Affected: a246b0105bbd9a70a698f69baae2042996f2a0e9 , < 33930840b5f0a79f826e7c69dc6cd78f72a67481 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.15
Unaffected: 0 , < 2.6.15 (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/xprtsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ed80d009b154aa204f541d390884851b3d4f15ae",
              "status": "affected",
              "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
              "versionType": "git"
            },
            {
              "lessThan": "589f761236e05ff9de1bdfd6a5258f113e6457fe",
              "status": "affected",
              "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
              "versionType": "git"
            },
            {
              "lessThan": "da652cb17f9faeea1fa44b7215e8869a0b10b664",
              "status": "affected",
              "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
              "versionType": "git"
            },
            {
              "lessThan": "d8f0b83753809761a560c4b33249388548ba6e43",
              "status": "affected",
              "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
              "versionType": "git"
            },
            {
              "lessThan": "33930840b5f0a79f826e7c69dc6cd78f72a67481",
              "status": "affected",
              "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/xprtsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.15"
            },
            {
              "lessThan": "2.6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "2.6.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE\n\nxprtsock replaces and restores sk-\u003esk_data_ready and\nsk-\u003esk_write_space on live sockets with plain stores, and\nxs_udp_do_set_buffer_size() invokes sk-\u003esk_write_space via a plain\nload. These callback pointers are shared with generic socket and\nprotocol paths that may read or invoke them concurrently, so xprtsock\nneeds the same READ_ONCE()/WRITE_ONCE() callback visibility contract\nthat the validated 4022 family applied elsewhere.\n\nWhen SUNRPC takes over an AF_LOCAL, UDP, or TCP socket and later\nrestores the lower-socket callbacks during teardown, another CPU may\nstill hold an earlier callback snapshot. The plain replace/restore\npattern leaves the same visibility hole as the validated 4022 family,\nso a stale snapshot can still invoke xs_data_ready() or\nxs_udp_write_space() after the live callback fields have already been\nrestored to the lower-socket handlers.\n\nUse WRITE_ONCE() for the shared sk_data_ready and sk_write_space\nstores in xs_local_finish_connecting(), xs_udp_finish_connecting(),\nxs_tcp_finish_connecting(), and xs_restore_old_callbacks(). Use\nREAD_ONCE() for the direct sk_write_space invocation in\nxs_udp_do_set_buffer_size(). This matches the required callback\nvisibility contract while leaving adjacent sk_state_change and\nsk_error_report handling unchanged."
        }
      ],
      "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 - NFSv4.0 SETCLIENTID/SETCLIENTID_CONFIRM (nfsd4_setclientid \u2192 gen_callback \u2192 setup_callback_client with XPRT_TRANSPORT_TCP) makes nfsd run xs_tcp_finish_connecting; the peer\u0027s callback TCP segments hit READ_ONCE(sk_data_ready) in tcp_data_queue and READ_ONCE(sk_write_space) in sock_wfree. NFS client RPC-over-TCP/UDP replies use the same xprtsock callbacks.\nAC:L - The attacker drives both sides: SETCLIENTID_CONFIRM then a later SETCLIENTID or TCP RST forces xs_tcp_finish_connecting versus xs_restore_old_callbacks (nfsd4_process_cb_update \u2192 rpc_shutdown_client \u2192 xs_reset_transport), while concurrent callback replies and TX skb frees take sock_wfree\u0027s lockless sk_write_space snapshot. The race is retryable on new callback sockets.\nPR:N - SETCLIENTID and SETCLIENTID_CONFIRM are ALLOWED_WITHOUT_FH. Typical nfsd deployments accept AUTH_SYS/AUTH_NULL, so a remote peer that can reach TCP/2049 needs no local account or capability on the NFS server to create and tear down the callback xprtsock.\nUI:N - The attacker sends SETCLIENTID/SETCLIENTID_CONFIRM and the callback-channel TCP segments itself. No victim mount or other interactive action is required beyond nfsd already serving NFSv4.0.\nS:U - Stale xs_data_ready or xs_udp_write_space running against a torn-down sock_xprt corrupts kernel memory on the host that owns the RPC socket. This is not a guest-to-host, IOMMU, or other cross-authority escape.\nC:H - A stale xs_data_ready after xs_restore_old_callbacks can still see a non-NULL sk_user_data via xprt_from_sock and call transport-\u003eold_data_ready plus read sock_xprt fields, leaking kernel heap once that xprt is reused or freed.\nI:H - The same callback/user_data desync lets xs_write_space queue_work on a freed recv_worker/error_worker and decrement sk_write_pending while xs_reset_transport is in __fput_sync, giving an arbitrary kernel write and control-flow hijack.\nA:H - Use-after-free of sock_xprt in xs_data_ready, xs_udp_write_space, or xs_tcp_write_space from sock_wfree or tcp_data_queue after xs_restore_old_callbacks oopses or panics the kernel even without a full write primitive."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-18T17:54:01.752Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ed80d009b154aa204f541d390884851b3d4f15ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/589f761236e05ff9de1bdfd6a5258f113e6457fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/da652cb17f9faeea1fa44b7215e8869a0b10b664"
        },
        {
          "url": "https://git.kernel.org/stable/c/d8f0b83753809761a560c4b33249388548ba6e43"
        },
        {
          "url": "https://git.kernel.org/stable/c/33930840b5f0a79f826e7c69dc6cd78f72a67481"
        }
      ],
      "title": "sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90235",
    "datePublished": "2026-09-17T16:07:41.251Z",
    "dateReserved": "2026-09-11T19:38:34.794Z",
    "dateUpdated": "2026-09-18T17:54:01.752Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90235",
      "date": "2026-09-25",
      "epss": "0.00671",
      "percentile": "0.49941"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-24T01:13:09.000Z",
      "cve": "CVE-2026-90235",
      "id": "msrc_CVE-2026-90235",
      "initial_release_date": "2026-09-19T01:04:34.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-90235.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/xprtsock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "ed80d009b154aa204f541d390884851b3d4f15ae",
                    "status": "affected",
                    "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "589f761236e05ff9de1bdfd6a5258f113e6457fe",
                    "status": "affected",
                    "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "da652cb17f9faeea1fa44b7215e8869a0b10b664",
                    "status": "affected",
                    "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d8f0b83753809761a560c4b33249388548ba6e43",
                    "status": "affected",
                    "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "33930840b5f0a79f826e7c69dc6cd78f72a67481",
                    "status": "affected",
                    "version": "a246b0105bbd9a70a698f69baae2042996f2a0e9",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/xprtsock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.6.15"
                  },
                  {
                    "lessThan": "2.6.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.52",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-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: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE\n\nxprtsock replaces and restores sk-\u003esk_data_ready and\nsk-\u003esk_write_space on live sockets with plain stores, and\nxs_udp_do_set_buffer_size() invokes sk-\u003esk_write_space via a plain\nload. These callback pointers are shared with generic socket and\nprotocol paths that may read or invoke them concurrently, so xprtsock\nneeds the same READ_ONCE()/WRITE_ONCE() callback visibility contract\nthat the validated 4022 family applied elsewhere.\n\nWhen SUNRPC takes over an AF_LOCAL, UDP, or TCP socket and later\nrestores the lower-socket callbacks during teardown, another CPU may\nstill hold an earlier callback snapshot. The plain replace/restore\npattern leaves the same visibility hole as the validated 4022 family,\nso a stale snapshot can still invoke xs_data_ready() or\nxs_udp_write_space() after the live callback fields have already been\nrestored to the lower-socket handlers.\n\nUse WRITE_ONCE() for the shared sk_data_ready and sk_write_space\nstores in xs_local_finish_connecting(), xs_udp_finish_connecting(),\nxs_tcp_finish_connecting(), and xs_restore_old_callbacks(). Use\nREAD_ONCE() for the direct sk_write_space invocation in\nxs_udp_do_set_buffer_size(). This matches the required callback\nvisibility contract while leaving adjacent sk_state_change and\nsk_error_report handling unchanged."
          }
        ],
        "id": "CVE-2026-90235",
        "lastModified": "2026-09-18T18:17:48.413",
        "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-09-17T17:17:19.400",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/33930840b5f0a79f826e7c69dc6cd78f72a67481"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/589f761236e05ff9de1bdfd6a5258f113e6457fe"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d8f0b83753809761a560c4b33249388548ba6e43"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/da652cb17f9faeea1fa44b7215e8869a0b10b664"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ed80d009b154aa204f541d390884851b3d4f15ae"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



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…