CVE-2021-47159
MEDIUMDescription
In the Linux kernel, the following vulnerability has been resolved: net: dsa: fix a crash if ->get_sset_count() fails If ds->ops->get_sset_count() fails then it "count" is a negative error code such as -EOPNOTSUPP. Because "i" is an unsigned int, the negative error code is type promoted to a very high value and the loop will corrupt memory until the system crashes. Fix this by checking for error codes and changing the type of "i" to just int.
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:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 14% of all known CVEs.
References
Related Vulnerabilities
Other CWE-835 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-13935 | High | 7.5 | 88% | - | Fix |
| CVE-2020-36227 | High | 7.5 | 78% | - | Fix |
| CVE-2022-0778 | High | 7.5 | 71% | - | Fix |
| CVE-2019-14241 | High | 7.5 | 70% | - | - |
| CVE-2017-16944 | High | 7.5 | 63% | - | Fix |
| CVE-2024-20353 | High | 8.6 | 63% | KEV | - |
Embed a live status badge for CVE-2021-47159
Markdown
[](https://tridentstack.com/cve/CVE-2021-47159)HTML
<a href="https://tridentstack.com/cve/CVE-2021-47159"><img src="https://tridentstack.com/cve/badge/CVE-2021-47159.svg" alt="CVE-2021-47159"></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-03-13.