What’s Vulnerable › Vulnerabilities

CVE-2022-48816: SUNRPC: lock against ->sock changing during sysfs read

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.11, 5.16.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48816 or the next vulnerability affects your stack