CVE-2021-47624: net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change

Published Jul 16, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sunrpc: fix reference count leaks in rpcsysfsxprtstatechange

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 rpcxprt object and a rpcxprtswitch object increased by rpcsysfsxprtkobjgetxprt() and rpcsysfsxprtkobjgetxprtswitch(), causing reference count leaks of both unused objects.

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

Other sources

Linux Kernel is vulnerable to a denial of service, caused by reference count leaks in rpcsysfsxprtstatechange. An attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

9 affected componentsFixes available
redhat/kernel<5.15.24
5.15.24
redhat/kernel<5.16.10
5.16.10
redhat/kernel<5.17
5.17
Linux Linux kernel<5.15.24
Linux Linux kernel>=5.16<5.16.10
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Jul 16, 2024
CVE Published
via MITRE·11:29 AM
Data Sourced
via MITRE·11:29 AM
Description
Apr 9, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-47624?

CVE-2021-47624 is classified as a medium severity vulnerability due to its impact on the Linux kernel's reference counting mechanism.

2

How do I fix CVE-2021-47624?

To mitigate CVE-2021-47624, upgrade to kernel versions 5.15.24, 5.16.10, or 5.17 as specified in the advisory.

3

What systems are impacted by CVE-2021-47624?

CVE-2021-47624 affects Linux kernel versions prior to 5.15.24, 5.16.10, and 5.17.

4

What is the nature of the vulnerability in CVE-2021-47624?

CVE-2021-47624 involves reference count leaks in the error handling path of the net/sunrpc component.

5

Are there any workarounds for CVE-2021-47624?

There are no recommended workarounds for CVE-2021-47624; the proper solution is to apply the appropriate kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2021-47624 - net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change - SecAlerts