CVE-2023-54105
can: isotp: check CAN address family in isotp_bind()
Check your servers for CVE-2023-54105
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-54105 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:
can: isotp: check CAN address family in isotp_bind()
Add missing check to block non-AF_CAN binds.
Syzbot created some code which matched the right sockaddr struct size but used AF_XDP (0x2C) instead of AF_CAN (0x1D) in the address family field:
bind$xdp(r2, &(0x7f0000000540)={0x2c, 0x0, r4, 0x0, r2}, 0x10) ^^^^ This has no funtional impact but the userspace should be notified about the wrong address family field content.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e057dd3fc20ffb3d7f150af46542a51b59b90127, before de3c02383aa678f6799402ac47fdd89cf4bfcaa9 affected from e057dd3fc20ffb3d7f150af46542a51b59b90127, before 2fc6f337257f4f7c21ecff429241f7acaa6df4e8 affected from e057dd3fc20ffb3d7f150af46542a51b59b90127, before 9427584c2f153d0677ef3bad6f44028c60d728c4 affected from e057dd3fc20ffb3d7f150af46542a51b59b90127, before dd4faace51e41a82a8c0770ee0cc26088f9d9d06 affected from e057dd3fc20ffb3d7f150af46542a51b59b90127, before c6adf659a8ba85913e16a571d5a9bcd17d3d1234
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.200 up to and including 5.10.* unaffected from 5.15.138 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 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-54105 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54105
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-54105
trivy image --scanners vuln IMAGE | grep CVE-2023-54105
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/de3c02383aa678f6799402ac47fdd89cf4bfcaa9 git.kernel.org
- https://git.kernel.org/stable/c/2fc6f337257f4f7c21ecff429241f7acaa6df4e8 git.kernel.org
- https://git.kernel.org/stable/c/9427584c2f153d0677ef3bad6f44028c60d728c4 git.kernel.org
- https://git.kernel.org/stable/c/dd4faace51e41a82a8c0770ee0cc26088f9d9d06 git.kernel.org
- https://git.kernel.org/stable/c/c6adf659a8ba85913e16a571d5a9bcd17d3d1234 git.kernel.org
Source: the record CVE-2023-54105 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