CVE-2022-48816
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-476 · NULL pointer dereference
- Record status
- Modified
Affected
- Linux Kernel < 5.11
- Linux Kernel < 5.16.10
- Linux Kernel 5.17
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-48816.md and follow it. Check whether this project is affected by CVE-2022-48816. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee
References
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee
- https://git.kernel.org/stable/c/cd366b9091a3e6ed8229e4b908e895d20b527dc0
- https://git.kernel.org/stable/c/fdc42287ae3f8a35cc2098307f52d7864b4bc8ed
- https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07
- https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee