CVE-2022-48816
published high CVSS 3.1 · 7.8SUNRPC: lock against ->sock changing during sysfs read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux21a2be1a5145d072deedc7cdc5b2d17380abea75 to < cd366b9091a3e6ed8229e4b908e895d20b527dc0 · a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < fdc42287ae3f8a35cc2098307f52d7864b4bc8ed · a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < 9482ab4540f5bcc869b44c067ae99b5fca16bd07 · a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < b49ea673e119f59c71645e2f65b3ccad857c90ee · 77876473912d1bf1ed16bffa1674e5ff0f499f25 · 5.10.67 to < 5.10.271 · 5.13.19 to < 5.14 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.10.271 through 5.10.* (unaffected · semver) · 5.15.209 through 5.15.* (unaffected · semver) · 5.16.10 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtsrc | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-corex86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-develx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-kvmx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-modulesx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-develx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-kvmx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-modulesx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolss390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdumps390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: lock against ->sock changing during sysfs read ->sock can be set to NULL asynchronously unless ->recv_mutex is held. So it is important to hold that mutex. Otherwise a sysfs read can trigger an oops. Commit 17f09d3f619a ("SUNRPC: Check if the xprt is connected before handling sysfs reads") appears to attempt to fix this problem, but it only narrows the race window.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached only by reading world-readable SUNRPC sysfs attributes under /sys/kernel/sunrpc/xprt-switches/*/xprt-*/{srcaddr,xprt_info}, which requires local process access and is not reachable via network packets or adjacent-link protocols. AC:L - An unprivileged attacker can continuously poll those attributes while inducing concurrent transport teardown (NFS automount idle unmount, peer RST/reconnect storms, or forced disconnect), controlling both sides of the race and retrying until sock is observed NULL or freed mid-getsockname. PR:L - srcaddr is mode 0644 and xprt_info is 0444 with no capability check on the show path, and /sys/kernel/sunrpc directories are world-traversable, so a normal local user can trigger the vulnerable reads without root or init-namespace privileges. UI:N - The attacker performs the sysfs reads and can drive teardown/reconnect themselves; no separate victim action such as opening a crafted file or mounting a filesystem is required at exploit time. S:U - Impact is confined to the local host kernel (oops or socket UAF within SUNRPC/socket heap state) and does not cross a VM, IOMMU, or other security-authority boundary. C:H - Without recv_mutex, a non-NULL sock pointer can be loaded then used after xs_reset_transport()'s fput frees the socket, a classic socket UAF that heap spraying can turn into arbitrary kernel memory disclosure. I:H - The same unlocked race allows use-after-free of the struct socket while kernel_getsockname/xs_sock_getport runs, enabling reclaim and corruption of adjacent heap state for arbitrary write and control-flow hijacking under standard UAF exploitation. A:H - The documented failure mode is a kernel oops from NULL sock dereference during sysfs read, and the UAF path likewise crashes on stale socket use, so availability impact is High even without a full exploit.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 21a2be1a5145d072deedc7cdc5b2d17380abea75 to < cd366b9091a3e6ed8229e4b908e895d20b527dc0 (affected · git)a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < fdc42287ae3f8a35cc2098307f52d7864b4bc8ed (affected · git)a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < 9482ab4540f5bcc869b44c067ae99b5fca16bd07 (affected · git)a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < b49ea673e119f59c71645e2f65b3ccad857c90ee (affected · git)77876473912d1bf1ed16bffa1674e5ff0f499f25 (affected · git)5.10.67 to < 5.10.271 (affected · semver)5.13.19 to < 5.14 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.10.271 through 5.10.* (unaffected · semver)5.15.209 through 5.15.* (unaffected · semver)5.16.10 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
SUNRPC: lock against ->sock changing during sysfs read
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 80c525aa787564a03bacbc5ba64282798a4f60f4f2d843f28d7147c7865e4c1a
- Ingested
- 03 Oct 2026, 11:47:00 UTC
- Source record
- Official CVE record