SUNRPC: lock against ->sock changing during sysfs read

Summary

CVECVE-2022-48816
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-07-16 12:15:05 UTC
Updated2026-06-01 17:16:21 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-476

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 fdc42287ae3f8a35cc2098307f52d7864b4bc8ed git Not specified
CNA Linux Linux affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 9482ab4540f5bcc869b44c067ae99b5fca16bd07 git Not specified
CNA Linux Linux affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 b49ea673e119f59c71645e2f65b3ccad857c90ee git Not specified
CNA Linux Linux affected 21a2be1a5145d072deedc7cdc5b2d17380abea75 git Not specified
CNA Linux Linux affected 77876473912d1bf1ed16bffa1674e5ff0f499f25 git Not specified
CNA Linux Linux affected 5.10.67 5.11 semver Not specified
CNA Linux Linux affected 5.13.19 5.14 semver Not specified
CNA Linux Linux affected 5.14 Not specified
CNA Linux Linux unaffected 5.14 semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 5.16.10 5.16.* semver Not specified
CNA Linux Linux unaffected 5.17 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report