Skip to main content

Linux Kernel CVE-2023-54129

HIGH
2025-12-24 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.1
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
7.1 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
vuln.today AI
4.7 MEDIUM

Triggering requires firmware control on local OcteonTX2 hardware, warranting AV:L, AC:H, and PR:H; confidentiality impact is low from potential out-of-bounds kernel memory exposure.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.5 MEDIUM
qualitative

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 10:32 vuln.today
v1 (cvss_changed)
Re-analysis Queued
Aug 04, 2026 - 10:23 vuln.today
cvss_changed
CVSS changed
Aug 04, 2026 - 10:23 NVD
7.1 (HIGH)
CVE Published
Dec 24, 2025 - 13:16 cve.org
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

octeontx2-af: Add validation for lmac type

Upon physical link change, firmware reports to the kernel about the change along with the details like speed, lmac_type_id, etc. Kernel derives lmac_type based on lmac_type_id received from firmware.

In a few scenarios, firmware returns an invalid lmac_type_id, which is resulting in below kernel panic. This patch adds the missing validation of the lmac_type_id field.

Internal error: Oops: 96000005 [#1] PREEMPT SMP [ 35.321595] Modules linked in: [ 35.328982] CPU: 0 PID: 31 Comm: kworker/0:1 Not tainted 5.4.210-g2e3169d8e1bc-dirty #17 [ 35.337014] Hardware name: Marvell CN103XX board (DT) [ 35.344297] Workqueue: events work_for_cpu_fn [ 35.352730] pstate: 40400089 (nZcv daIf +PAN -UAO) [ 35.360267] pc : strncpy+0x10/0x30 [ 35.366595] lr : cgx_link_change_handler+0x90/0x180

AnalysisAI

Kernel panic in the Linux octeontx2-af driver exposes Marvell CN103XX OcteonTX2 systems to a denial-of-service crash when firmware reports a physical link change event with an invalid lmac_type_id value. The driver's cgx_link_change_handler() uses the unvalidated firmware-supplied ID to index into an array and calls strncpy with the resulting out-of-bounds pointer, producing a fatal kernel Oops in a workqueue context. No public exploit has been identified and EPSS sits at 0.17% (6th percentile), but the crash is deterministic once the invalid firmware value is processed, making Availability impact high on affected hardware.

Technical ContextAI

The octeontx2-af kernel driver manages the Abstract Firmware interface for Marvell's OcteonTX2 CN10xxx/CN9xxx line of networking SoCs, including the CN103XX board confirmed in the panic trace. The firmware communicates physical link state changes to the kernel via a mailbox/shared-memory channel. The handler cgx_link_change_handler() reads lmac_type_id from the firmware message and uses it without bounds validation to look up a string in a fixed-size table, then passes the resulting pointer to strncpy. An out-of-range lmac_type_id produces an invalid memory reference - confirmed by the panic at strncpy+0x10/0x30 called from cgx_link_change_handler+0x90/0x180 - which crashes the kernel. Although CWE is not formally assigned, the root cause class is CWE-129 (Improper Validation of Array Index) combined with CWE-20 (Improper Input Validation) from a trusted-but-unvalidated firmware source.

Affected ProductsAI

The Linux kernel's octeontx2-af driver is affected on systems running Marvell OcteonTX2 (CN10xxx/CN9xxx series) hardware, including the CN103XX board explicitly named in the panic trace. Affected kernel versions are those shipping the cgx_link_change_handler function without lmac_type_id bounds validation. Five stable-tree patch commits were applied (4392454c694b, 5c0268b141ad, 83a7f27c5b94, afd7660c766c, cb5edce27176), indicating fixes were backported across multiple stable branches. Exact version ranges are not explicitly stated in available data and must be inferred from which stable series received these commits. Standard x86 and non-OcteonTX2 architectures are not affected.

RemediationAI

Apply the upstream stable-tree fixes available at git.kernel.org: commits 4392454c694b13d78c84165c0964729772cd3b73, 5c0268b141ad612b6fca13d3a66cfda111716dbb, 83a7f27c5b94e43f29f8216a32790751139aa61e, afd7660c766c4d317feae004e5cd829390bbc4b0, and cb5edce271764524b88b1a6866b3e626686d9a33. Upgrade to a kernel version that incorporates these patches for the relevant stable branch. No specific minimum fixed version is independently confirmed from available data beyond these commit references, so verify with your distribution's kernel changelog. As a compensating control for unpatched systems, ensure physical access to OcteonTX2 hardware is restricted and validate firmware authenticity and integrity through vendor-supplied mechanisms. Disabling hot-plug or link-change event processing is not a practical workaround given its role in normal network operation. No official vendor advisory URL was included in the available data.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Liberty Linux 9 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

Share

CVE-2023-54129 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy