CVE-2023-54129
octeontx2-af: Add validation for lmac type
Check your servers for CVE-2023-54129
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54129 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 61071a871ea6eb2125ece91c1a0dbb124a318c8a, before 4392454c694b13d78c84165c0964729772cd3b73 affected from 61071a871ea6eb2125ece91c1a0dbb124a318c8a, before 83a7f27c5b94e43f29f8216a32790751139aa61e affected from 61071a871ea6eb2125ece91c1a0dbb124a318c8a, before afd7660c766c4d317feae004e5cd829390bbc4b0 affected from 61071a871ea6eb2125ece91c1a0dbb124a318c8a, before 5c0268b141ad612b6fca13d3a66cfda111716dbb affected from 61071a871ea6eb2125ece91c1a0dbb124a318c8a, before cb5edce271764524b88b1a6866b3e626686d9a33
Other versions: unaffected
|
| Linux |
affected 4.20 unaffected before 4.20 unaffected from 5.10.259 up to and including 5.10.* unaffected from 6.1.32 up to and including 6.1.* unaffected from 6.2.16 up to and including 6.2.* unaffected from 6.3.3 up to and including 6.3.* unaffected 6.4 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54129 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54129
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54129
trivy image --scanners vuln IMAGE | grep CVE-2023-54129
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4392454c694b13d78c84165c0964729772cd3b73 git.kernel.org
- https://git.kernel.org/stable/c/83a7f27c5b94e43f29f8216a32790751139aa61e git.kernel.org
- https://git.kernel.org/stable/c/afd7660c766c4d317feae004e5cd829390bbc4b0 git.kernel.org
- https://git.kernel.org/stable/c/5c0268b141ad612b6fca13d3a66cfda111716dbb git.kernel.org
- https://git.kernel.org/stable/c/cb5edce271764524b88b1a6866b3e626686d9a33 git.kernel.org
Source: the record CVE-2023-54129 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse