{"id":"CVE-2026-90235","aliases":["CVE-2026-90235"],"related":[],"kind":"vulnerability","state":"published","title":"sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE","summary":"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->sk_data_ready and\nsk->sk_write_space on live sockets with plain stores, and\nxs_udp_do_set_buffer_size() invokes sk->sk_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sk_data_ready and\nsk->sk_write_space on live sockets with plain stores, and\nxs_udp_do_set_buffer_size() invokes sk->sk_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.","source":"cvelist"}],"published":"2026-09-17T16:07:41.251Z","modified":"2026-10-30T13:20:47.470Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"6b79b5a0f1c566f0aa6e08c7981826015a0acc4d","status":"affected"},{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"ed80d009b154aa204f541d390884851b3d4f15ae","status":"affected"},{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"589f761236e05ff9de1bdfd6a5258f113e6457fe","status":"affected"},{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"da652cb17f9faeea1fa44b7215e8869a0b10b664","status":"affected"},{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"d8f0b83753809761a560c4b33249388548ba6e43","status":"affected"},{"type":"git","introduced":"a246b0105bbd9a70a698f69baae2042996f2a0e9","fixed":"33930840b5f0a79f826e7c69dc6cd78f72a67481","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6b79b5a0f1c566f0aa6e08c7981826015a0acc4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed80d009b154aa204f541d390884851b3d4f15ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/589f761236e05ff9de1bdfd6a5258f113e6457fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da652cb17f9faeea1fa44b7215e8869a0b10b664","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8f0b83753809761a560c4b33249388548ba6e43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33930840b5f0a79f826e7c69dc6cd78f72a67481","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90235","url":"https://www.cve.org/CVERecord?id=CVE-2026-90235","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:53.963Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90235","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90235","licence":"Public domain","modified":"2026-10-30T13:20:47.470Z"}],"updatedAt":"2026-11-25T22:59:39.352Z","epss":{"score":0.00664,"percentile":0.52998,"date":"2026-12-01T12:00:22.000Z"}}