{"id":"CVE-2026-23080","aliases":["CVE-2026-23080"],"related":[],"kind":"vulnerability","state":"published","title":"can: mcba_usb: mcba_usb_read_bulk_callback(): fix URB memory leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcba_usb: mcba_usb_read_bulk_callback(): fix URB memory leak\n\nFix similar memory leak as in commit 7352e1d5932a (\"can: gs_usb:\ngs_usb_receive_bulk_callback(): fix URB memory leak\").\n\nIn mcba_usb_probe() -> mcba_usb_start(), the URBs for USB-in transfers are\nallocated, added to the priv->rx_submitted anchor and submitted. In the\ncomplete callback mcba_usb_read_bulk_callback(), the URBs are processed and\nresubmitted. In mcba_usb_close() -> mcba_urb_unlink() the URBs are freed by\ncalling usb_kill_anchored_urbs(&priv->rx_submitted).\n\nHowever, this does not take into account that the USB framework unanchors\nthe URB before the complete function is called. This means that once an\nin-URB has been completed, it is no longer anchored and is ultimately not\nreleased in usb_kill_anchored_urbs().\n\nFix the memory leak by anchoring the URB in the\nmcba_usb_read_bulk_callback()to the priv->rx_submitted anchor.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcba_usb: mcba_usb_read_bulk_callback(): fix URB memory leak\n\nFix similar memory leak as in commit 7352e1d5932a (\"can: gs_usb:\ngs_usb_receive_bulk_callback(): fix URB memory leak\").\n\nIn mcba_usb_probe() -> mcba_usb_start(), the URBs for USB-in transfers are\nallocated, added to the priv->rx_submitted anchor and submitted. In the\ncomplete callback mcba_usb_read_bulk_callback(), the URBs are processed and\nresubmitted. In mcba_usb_close() -> mcba_urb_unlink() the URBs are freed by\ncalling usb_kill_anchored_urbs(&priv->rx_submitted).\n\nHowever, this does not take into account that the USB framework unanchors\nthe URB before the complete function is called. This means that once an\nin-URB has been completed, it is no longer anchored and is ultimately not\nreleased in usb_kill_anchored_urbs().\n\nFix the memory leak by anchoring the URB in the\nmcba_usb_read_bulk_callback()to the priv->rx_submitted anchor.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncan: mcba_usb: mcba_usb_read_bulk_callback(): corrige la fuga de memoria de URB\n\nCorrige una fuga de memoria similar a la del commit 7352e1d5932a ('can: gs_usb: gs_usb_receive_bulk_callback(): corrige la fuga de memoria de URB').\n\nEn mcba_usb_probe() -&gt; mcba_usb_start(), los URB para transferencias USB de entrada se asignan, se añaden al ancla priv-&gt;rx_submitted y se envían. En la función de callback de completado mcba_usb_read_bulk_callback(), los URB se procesan y se reenvían. En mcba_usb_close() -&gt; mcba_urb_unlink(), los URB se liberan llamando a usb_kill_anchored_urbs(&amp;priv-&gt;rx_submitted).\n\nSin embargo, esto no tiene en cuenta que el framework USB desancla el URB antes de que se llame a la función de completado. Esto significa que una vez que un URB de entrada ha sido completado, ya no está anclado y finalmente no se libera en usb_kill_anchored_urbs().\n\nCorrige la fuga de memoria anclando el URB en mcba_usb_read_bulk_callback() al ancla priv-&gt;rx_submitted.","source":"nvd"}],"published":"2026-02-04T16:08:04.982Z","modified":"2026-06-17T10:20:49.810Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"8b34c611a4feb81921bc4728c091e4e3ba0270c0","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"b5a1ccdc63b71d93a69a6b72f7a3f3934293ea60","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"59153b6388e05609144ad56a9b354e9100a91983","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"179f6f0cf5ae489743273b7c1644324c0c477ea9","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"94c9f6f7b953f6382fef4bdc48c046b861b8868f","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"d374d715e338dfc3804aaa006fa6e470ffebb264","status":"affected"},{"type":"git","introduced":"51f3baad7de943780ce0c17bd7975df567dd6e14","fixed":"710a7529fb13c5a470258ff5508ed3c498d54729","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.249","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.68","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.8","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"5.10.249"},{"status":"affected","introduced":"5.11","fixed":"5.15.199"},{"status":"affected","introduced":"5.16","fixed":"6.1.162"},{"status":"affected","introduced":"6.2","fixed":"6.6.122"},{"status":"affected","introduced":"6.7","fixed":"6.12.68"},{"status":"affected","introduced":"6.13","fixed":"6.18.8"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8b34c611a4feb81921bc4728c091e4e3ba0270c0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5a1ccdc63b71d93a69a6b72f7a3f3934293ea60","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59153b6388e05609144ad56a9b354e9100a91983","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/179f6f0cf5ae489743273b7c1644324c0c477ea9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94c9f6f7b953f6382fef4bdc48c046b861b8868f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d374d715e338dfc3804aaa006fa6e470ffebb264","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/710a7529fb13c5a470258ff5508ed3c498d54729","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23080","url":"https://www.cve.org/CVERecord?id=CVE-2026-23080","licence":"CVE Terms of Use","modified":"2026-05-11T21:59:36.827Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23080","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23080","licence":"Public domain","modified":"2026-06-17T10:20:49.810Z"}],"updatedAt":"2026-11-25T22:59:13.468Z","epss":{"score":0.00147,"percentile":0.04136,"date":"2026-12-01T12:00:22.000Z"}}