# CVE-2023-54129: octeontx2-af: Add validation for lmac type

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **Published:** 2025-12-24T13:06:46.817Z
- **Modified:** 2026-08-05T09:17:30.008Z

## Who should check

- Anyone running Linux \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 4392454c694b13d78c84165c0964729772cd3b73; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 83a7f27c5b94e43f29f8216a32790751139aa61e; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< afd7660c766c4d317feae004e5cd829390bbc4b0; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 5c0268b141ad612b6fca13d3a66cfda111716dbb; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< cb5edce271764524b88b1a6866b3e626686d9a33
- Anyone running Linux 4.20

## Description

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

## Affected and fixed versions

- Linux: \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 4392454c694b13d78c84165c0964729772cd3b73; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 83a7f27c5b94e43f29f8216a32790751139aa61e; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< afd7660c766c4d317feae004e5cd829390bbc4b0; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 5c0268b141ad612b6fca13d3a66cfda111716dbb; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< cb5edce271764524b88b1a6866b3e626686d9a33 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54129. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54129.md
Affected: Linux >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 4392454c694b13d78c84165c0964729772cd3b73; >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 83a7f27c5b94e43f29f8216a32790751139aa61e; >= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < afd7660c766c4d317feae004e5cd829390bbc4b0; >= 61071a871ea6eb2125ece91…
Fixed in: Linux 4392454c694b13d78c84165c0964729772cd3b73, Linux 83a7f27c5b94e43f29f8216a32790751139aa61e, Linux 5c0268b141ad612b6fca13d3a66cfda111716dbb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54129 being exploited?

There is no confirmed exploitation: CVE-2023-54129 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54129?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-54129?

Linux \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 4392454c694b13d78c84165c0964729772cd3b73; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 83a7f27c5b94e43f29f8216a32790751139aa61e; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< afd7660c766c4d317feae004e5cd829390bbc4b0; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< 5c0268b141ad612b6fca13d3a66cfda111716dbb; \>= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, \< cb5edce271764524b88b1a6866b3e626686d9a33; Linux 4.20.

### Is there a fix for CVE-2023-54129?

Yes. Fixed in Linux 4392454c694b13d78c84165c0964729772cd3b73, Linux 83a7f27c5b94e43f29f8216a32790751139aa61e, Linux 5c0268b141ad612b6fca13d3a66cfda111716dbb. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54129?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4392454c694b13d78c84165c0964729772cd3b73>
- other: <https://git.kernel.org/stable/c/83a7f27c5b94e43f29f8216a32790751139aa61e>
- other: <https://git.kernel.org/stable/c/afd7660c766c4d317feae004e5cd829390bbc4b0>
- other: <https://git.kernel.org/stable/c/5c0268b141ad612b6fca13d3a66cfda111716dbb>
- other: <https://git.kernel.org/stable/c/cb5edce271764524b88b1a6866b3e626686d9a33>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54129>

HTML: <https://flawdb.com/CVE-2023-54129> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54129>
