Linux Kernel: CAN isotp Bind AF_XDP Mislabeling Vulnerability
CVE-2023-54105 Published on December 24, 2025
can: isotp: check CAN address family in isotp_bind()
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.
Products Associated with CVE-2023-54105
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Linux Kernel. Just hit a watch button to start following.
Affected Versions
Linux:- Version e057dd3fc20ffb3d7f150af46542a51b59b90127 and below de3c02383aa678f6799402ac47fdd89cf4bfcaa9 is affected.
- Version e057dd3fc20ffb3d7f150af46542a51b59b90127 and below 2fc6f337257f4f7c21ecff429241f7acaa6df4e8 is affected.
- Version e057dd3fc20ffb3d7f150af46542a51b59b90127 and below 9427584c2f153d0677ef3bad6f44028c60d728c4 is affected.
- Version e057dd3fc20ffb3d7f150af46542a51b59b90127 and below dd4faace51e41a82a8c0770ee0cc26088f9d9d06 is affected.
- Version e057dd3fc20ffb3d7f150af46542a51b59b90127 and below c6adf659a8ba85913e16a571d5a9bcd17d3d1234 is affected.
- Version 5.10 is affected.
- Before 5.10 is unaffected.
- Version 5.10.200, <= 5.10.* is unaffected.
- Version 5.15.138, <= 5.15.* is unaffected.
- Version 6.1.16, <= 6.1.* is unaffected.
- Version 6.2.3, <= 6.2.* is unaffected.
- Version 6.3, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.