{"id":"CVE-2023-54129","aliases":["CVE-2023-54129"],"related":[],"kind":"vulnerability","state":"published","title":"octeontx2-af: Add validation for lmac type","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"}],"published":"2025-12-24T13:06:46.817Z","modified":"2026-08-05T09:17:30.008Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"61071a871ea6eb2125ece91c1a0dbb124a318c8a","fixed":"4392454c694b13d78c84165c0964729772cd3b73","status":"affected"},{"type":"git","introduced":"61071a871ea6eb2125ece91c1a0dbb124a318c8a","fixed":"83a7f27c5b94e43f29f8216a32790751139aa61e","status":"affected"},{"type":"git","introduced":"61071a871ea6eb2125ece91c1a0dbb124a318c8a","fixed":"afd7660c766c4d317feae004e5cd829390bbc4b0","status":"affected"},{"type":"git","introduced":"61071a871ea6eb2125ece91c1a0dbb124a318c8a","fixed":"5c0268b141ad612b6fca13d3a66cfda111716dbb","status":"affected"},{"type":"git","introduced":"61071a871ea6eb2125ece91c1a0dbb124a318c8a","fixed":"cb5edce271764524b88b1a6866b3e626686d9a33","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"6.1.32","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.16","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.3","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4392454c694b13d78c84165c0964729772cd3b73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83a7f27c5b94e43f29f8216a32790751139aa61e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afd7660c766c4d317feae004e5cd829390bbc4b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c0268b141ad612b6fca13d3a66cfda111716dbb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb5edce271764524b88b1a6866b3e626686d9a33","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54129","url":"https://www.cve.org/CVERecord?id=CVE-2023-54129","licence":"CVE Terms of Use","modified":"2026-08-05T09:17:30.008Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54129","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54129","licence":"Public domain","modified":"2026-08-04T10:19:30.620Z"}],"updatedAt":"2026-11-25T22:58:35.188Z","epss":{"score":0.00314,"percentile":0.26258,"date":"2026-12-01T12:00:22.000Z"}}