CVE-2026-23061

Source
https://cve.org/CVERecord?id=CVE-2026-23061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23061
Downstream
Related
Published
2026-02-04T16:07:43.626Z
Modified
2026-03-24T08:59:28.824714Z
Summary
can: kvaser_usb: kvaser_usb_read_bulk_callback(): fix URB memory leak
Details

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

can: kvaserusb: kvaserusbreadbulk_callback(): fix URB memory leak

Fix similar memory leak as in commit 7352e1d5932a ("can: gsusb: gsusbreceivebulk_callback(): fix URB memory leak").

In kvaserusbset_{,data_}bittiming() -> kvaserusbsetuprxurbs(), the URBs for USB-in transfers are allocated, added to the dev->rxsubmitted anchor and submitted. In the complete callback kvaserusbreadbulkcallback(), the URBs are processed and resubmitted. In kvaserusbremoveinterfaces() the URBs are freed by calling usbkillanchoredurbs(&dev->rxsubmitted).

However, this does not take into account that the USB framework unanchors the URB before the complete function is called. This means that once an in-URB has been completed, it is no longer anchored and is ultimately not released in usbkillanchored_urbs().

Fix the memory leak by anchoring the URB in the kvaserusbreadbulkcallback() to the dev->rx_submitted anchor.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23061.json"
}
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
080f40a6fa28dab299da7a652e444b1e2d9231e7
Fixed
d9d824582f2ec76459ffab449e9b05c7bc49645c
Fixed
40a3334ffda479c63e416e61ff086485e24401f7
Fixed
c1b39fa24c140bc616f51fef4175c1743e2bb132
Fixed
7c308f7530bffafa994e0aa8dc651a312f4b9ff4
Fixed
94a7fc42e21c7d9d1c49778cd1db52de5df52a01
Fixed
3b1a593eab941c3f32417896cc7df564191f2482
Fixed
248e8e1a125fa875158df521b30f2cc7e27eeeaa

Database specific

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