Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 21a2be1a5145d072deedc7cdc5b2d17380abea75 to < cd366b9091a3e6ed8229e4b908e895d20b527dc0affected
  • a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < fdc42287ae3f8a35cc2098307f52d7864b4bc8edaffected
  • a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < 9482ab4540f5bcc869b44c067ae99b5fca16bd07affected
  • a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 to < b49ea673e119f59c71645e2f65b3ccad857c90eeaffected
  • 77876473912d1bf1ed16bffa1674e5ff0f499f25affected
  • 5.10.67 to < 5.10.271affected
  • 5.13.19 to < 5.14affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.209 to ≤ 5.15.*unaffected
  • 5.16.10 to ≤ 5.16.*unaffected
  • 5.17 to ≤ *unaffected

References