CVE-2021-47148

octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context()

State
Published
Severity
7.8 High
Published
Mar 25, 2024
Updated
Aug 5, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to before 389146bc6d2bbb20714d06624b74856320ce40f7Affected
  • 81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to before e5cc361e21648b75f935f9571d4003aaee480214Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.12.9 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.