CVE-2023-54105
JSON

Not scored

can: isotp: check CAN address family in isotp_bind()

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e057dd3fc20ffb3d7f150af46542a51b59b90127 before de3c02383aa678f6799402ac47fdd89cf4bfcaa9, from e057dd3fc20ffb3d7f150af46542a51b59b90127 before 2fc6f337257f4f7c21ecff429241f7acaa6df4e8, from e057dd3fc20ffb3d7f150af46542a51b59b90127 before 9427584c2f153d0677ef3bad6f44028c60d728c4, from e057dd3fc20ffb3d7f150af46542a51b59b90127 before dd4faace51e41a82a8c0770ee0cc26088f9d9d06, from e057dd3fc20ffb3d7f150af46542a51b59b90127 before c6adf659a8ba85913e16a571d5a9bcd17d3d1234, 5.10
Not affected: before 5.10, from 5.10.200 up to 5.10.*, from 5.15.138 up to 5.15.*, from 6.1.16 up to 6.1.*, from 6.2.3 up to 6.2.*, from 6.3 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54105 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-54105 changed 2026-06-17Public domain