Junglewise Threat Intelligence

CVE-2025-68307: Linux Kernel resource leak in gs_usb driver

CVE-2025-68307 · Severity: info · CVSS 4 · Published 2025-12-16

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's gs_usb driver can cause network communication to slow down or stop entirely. This occurs because the driver fails to properly clean up resources when a data transmission fails, leading to a gradual exhaustion of available communication slots. In practice, this could result in a denial-of-service for devices relying on CAN bus communication via USB.

Technical details

A resource leak exists in the gs_usb CAN driver within the gs_usb_xmit_callback() function. When a bulk URB transmission fails, the driver does not perform necessary cleanup, such as marking the echo_skb as free, freeing the driver's context, or waking the send queue. This results in a permanent reduction of available URBs for each error encountered. Over time, this leads to performance degradation and a complete denial-of-service (DoS) for the CAN interface. The fix involves implementing proper accounting and resource release in the error path of the callback function.

Affected products

  • Linux Linux Kernel All versions prior to the fix in gs_usb driver

Timeline

  • 2025-11-08: other: Patch authored
  • 2025-12-16: advisory: CVE published

References