Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47148

published high CVSS 3.1 · 7.8

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

Published
25 Mar 2024, 09:07:44 UTC
Updated
05 Aug 2026, 08:46:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to < 389146bc6d2bbb20714d06624b74856320ce40f7 · 81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to < e5cc361e21648b75f935f9571d4003aaee480214 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.12.9 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached only through a local SIOCETHTOOL ioctl (ETHTOOL_SRSSH → ethtool_set_rxfh → otx2_set_rxfh_context); it is not triggered by received network packets or a remote service. AC:L - The attacker fully controls the rss_context u32 from userspace and can reliably pass an out-of-bounds value; no race or external conditions beyond the attacker's control are required to hit the overflow. PR:L - ETHTOOL_SRSSH requires CAP_NET_ADMIN via ns_capable(net->user_ns, CAP_NET_ADMIN), which is obtainable without real init-namespace root when an octeontx2 PF/VF is present in a userns-owned netns (common SR-IOV/container deployments), so privileges are Low under kernel CNA guidance. UI:N - No victim action is required; the attacker issues the ethtool ioctl directly once they have local access and the needed capability. S:U - The corruption occurs in the host/guest kernel driver and elevates impact only within that same kernel security authority; it is not a VM escape or IOMMU/DMA boundary bypass. C:H - A user-controlled index into rss_ctx[] performs an out-of-bounds pointer load and can be paired with write/free primitives, which per guidance for memory corruption is treated as enabling high confidentiality impact. I:H - With an OOB context the code writes attacker-influenced indir bytes through the fetched pointer and can kfree an OOB pointer on delete, giving classic out-of-bounds write / arbitrary-free integrity compromise. A:H - Invalid pointer dereference or free from the out-of-bounds rss_ctx access can oops/panic the kernel, so availability impact is High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to < 389146bc6d2bbb20714d06624b74856320ce40f7 (affected · git)81a4362016e7d8b17031fe1aa43cdb58a7f0f163 to < e5cc361e21648b75f935f9571d4003aaee480214 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.12 (affected)0 to < 5.12 (unaffected · semver)5.12.9 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
863b8472b8b05ffc2ab97285dd0980df933812eb38c23accddf829d787c64619
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected