# CVE-2026-99673: can: replace ARPHRD_CAN type checks with can_get_ml_priv()

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

In the Linux kernel, the following vulnerability has been resolved:

can: replace ARPHRD_CAN type checks with can_get_ml_priv()

Commit 4e096a18867a ("net: introduce CAN specific pointer in the struct
net_device") introduced an explicit way to assign the midlayer private
pointer (dev->ml_priv) to named users like ML_PRIV_CAN. A valid pointer
returned by can_get_ml_priv() therefore identifies a real CAN device.

The referenced commit only converted the j1939 and proc code to this
check, while the other parts of the CAN subsystem still rely on
dev->type == ARPHRD_CAN.

The TUNSETLINK ioctl allows a down TUN/TAP device to set its hardware
type to ARPHRD_CAN while dev->ml_priv remains NULL. Such a repurposed
netdevice passes the ARPHRD_CAN checks.

Commit 8aa59e355949 ("can: af_can: fix NULL pointer dereference in
can_rx_register()") already made can_rx_register() reject such devices.
But can_rx_unregister() still only checks dev->type and dereferences
the NULL ml_priv when it walks the receive lists of the device.

CAN_ISOTP reaches this path: isotp_bind() ignores the return values of
can_rx_register() and binds the socket anyway. When the socket is
released or the device is unregistered, isotp_release() and
isotp_notify() remove the filters that have never been registered and
trigger the NULL pointer dereference in can_rx_unregister(). This only
requires owning a TUN/TAP device or CAP_NET_ADMIN in an unprivileged
user namespace.

Convert the remaining ARPHRD_CAN checks in af_can, bcm, gw, isotp and
raw to can_get_ml_priv().

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 1a5751d58b14195f763b8c1d9ef33fb8a93e95e7; < e7f686bf1dd85c2c128591052268df897d514fd2 (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < 7678720471f4e1812c2a2d8ac81a6b8b0518d647 (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < 34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < de3e876a2081b7fe051ffdff6a6703ee77ec2599 (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < f4910431fdf7b2800f0bec9f161900511f9a8bcd (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < 27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19 (affected, git); ≥ 4e096a18867a5a989b510f6999d9c6b6622e8f7b; < 962947b69589881167054bae5accc8abfd5aa4b6 (affected, git); 4ac1feff6ea6495cbfd336f4438a6c6d140544a6 (affected, git); 96340078d50a54f6a1252c62596bc44321c8bff9 (affected, git); ≥ 5.10.28; < 5.10.275 (affected, semver); ≥ 5.4.110; < 5.5 (affected, semver); ≥ 5.11.12; < 5.12 (affected, semver). Source: CNA: Linux
- Linux / Linux: 5.12 (affected); ≥ 0; < 5.12 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.18%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/e7f686bf1dd85c2c128591052268df897d514fd2 (CNA: Linux)

- https://git.kernel.org/stable/c/7678720471f4e1812c2a2d8ac81a6b8b0518d647 (CNA: Linux)

- https://git.kernel.org/stable/c/34a6f32b778f8fb3c2b8e3e4bf1db7aefc4d53fc (CNA: Linux)

- https://git.kernel.org/stable/c/de3e876a2081b7fe051ffdff6a6703ee77ec2599 (CNA: Linux)

- https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b (CNA: Linux)

- https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd (CNA: Linux)

- https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19 (CNA: Linux)

- https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6 (CNA: Linux)

- https://git.kernel.org/stable/c/27edc672a80ae9d5e7e8aa0cc8f5e3ed2b5dab19 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/962947b69589881167054bae5accc8abfd5aa4b6 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/c693cbfbc2ad5ab159c671c58f285aa3d4d8a98b (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/f4910431fdf7b2800f0bec9f161900511f9a8bcd (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99673; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99673; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99673; retrieved 2026-11-23; source updated Not reported

Revision: 1b0d6e97ba4554ce259222d803b6abf8cfbe5330924763e7c3148e2d12c4a72e

Canonical: https://y2.dev/cve/CVE-2026-99673

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.