Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47148
HistoryMar 25, 2024 - 9:07 a.m.

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

2024-03-2509:07:44
Linux
github.com
cve-2021-47148
vulnerability
buffer overflow
linux kernel

7.4 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.2%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c"
    ],
    "versions": [
      {
        "version": "81a4362016e7",
        "lessThan": "389146bc6d2b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "81a4362016e7",
        "lessThan": "e5cc361e2164",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c"
    ],
    "versions": [
      {
        "version": "5.12",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.12",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.9",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.4 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.2%

Related for VULNRICHMENT:CVE-2021-47148