CVE-2022-48816

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*

History

06 Oct 2025, 17:07

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.7
References () https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 - () https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 - Patch
References () https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee - () https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee - Patch
CWE CWE-476

21 Nov 2024, 07:34

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 - () https://git.kernel.org/stable/c/9482ab4540f5bcc869b44c067ae99b5fca16bd07 -
References () https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee - () https://git.kernel.org/stable/c/b49ea673e119f59c71645e2f65b3ccad857c90ee -
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: SUNRPC: bloqueo contra ->cambio de calcetín durante la lectura de sysfs ->sock se puede establecer en NULL de forma asincrónica a menos que se mantenga ->recv_mutex. Por eso es importante mantener ese mutex. De lo contrario, una lectura de sysfs puede provocar un error. El commit 17f09d3f619a ("SUNRPC: compruebe si el xprt está conectado antes de manejar las lecturas sysfs") parece intentar solucionar este problema, pero solo reduce la ventana de ejecución.

16 Jul 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-16 12:15

Updated : 2025-10-06 17:07


NVD link : CVE-2022-48816

Mitre link : CVE-2022-48816

CVE.ORG link : CVE-2022-48816


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference