CVE-2021-47624

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/07/2024
Last modified:
21/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change<br /> <br /> The refcount leak issues take place in an error handling path. When the<br /> 3rd argument buf doesn&amp;#39;t match with "offline", "online" or "remove", the<br /> function simply returns -EINVAL and forgets to decrease the reference<br /> count of a rpc_xprt object and a rpc_xprt_switch object increased by<br /> rpc_sysfs_xprt_kobj_get_xprt() and<br /> rpc_sysfs_xprt_kobj_get_xprt_switch(), causing reference count leaks of<br /> both unused objects.<br /> <br /> Fix this issue by jumping to the error handling path labelled with<br /> out_put when buf matches none of "offline", "online" or "remove".

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.10 (excluding)