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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-12-24T13:06:46.817Z
- Modified: 2026-08-05T09:17:30.008Z
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 61071a871ea6eb2125ece91c1a0dbb124a318c8a before 4392454c694b13d78c84165c0964729772cd3b73; from 61071a871ea6eb2125ece91c1a0dbb124a318c8a before 83a7f27c5b94e43f29f8216a32790751139aa61e; from 61071a871ea6eb2125ece91c1a0dbb124a318c8a before afd7660c766c4d317feae004e5cd829390bbc4b0; from 61071a871ea6eb2125ece91c1a0dbb124a318c8a before 5c0268b141ad612b6fca13d3a66cfda111716dbb; from 61071a871ea6eb2125ece91c1a0dbb124a318c8a before cb5edce271764524b88b1a6866b3e626686d9a33; 4.20 (not affected: before 4.20; from 5.10.259 up to 5.10.*; from 6.1.32 up to 6.1.*; from 6.2.16 up to 6.2.*; from 6.3.3 up to 6.3.*; from 6.4 up to *)

## References

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

## Sources

- CVE List: [CVE-2023-54129](https://www.cve.org/CVERecord?id=CVE-2023-54129), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-54129](https://nvd.nist.gov/vuln/detail/CVE-2023-54129), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-54129 · Whole record: https://cve.day/CVE-2023-54129.json · Rebuilt by cve.day 2026-11-25T22:58:35.188Z
