CVE-2026-23061: can: kvaser_usb: kvaser_usb_read_bulk_callback(): fix URB memory leak
In the Linux kernel, the following vulnerability has been resolved:
can: kvaserusb: kvaserusbreadbulkcallback(): fix URB memory leak
Fix similar memory leak as in commit 7352e1d5932a ("can: gsusb: gsusbreceivebulkcallback(): 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 usbkillanchoredurbs().
Fix the memory leak by anchoring the URB in the kvaserusbreadbulkcallback() to the dev->rxsubmitted anchor.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23061?
CVE-2026-23061 has a medium severity due to its potential impact on system performance through a memory leak.
How do I fix CVE-2026-23061?
To fix CVE-2026-23061, it is recommended to update the Linux kernel to the latest version where the vulnerability has been patched.
What systems are affected by CVE-2026-23061?
CVE-2026-23061 affects the Linux kernel, specifically systems utilizing the kvaser_usb driver.
What happens if CVE-2026-23061 is exploited?
Exploitation of CVE-2026-23061 can lead to a memory leak, potentially degrading system performance over time.
Is there a known exploit for CVE-2026-23061?
As of now, there are no publicly known exploits for CVE-2026-23061, but monitoring and patching are advised.