CVE-2021-47548
No exploitation reported by the sources we read.
- Published2024-05-24
- Fixed infc7ffa7f10b9 · dd07f8971b81 · abbd5faa0748 · a66998e0fbf2 · 948968f87476 · 22519eff7df2
- WeaknessCWE-129
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
In the Linux kernel, the following vulnerability has been resolved: ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port() The if statement: if (port >= DSAF_GE_NUM) return; limits the value of port less than DSAF_GE_NUM (i.e., 8). However, if the value of port is 6 or 7, an array overflow could occur: port_rst_off = dsaf_dev->mac_cb[port]->port_rst_off; because the length of dsaf_dev->mac_cb is DSAF_MAX_PORT_NUM (i.e., 6). To fix this possible array overflow, we first check port and if it is greater than or equal to DSAF_MAX_PORT_NUM, the function returns.
Timeline
dates in UTC- 2024-05-2415:15CVE publishedNVD
Versions per branch
CISA-ADP · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1+ | ≥ 1da177e4c3f4, < fc7ffa7f10b9 | fc7ffa7f10b9 | CISA-ADP |
| 1+ | ≥ 1da177e4c3f4, < dd07f8971b81 | dd07f8971b81 | CISA-ADP |
| 1+ | ≥ 1da177e4c3f4, < abbd5faa0748 | abbd5faa0748 | CISA-ADP |
| 1+ | ≥ 1da177e4c3f4, < a66998e0fbf2 | a66998e0fbf2 | CISA-ADP |
| 948968.x | ≥ 1da177e4c3f4, < 948968f87476 | 948968f87476 | CISA-ADP |
| 22519.x | ≥ 1da177e4c3f4, < 22519eff7df2 | 22519eff7df2 | CISA-ADP |
| 99.x | ≥ 1da177e4c3f4, < 99bb25cb6753 | 99bb25cb6753 | CISA-ADP |
| 5.x | ≥ 5.11, < 5.15.7 | 5.15.7 | NVD |
| 5.x | ≥ 5.5, < 5.10.84 | 5.10.84 | NVD |
| 5.4 | ≥ 4.20, < 5.4.164 | 5.4.164 | NVD |
| 4.x | ≥ 4.15, < 4.19.220 | 4.19.220 | NVD |
| 4.x | ≥ 4.10, < 4.14.257 | 4.14.257 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < 948968f8747650447c8f21c9fdba0e1973be040bfixed in 948968f8747650447c8f21c9fdba0e1973be040bgit
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < abbd5faa0748d0aa95d5191d56ff7a17a6275bd1fixed in abbd5faa0748d0aa95d5191d56ff7a17a6275bd1git
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < dd07f8971b81ad98cc754b179b331b57f35aa1fffixed in dd07f8971b81ad98cc754b179b331b57f35aa1ffgit
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6dfixed in 99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6dgit
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < 22519eff7df2d88adcc2568d86046ce1e2b52803fixed in 22519eff7df2d88adcc2568d86046ce1e2b52803git
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < fc7ffa7f10b9454a86369405d9814bf141b30627fixed in fc7ffa7f10b9454a86369405d9814bf141b30627git
- ≥ 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca, < a66998e0fbf213d47d02813b9679426129d0d114fixed in a66998e0fbf213d47d02813b9679426129d0d114git
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 4.7no fix stated
Not affected < 4.7 · ≥ 4.9.292, ≤ 4.9.* · ≥ 4.14.257, ≤ 4.14.* · ≥ 4.19.220, ≤ 4.19.* · ≥ 5.4.164, ≤ 5.4.* · ≥ 5.10.84, ≤ 5.10.* · ≥ 5.15.7, ≤ 5.15.*
1 more version line in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-12-09
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- bpftoolTuxCare:AlmaLinux:9.2all versions · fixed in 7.0.0-284.1101.el9_2.tuxcare.11.els16
- bpftoolRed Hat:rhel_eus:9.2::baseosall versions · fixed in 0:7.0.0-284.73.1.el9_2and 1 other package
- bpftoolRed Hat:enterprise_linux:9::baseosall versions · fixed in 0:7.3.0-427.26.1.el9_4and 1 other package
- bpftoolAlmaLinux:9all versions · fixed in 7.3.0-427.26.1.el9_4
- bpftool-debuginfoRed Hat:rhel_eus:9.2::crball versions · fixed in 0:7.0.0-284.73.1.el9_2
- bpftool-debuginfoRed Hat:rhel_eus:9.2::appstreamall versions · fixed in 0:7.0.0-284.73.1.el9_2
- bpftool-debuginfoRed Hat:enterprise_linux:9::realtimeall versions · fixed in 0:7.3.0-427.26.1.el9_4
- bpftool-debuginfoRed Hat:enterprise_linux:9::nfvall versions · fixed in 0:7.3.0-427.26.1.el9_4
105 more package ranges on OSV.dev
Vendor advisories
kernel: ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
kernel-rt as a component of Red Hat Enterprise Linux 9 · kernel-rt-core as a component of Red Hat Enterprise Linux 9 · kernel-rt-debug as a component of Red Hat Enterprise Linux 9 · +19 more
Red Hat Security Advisory: kernel security update
Red Hat Security Advisory: kernel-rt security update
Red Hat Security Advisory: kernel security update
Red Hat Security Advisory: kernel security update
Red Hat Security Advisory: kernel security update
2 more advisories
Fix
- Update Linux linux kernel to fc7ffa7f10b9 · dd07f8971b81 · abbd5faa0748 · a66998e0fbf2 · 948968f87476 · 22519eff7df2 · 99bb25cb6753 · 5.15.7
- Vendor fix Red Hat Product Security RHSA-2024:5101 · 120 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
- Vendor fix Red Hat Product Security RHSA-2024:5102 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:5101 · 120 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2021-47548 · 22 productsAffected
Advisories and patches
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2021-34550same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- ALSA-2024:4583advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:5101advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:5102advisory covering several CVEsAlmaLinux · MIT
- OESA-2024-1692advisory covering several CVEsopenEuler · LicenseRef-unstated
- RHSA-2024:4533advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4554advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4583advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4740advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4902advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:5101advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:5102advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:4583advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:5101advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:5102advisory covering several CVEsRocky Linux · BSD-3-Clause
- RXSA-2024:5101advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:1979-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1983-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2008-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2019-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2184-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2190-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-05-24
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2021-47548?
Is CVE-2021-47548 actively exploited?
What is the CVSS score for CVE-2021-47548?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0