CVE-2021-47624
publishednet/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 4b22aa42bd4d2d630ef1854c139275c3532937cb · 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 5f6024c05a2c0fdd180b29395aaf686d25af3a0f · 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 776d794f28c95051bc70405a7b1fa40115658a18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.24 through 5.15.* (unaffected · semver) · 5.16.10 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-553.16.1.el8_10 | RHSA-2024:5101 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 4b22aa42bd4d2d630ef1854c139275c3532937cb (affected · git)5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 5f6024c05a2c0fdd180b29395aaf686d25af3a0f (affected · git)5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b to < 776d794f28c95051bc70405a7b1fa40115658a18 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.24 through 5.15.* (unaffected · semver)5.16.10 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d219b26df00bac3ab2594cef9f6d64f8b7de0a70c6839d29516bc88fe15d964
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record