can: esd_usb: kill anchored URBs before freeing netdevs

Summary

CVECVE-2026-64585
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-06 08:16:33 UTC
Updated2026-08-06 08:16:33 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001610000 probability, percentile 0.056810000 (date 2026-08-06)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 aa1d005927db38af783c1a4a8a00a39e0229ab2d git Not specified
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 a02e1d8f191324583599544d54e59e6a2b74bb0e git Not specified
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 a3314f10369df70925140f59bbe069718f65a0b9 git Not specified
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 765ba1c91823a296447528791b89a6504947fd5c git Not specified
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 5832c55b3c824ba2fe9c36ac3c411baddcce053e git Not specified
CNA Linux Linux affected 96d8e90382dc336b5de401164597edfdc2e8d9f1 c43122fef328a70045fe7621c06de6b2b8e19264 git Not specified
CNA Linux Linux affected 2.6.36 Not specified
CNA Linux Linux unaffected 2.6.36 semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/aa1d005927db38af783c1a4a8a00a39e0229ab2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c43122fef328a70045fe7621c06de6b2b8e19264 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a3314f10369df70925140f59bbe069718f65a0b9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5832c55b3c824ba2fe9c36ac3c411baddcce053e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a02e1d8f191324583599544d54e59e6a2b74bb0e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/765ba1c91823a296447528791b89a6504947fd5c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report