CVE-2026-64585

Source
https://cve.org/CVERecord?id=CVE-2026-64585
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64585.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64585
Downstream
Related
Published
2026-08-06T07:06:26.556Z
Modified
2026-08-25T03:51:35.576629116Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
can: esd_usb: kill anchored URBs before freeing netdevs
Details

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

can: esd_usb: kill anchored URBs before freeing netdevs

esdusbdisconnect() frees each CAN netdev with freecandev() inside its per-netdev loop and only calls unlinkallurbs(dev) afterwards. The per-netdev private data (struct esdusbnetpriv) is embedded in the netdevice allocation returned by alloccandev(), so once freecandev() has run, dev->nets[i] points to freed memory. unlinkallurbs() then dereferences the freed dev->nets[i] to kill the per-netdev TX anchor (usbkillanchoredurbs(&priv->txsubmitted)), clear activetxjobs, and reset priv->txcontexts[].

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 emsusb, usb8dev and mcbausb, which unregister, then unlink, then free: unregister the netdevs first (which stops their TX queues), call unlinkall_urbs(dev) once, then free the netdevs.

This issue was found by an in-house static analysis tool.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64585.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
96d8e90382dc336b5de401164597edfdc2e8d9f1
Fixed
d12f6add48f2da15c8c8281961d3faad804c76cf
Fixed
aa1d005927db38af783c1a4a8a00a39e0229ab2d
Fixed
a02e1d8f191324583599544d54e59e6a2b74bb0e
Fixed
a3314f10369df70925140f59bbe069718f65a0b9
Fixed
765ba1c91823a296447528791b89a6504947fd5c
Fixed
5832c55b3c824ba2fe9c36ac3c411baddcce053e
Fixed
c43122fef328a70045fe7621c06de6b2b8e19264

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64585.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.36
Fixed
5.15.217
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64585.json"