NULL pointer dereference in Linux

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.003, 21.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 0, 77876473912d1bf1ed16bffa1674e5ff0f499f25, a8482488a7d6d320f63a9ee1912dbb5ae5b80a61
  • Linux Kernel — versions 5.17

Weakness classification (CWE)

References