CVE-2022-48816 SUNRPC: lock against ->sock changing during sysfs read
A race condition in the Linux kernel SUNRPC module allows a local attacker to trigger a null pointer dereference and system crash via sysfs reads.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48816?
CVE-2022-48816 is a high-severity vulnerability in Linux kernel, published on 16 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-48816?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48816?
Apply the vendor's patch.
Is CVE-2022-48816 being exploited?
There is no known exploitation of CVE-2022-48816 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-68211, DEBIAN-CVE-2022-48816, GHSA-9wm5-v97c-mv82, ROOT-OS-DEBIAN-11-CVE-2022-48816, ROOT-OS-UBUNTU-2204-CVE-2022-48816, UBUNTU-CVE-2022-48816.