CVE-2022-48816
SUNRPC: lock against ->sock changing during sysfs read
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.
INFO
Published Date :
July 16, 2024, 12:15 p.m.
Last Modified :
Oct. 3, 2026, 11:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the affected kernel packages.
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48816.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48816 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48816
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48816 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48816 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Oct. 03, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Added Reference https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Removed Reference https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Removed Reference https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Removed Reference Type https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 03, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2022/48xxx/CVE-2022-48816.json">CVE-2022-48816</a> Added Reference https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Added Reference https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Added Reference https://git.kernel.org/stable/c/cd366b9091a3e6ed8229e4b908e895d20b527dc0 Added Reference https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed Removed Reference https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Removed Reference https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Removed Reference https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed Removed Reference Type https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 04, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a8482488a7d6d320f63a9ee1912dbb5ae5b80a61', 'lessThan': 'fdc42287ae3f8a35cc2098307f52d7864b4bc8ed', 'versionType': 'git'}, {'status': 'affected', 'version': 'a8482488a7d6d320f63a9ee1912dbb5ae5b80a61', 'lessThan': '9482ab4540f5bcc869b44c067ae99b5fca16bd07', 'versionType': 'git'}, {'status': 'affected', 'version': 'a8482488a7d6d320f63a9ee1912dbb5ae5b80a61', 'lessThan': 'b49ea673e119f59c71645e2f65b3ccad857c90ee', 'versionType': 'git'}, {'status': 'affected', 'version': '21a2be1a5145d072deedc7cdc5b2d17380abea75', 'versionType': 'git'}, {'status': 'affected', 'version': '77876473912d1bf1ed16bffa1674e5ff0f499f25', 'versionType': 'git'}, {'status': 'affected', 'version': '5.10.67', 'lessThan': '5.11', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.13.19', 'lessThan': '5.14', 'versionType': 'semver'}], 'programFiles': ['net/sunrpc/sysfs.c', 'net/sunrpc/xprtsock.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '5.16.10', 'versionType': 'semver', 'lessThanOrEqual': '5.16.*'}, {'status': 'unaffected', 'version': '5.17', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/sunrpc/sysfs.c', 'net/sunrpc/xprtsock.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2022-48816', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2024-09-10T16:58:15.719556Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed -
Initial Analysis by [email protected]
Oct. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.67 up to (excluding) 5.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.13.19 up to (excluding) 5.16.10 Added Reference Type CVE: https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Added Reference https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 16, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee [No types assigned]