CVE-2023-54105

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e057dd3fc20ffb3d7f150af46542a51b59b90127 to before de3c02383aa678f6799402ac47fdd89cf4bfcaa9Affected
  • e057dd3fc20ffb3d7f150af46542a51b59b90127 to before 2fc6f337257f4f7c21ecff429241f7acaa6df4e8Affected
  • e057dd3fc20ffb3d7f150af46542a51b59b90127 to before 9427584c2f153d0677ef3bad6f44028c60d728c4Affected
  • e057dd3fc20ffb3d7f150af46542a51b59b90127 to before dd4faace51e41a82a8c0770ee0cc26088f9d9d06Affected
  • e057dd3fc20ffb3d7f150af46542a51b59b90127 to before c6adf659a8ba85913e16a571d5a9bcd17d3d1234Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.200 through 5.10.*Not affected
  • 5.15.138 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.