CVEvulnerability
CVE-2022-48816
4.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-16
- Last modified
- 2026-10-03
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 5.10.67 < 5.11)
• linux linux kernel (>= 5.13.19 < 5.16.10)
• linux linux kernel 5.17
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Patch
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Patch
- https://git.kernel.org/stable/c/cd366b9091a3e6ed8229e4b908e895d20b527dc0 git.kernel.org
- https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed git.kernel.org
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 Patch
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee Patch