{"id":"CVE-2023-54129","published":"2025-12-24T13:06:46Z","modified":"2026-08-05T09:17:30Z","title":"octeontx2-af: Add validation for lmac type","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: Add validation for lmac type\n\nUpon physical link change, firmware reports to the kernel about the\nchange along with the details like speed, lmac_type_id, etc.\nKernel derives lmac_type based on lmac_type_id received from firmware.\n\nIn a few scenarios, firmware returns an invalid lmac_type_id, which\nis resulting in below kernel panic. This patch adds the missing\nvalidation of the lmac_type_id field.\n\nInternal error: Oops: 96000005 [#1] PREEMPT SMP\n[   35.321595] Modules linked in:\n[   35.328982] CPU: 0 PID: 31 Comm: kworker/0:1 Not tainted\n5.4.210-g2e3169d8e1bc-dirty #17\n[   35.337014] Hardware name: Marvell CN103XX board (DT)\n[   35.344297] Workqueue: events work_for_cpu_fn\n[   35.352730] pstate: 40400089 (nZcv daIf +PAN -UAO)\n[   35.360267] pc : strncpy+0x10/0x30\n[   35.366595] lr : cgx_link_change_handler+0x90/0x180","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00293,"percentile":0.21856,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4392454c694b13d78c84165c0964729772cd3b73","tags":[]},{"url":"https://git.kernel.org/stable/c/83a7f27c5b94e43f29f8216a32790751139aa61e","tags":[]},{"url":"https://git.kernel.org/stable/c/afd7660c766c4d317feae004e5cd829390bbc4b0","tags":[]},{"url":"https://git.kernel.org/stable/c/5c0268b141ad612b6fca13d3a66cfda111716dbb","tags":[]},{"url":"https://git.kernel.org/stable/c/cb5edce271764524b88b1a6866b3e626686d9a33","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":4.37},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 4392454c694b13d78c84165c0964729772cd3b73",">= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 83a7f27c5b94e43f29f8216a32790751139aa61e",">= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < afd7660c766c4d317feae004e5cd829390bbc4b0",">= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < 5c0268b141ad612b6fca13d3a66cfda111716dbb",">= 61071a871ea6eb2125ece91c1a0dbb124a318c8a, < cb5edce271764524b88b1a6866b3e626686d9a33"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"euvd":{"id":"EUVD-2023-60316","exploited":false,"provenance":"source"}}