Bug 2298155 (CVE-2022-48816) - CVE-2022-48816 kernel: SUNRPC: lock against ->sock changing during sysfs read
Summary: CVE-2022-48816 kernel: SUNRPC: lock against ->sock changing during sysfs read
Keywords:
Status: NEW
Alias: CVE-2022-48816
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-16 12:47 UTC by OSIDB Bzimport
Modified: 2024-09-24 00:47 UTC (History)
4 users (show)

Fixed In Version: kernel 5.16.10, kernel 5.17
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:6990 0 None None None 2024-09-24 00:24:46 UTC
Red Hat Product Errata RHSA-2024:6991 0 None None None 2024-09-24 00:47:41 UTC

Description OSIDB Bzimport 2024-07-16 12:47:08 UTC
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.

Comment 7 errata-xmlrpc 2024-09-24 00:24:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2024:6990 https://access.redhat.com/errata/RHSA-2024:6990

Comment 8 errata-xmlrpc 2024-09-24 00:47:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2024:6991 https://access.redhat.com/errata/RHSA-2024:6991


Note You need to log in before you can comment on or make changes to this bug.