{"id":"CVE-2022-48816","summary":"SUNRPC: lock against -\u003esock changing during sysfs read","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: lock against -\u003esock changing during sysfs read\n\n-\u003esock can be set to NULL asynchronously unless -\u003erecv_mutex is held.\nSo it is important to hold that mutex.  Otherwise a sysfs read can\ntrigger an oops.\nCommit 17f09d3f619a (\"SUNRPC: Check if the xprt is connected before\nhandling sysfs reads\") appears to attempt to fix this problem, but it\nonly narrows the race window.","modified":"2026-04-02T08:27:02.421509Z","published":"2024-07-16T11:44:04.654Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48816.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48816.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48816"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a8482488a7d6d320f63a9ee1912dbb5ae5b80a61"},{"fixed":"9482ab4540f5bcc869b44c067ae99b5fca16bd07"},{"fixed":"b49ea673e119f59c71645e2f65b3ccad857c90ee"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"21a2be1a5145d072deedc7cdc5b2d17380abea75"},{"last_affected":"77876473912d1bf1ed16bffa1674e5ff0f499f25"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48816.json"}}],"schema_version":"1.7.5"}