# CVE-2026-23031: can: gs\_usb: gs\_usb\_receive\_bulk\_callback(): fix URB memory leak

- Priority: **Routine**
- Reason: Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-31 · Modified: 2026-06-02
- Aliases: UBUNTU-CVE-2026-23031, DEBIAN-CVE-2026-23031
- Record: https://cvemate.com/vulnerability/CVE-2026-23031 · JSON: https://cvemate.com/vulnerability/CVE-2026-23031/json

## Description

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

can: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak

In gs_can_open(), the URBs for USB-in transfers are allocated, added to the
parent->rx_submitted anchor and submitted. In the complete callback
gs_usb_receive_bulk_callback(), the URB is processed and resubmitted. In
gs_can_close() the URBs are freed by calling
usb_kill_anchored_urbs(parent->rx_submitted).

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 gs_can_close().

Fix the memory leak by anchoring the URB in the
gs_usb_receive_bulk_callback() to the parent->rx_submitted anchor.
```

## Signals

- CVSS: 6.7 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.22%, percentile 13.388%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 160)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-117.117
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1055.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1057.60~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1055.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1056.62

## References (first 20 of 40)

- <https://git.kernel.org/stable/c/9c151898cc259a7784be60ba38664f42ede39b31>
- <https://git.kernel.org/stable/c/ec5ccc2af9e5b045671f3f604b57512feda8bcc5>
- <https://git.kernel.org/stable/c/f905bcfa971edb89e398c98957838d8c6381c0c7>
- <https://git.kernel.org/stable/c/08624b7206ddb9148eeffc2384ebda2c47b6d1e9>
- <https://git.kernel.org/stable/c/9f669a38ca70839229b7ba0f851820850a2fe1f7>
- <https://git.kernel.org/stable/c/7352e1d5932a0e777e39fa4b619801191f57e603>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://ubuntu.com/security/CVE-2026-23031>
- <https://www.cve.org/CVERecord?id=CVE-2026-23031>
- <https://git.kernel.org/linus/7352e1d5932a0e777e39fa4b619801191f57e603>
- <https://ubuntu.com/security/notices/USN-8278-1>
- <https://ubuntu.com/security/notices/USN-8289-1>
- <https://ubuntu.com/security/notices/USN-8296-1>
- <https://ubuntu.com/security/notices/USN-8296-2>
- <https://ubuntu.com/security/notices/USN-8289-2>
- <https://ubuntu.com/security/notices/USN-8278-2>
- <https://ubuntu.com/security/notices/USN-8393-1>
- <https://ubuntu.com/security/notices/USN-8440-1>
- <https://ubuntu.com/security/notices/USN-8499-1>
- <https://ubuntu.com/security/notices/USN-8570-1>

---

Data as of 2026-12-05T05:11:10.905Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
