{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4e096a18867a5a989b510f6999d9c6b6622e8f7b"
            },
            {
              "fixed": "c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b"
            },
            {
              "fixed": "f4910431fdf7b2800f0bec9f161900511f9a8bcd"
            },
            {
              "fixed": "27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19"
            },
            {
              "fixed": "962947b69589881167054bae5accc8abfd5aa4b6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4ac1feff6ea6495cbfd336f4438a6c6d140544a6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "1a5751d58b14195f763b8c1d9ef33fb8a93e95e7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "96340078d50a54f6a1252c62596bc44321c8bff9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.4.110"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.28"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.12"
            },
            {
              "fixed": "5.12"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.12.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99673.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: replace ARPHRD_CAN type checks with can_get_ml_priv()\n\nCommit 4e096a18867a (\"net: introduce CAN specific pointer in the struct\nnet_device\") introduced an explicit way to assign the midlayer private\npointer (dev-\u003eml_priv) to named users like ML_PRIV_CAN. A valid pointer\nreturned by can_get_ml_priv() therefore identifies a real CAN device.\n\nThe referenced commit only converted the j1939 and proc code to this\ncheck, while the other parts of the CAN subsystem still rely on\ndev-\u003etype == ARPHRD_CAN.\n\nThe TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware\ntype to ARPHRD_CAN while dev-\u003eml_priv remains NULL. Such a repurposed\nnetdevice passes the ARPHRD_CAN checks.\n\nCommit 8aa59e355949 (\"can: af_can: fix NULL pointer dereference in\ncan_rx_register()\") already made can_rx_register() reject such devices.\nBut can_rx_unregister() still only checks dev-\u003etype and dereferences\nthe NULL ml_priv when it walks the receive lists of the device.\n\nCAN_ISOTP reaches this path: isotp_bind() ignores the return values of\ncan_rx_register() and binds the socket anyway. When the socket is\nreleased or the device is unregistered, isotp_release() and\nisotp_notify() remove the filters that have never been registered and\ntrigger the NULL pointer dereference in can_rx_unregister(). This only\nrequires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged\nuser namespace.\n\nConvert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and\nraw to can_get_ml_priv().",
  "id": "CVE-2026-99673",
  "modified": "2026-11-20T06:45:34.718073768Z",
  "published": "2026-11-20T05:50:21.912Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99673.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99673"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "can: replace ARPHRD_CAN type checks with can_get_ml_priv()"
}