What’s Vulnerable › Vulnerabilities
CVE-2021-47148: octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-08-04
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context() This function is called from ethtool_set_rxfh() and "*rss_context" comes from the user. Add some bounds checking to prevent memory corruption.
Affected products
- Linux kernel: from 5.12 before 5.12.9; 5.13-rc1, 5.13-rc2, 5.13-rc3 — fixed in 5.12.9
How to fix
Upgrade to a fixed version: Linux kernel 5.12.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/389146bc6d2bbb20714d06624b74856320ce40f7
- https://git.kernel.org/stable/c/e5cc361e21648b75f935f9571d4003aaee480214
- https://git.kernel.org/stable/c/389146bc6d2bbb20714d06624b74856320ce40f7
- https://git.kernel.org/stable/c/e5cc361e21648b75f935f9571d4003aaee480214
Get alerted when CVE-2021-47148 or the next vulnerability affects your stack