CVE-2026-64585
can: esd_usb: kill anchored URBs before freeing netdevs
Check your servers for CVE-2026-64585
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64585 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
can: esd_usb: kill anchored URBs before freeing netdevs
esd_usb_disconnect() frees each CAN netdev with free_candev() inside its per-netdev loop and only calls unlink_all_urbs(dev) afterwards. The per-netdev private data (struct esd_usb_net_priv) is embedded in the net_device allocation returned by alloc_candev(), so once free_candev() has run, dev->nets[i] points to freed memory. unlink_all_urbs() then dereferences the freed dev->nets[i] to kill the per-netdev TX anchor (usb_kill_anchored_urbs(&priv->tx_submitted)), clear active_tx_jobs, and reset priv->tx_contexts[].
Reorder the teardown so the anchored URBs are killed before the netdevs are freed, matching other CAN/USB drivers in the same directory such as ems_usb, usb_8dev and mcba_usb, which unregister, then unlink, then free: unregister the netdevs first (which stops their TX queues), call unlink_all_urbs(dev) once, then free the netdevs.
This issue was found by an in-house static analysis tool.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.03% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before d12f6add48f2da15c8c8281961d3faad804c76cf affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before aa1d005927db38af783c1a4a8a00a39e0229ab2d affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before a02e1d8f191324583599544d54e59e6a2b74bb0e affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before a3314f10369df70925140f59bbe069718f65a0b9 affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before 765ba1c91823a296447528791b89a6504947fd5c affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before 5832c55b3c824ba2fe9c36ac3c411baddcce053e affected from 96d8e90382dc336b5de401164597edfdc2e8d9f1, before c43122fef328a70045fe7621c06de6b2b8e19264
Other versions: unaffected
|
| Linux |
affected 2.6.36 unaffected before 2.6.36 unaffected from 5.15.217 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64585 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64585
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64585
trivy image --scanners vuln IMAGE | grep CVE-2026-64585
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d12f6add48f2da15c8c8281961d3faad804c76cf git.kernel.org
- https://git.kernel.org/stable/c/aa1d005927db38af783c1a4a8a00a39e0229ab2d git.kernel.org
- https://git.kernel.org/stable/c/a02e1d8f191324583599544d54e59e6a2b74bb0e git.kernel.org
- https://git.kernel.org/stable/c/a3314f10369df70925140f59bbe069718f65a0b9 git.kernel.org
- https://git.kernel.org/stable/c/765ba1c91823a296447528791b89a6504947fd5c git.kernel.org
- https://git.kernel.org/stable/c/5832c55b3c824ba2fe9c36ac3c411baddcce053e git.kernel.org
- https://git.kernel.org/stable/c/c43122fef328a70045fe7621c06de6b2b8e19264 git.kernel.org
Source: the record CVE-2026-64585 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse