Bug 2298108 (CVE-2021-47624) - CVE-2021-47624 kernel: net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
Summary: CVE-2021-47624 kernel: net/sunrpc: fix reference count leaks in rpc_sysfs_xpr...
Keywords:
Status: NEW
Alias: CVE-2021-47624
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:21 UTC by OSIDB Bzimport
Modified: 2024-09-30 15:01 UTC (History)
4 users (show)

Fixed In Version: kernel 5.15.24, 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 RHBA-2024:5117 0 None None None 2024-08-08 08:35:50 UTC
Red Hat Product Errata RHBA-2024:5207 0 None None None 2024-08-12 07:54:56 UTC
Red Hat Product Errata RHBA-2024:5208 0 None None None 2024-08-12 08:34:12 UTC
Red Hat Product Errata RHBA-2024:5233 0 None None None 2024-08-12 13:53:39 UTC
Red Hat Product Errata RHBA-2024:5235 0 None None None 2024-08-12 14:26:26 UTC
Red Hat Product Errata RHBA-2024:5236 0 None None None 2024-08-12 14:42:36 UTC
Red Hat Product Errata RHBA-2024:5237 0 None None None 2024-08-12 14:45:53 UTC
Red Hat Product Errata RHBA-2024:5386 0 None None None 2024-08-14 10:50:14 UTC
Red Hat Product Errata RHBA-2024:5866 0 None None None 2024-08-26 14:40:49 UTC
Red Hat Product Errata RHSA-2024:5101 0 None None None 2024-08-08 04:59:07 UTC
Red Hat Product Errata RHSA-2024:5102 0 None None None 2024-08-08 04:46:32 UTC
Red Hat Product Errata RHSA-2024:5256 0 None None None 2024-08-13 00:11:08 UTC
Red Hat Product Errata RHSA-2024:5257 0 None None None 2024-08-13 00:17:10 UTC

Description OSIDB Bzimport 2024-07-16 12:21:44 UTC
In the Linux kernel, the following vulnerability has been resolved:

net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change

The refcount leak issues take place in an error handling path. When the
3rd argument buf doesn't match with "offline", "online" or "remove", the
function simply returns -EINVAL and forgets to decrease the reference
count of a rpc_xprt object and a rpc_xprt_switch object increased by
rpc_sysfs_xprt_kobj_get_xprt() and
rpc_sysfs_xprt_kobj_get_xprt_switch(), causing reference count leaks of
both unused objects.

Fix this issue by jumping to the error handling path labelled with
out_put when buf matches none of "offline", "online" or "remove".

Comment 9 errata-xmlrpc 2024-08-08 04:46:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 10 errata-xmlrpc 2024-08-08 04:59:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 11 errata-xmlrpc 2024-08-13 00:11:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

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

Comment 12 errata-xmlrpc 2024-08-13 00:17:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

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


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