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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-16T11:44:04.654Z
- Modified: 2026-10-03T11:17:25.280Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 21a2be1a5145d072deedc7cdc5b2d17380abea75 before cd366b9091a3e6ed8229e4b908e895d20b527dc0; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 before fdc42287ae3f8a35cc2098307f52d7864b4bc8ed; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 before 9482ab4540f5bcc869b44c067ae99b5fca16bd07; from a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 before b49ea673e119f59c71645e2f65b3ccad857c90ee; 77876473912d1bf1ed16bffa1674e5ff0f499f25; from 5.10.67 before 5.10.271; from 5.13.19 before 5.14; 5.14 (not affected: before 5.14; from 5.10.271 up to 5.10.*; from 5.15.209 up to 5.15.*; from 5.16.10 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.10.67 before 5.11; from 5.13.19 before 5.16.10; 5.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cd366b9091a3e6ed8229e4b908e895d20b527dc0>
- <https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed>
- <https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07> (patch)
- <https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee> (patch)

## Sources

- CVE List: [CVE-2022-48816](https://www.cve.org/CVERecord?id=CVE-2022-48816), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2022-48816](https://nvd.nist.gov/vuln/detail/CVE-2022-48816), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2022-48816 · Whole record: https://cve.day/CVE-2022-48816.json · Rebuilt by cve.day 2026-11-25T22:58:19.898Z
