SUNRPC: lock against ->sock changing during sysfs read
Summary
| CVE | CVE-2022-48816 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-07-16 12:15:05 UTC |
| Updated | 2026-06-01 17:16:21 UTC |
| 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. |
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
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.