CVE-2023-54129

Description

A flaw was found in the octeontx2-af network driver within the Linux kernel where insufficient validation of the lmac_type_id field from firmware during a physical link change can result in a kernel panic. Firmware may report an invalid lmac_type_id, and because the kernel previously derived an internal lmac_type without verifying that the identifier was within a valid range, this can lead to corrupt state and an internal Oops condition.

Statement

An unchecked firmware supplied lmac_type_id indexes cgx_lmactype_string outside its valid range during physical link change processing. The resulting out of bounds pointer read is passed to strncpy and can dereference an invalid address, matching the demonstrated kernel Oops and host denial of service. If an adjacent link peer can reliably induce the affected firmware scenario, repeated link negotiation may provide a credentials free trigger, but ordinary packets or link changes are not proven to control the invalid value. For the CVSS the PR:N value in the paranoid vector reflects this unresolved adjacent peer scenario rather than an assumption that the attacker can modify firmware. Confidentiality is Low only in the worst case because a valid unintended pointer could be copied into notification metadata. No out of bounds write, UAF, or supported integrity impact is present.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/A7.1
Attack VectorAdjacent NetworkN/AAdjacent Network
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ALow
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)

An attacker could provide unexpected values and cause a program crash or arbitrary control of resource allocation, leading to excessive consumption of resources such as memory and CPU.

Confidentiality

Technical Impact: Read Memory; Read Files or Directories

An attacker could read confidential data if they are able to control resource references.

Integrity,Confidentiality,Availability

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

An attacker could use malicious input to modify data or possibly alter control flow in unexpected ways, including arbitrary command execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.