Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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
Kernel
Affected versions
Not specified
Fixed versions
5.10.200, 5.15.138, 6.1.16, 6.2.3
CVEs
CVE-2023-54105
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:35 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 24 Dec 2025, 13:06 UTC

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.

osv:CVE-2023-54105

Kernel

Fixed versions: 5.10.200, 5.15.138, 6.1.16, 6.2.3

Complete source record
{
  "id": "1fe17c928074fc5c27ddd4f2953cf50bc7b3b3e286a51ee89613b3d9a4b22cf0",
  "url": "https://osv.dev/vulnerability/CVE-2023-54105",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "can: isotp: check CAN address family in isotp_bind()",
    "summary": "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.",
    "evidence": "osv:CVE-2023-54105",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.200",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.138",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-54105",
      "aliases": [
        "CVE-2023-54105"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e057dd3fc20ffb3d7f150af46542a51b59b90127"
                },
                {
                  "fixed": "de3c02383aa678f6799402ac47fdd89cf4bfcaa9"
                },
                {
                  "fixed": "2fc6f337257f4f7c21ecff429241f7acaa6df4e8"
                },
                {
                  "fixed": "9427584c2f153d0677ef3bad6f44028c60d728c4"
                },
                {
                  "fixed": "dd4faace51e41a82a8c0770ee0cc26088f9d9d06"
                },
                {
                  "fixed": "c6adf659a8ba85913e16a571d5a9bcd17d3d1234"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54105.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.10.0"
                },
                {
                  "fixed": "5.10.200"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.138"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54105.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.853243957Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2fc6f337257f4f7c21ecff429241f7acaa6df4e8",
        "https://git.kernel.org/stable/c/9427584c2f153d0677ef3bad6f44028c60d728c4",
        "https://git.kernel.org/stable/c/c6adf659a8ba85913e16a571d5a9bcd17d3d1234",
        "https://git.kernel.org/stable/c/dd4faace51e41a82a8c0770ee0cc26088f9d9d06",
        "https://git.kernel.org/stable/c/de3c02383aa678f6799402ac47fdd89cf4bfcaa9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54105.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54105",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54105.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54105",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 501152,
  "published_at": "2025-12-24T13:06:30.053+00:00"
}