CVE-2021-47548
CRITICALDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 68% of all known CVEs.
References
Related Vulnerabilities
Other CWE-129 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2021-35592 | Medium | 6.3 | 51% | - | Fix |
| CVE-2021-35598 | Medium | 6.3 | 50% | - | Fix |
| CVE-2021-35594 | Medium | 6.3 | 50% | - | Fix |
| CVE-2022-35737 | High | 7.5 | 19% | - | Fix |
| CVE-2014-6317 | High | 7.1 | 18% | - | - |
| CVE-2023-40477 | High | 7.8 | 13% | - | Fix |
Embed a live status badge for CVE-2021-47548
Markdown
[](https://tridentstack.com/cve/CVE-2021-47548)HTML
<a href="https://tridentstack.com/cve/CVE-2021-47548"><img src="https://tridentstack.com/cve/badge/CVE-2021-47548.svg" alt="CVE-2021-47548"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-01.