{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a246b0105bbd9a70a698f69baae2042996f2a0e9"
            },
            {
              "fixed": "ed80d009b154aa204f541d390884851b3d4f15ae"
            },
            {
              "fixed": "589f761236e05ff9de1bdfd6a5258f113e6457fe"
            },
            {
              "fixed": "da652cb17f9faeea1fa44b7215e8869a0b10b664"
            },
            {
              "fixed": "d8f0b83753809761a560c4b33249388548ba6e43"
            },
            {
              "fixed": "33930840b5f0a79f826e7c69dc6cd78f72a67481"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.15"
            },
            {
              "fixed": "6.6.157"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90235.json"
  },
  "details": "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",
  "modified": "2026-09-19T03:30:27.707402718Z",
  "published": "2026-09-17T16:07:41.251Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/33930840b5f0a79f826e7c69dc6cd78f72a67481"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/589f761236e05ff9de1bdfd6a5258f113e6457fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d8f0b83753809761a560c4b33249388548ba6e43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da652cb17f9faeea1fa44b7215e8869a0b10b664"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed80d009b154aa204f541d390884851b3d4f15ae"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90235.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90235"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE"
}