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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **Published:** 2026-01-31T11:42:09.276Z
- **Modified:** 2026-06-17T10:20:44.640Z

## Who should check

- Anyone running Linux \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9c151898cc259a7784be60ba38664f42ede39b31; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< ec5ccc2af9e5b045671f3f604b57512feda8bcc5; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< f905bcfa971edb89e398c98957838d8c6381c0c7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 08624b7206ddb9148eeffc2384ebda2c47b6d1e9; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9f669a38ca70839229b7ba0f851820850a2fe1f7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 7352e1d5932a0e777e39fa4b619801191f57e603
- Anyone running Linux 3.16

## Description

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.

## Affected and fixed versions

- Linux: \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9c151898cc259a7784be60ba38664f42ede39b31; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< ec5ccc2af9e5b045671f3f604b57512feda8bcc5; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< f905bcfa971edb89e398c98957838d8c6381c0c7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 08624b7206ddb9148eeffc2384ebda2c47b6d1e9; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9f669a38ca70839229b7ba0f851820850a2fe1f7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 7352e1d5932a0e777e39fa4b619801191f57e603 (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 7352e1d5932a0e777e39fa4b619801191f57e603 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23031. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23031.md
Affected: Linux >= d08e973a77d128b25e01a08c34d89593fdf222da, < 9c151898cc259a7784be60ba38664f42ede39b31; >= d08e973a77d128b25e01a08c34d89593fdf222da, < ec5ccc2af9e5b045671f3f604b57512feda8bcc5; >= d08e973a77d128b25e01a08c34d89593fdf222da, < f905bcfa971edb89e398c98957838d8c6381c0c7; >= d08e973a77d128b25e01a08…
Fixed in: Linux 9c151898cc259a7784be60ba38664f42ede39b31, Linux 08624b7206ddb9148eeffc2384ebda2c47b6d1e9, Linux 9f669a38ca70839229b7ba0f851820850a2fe1f7, Linux 7352e1d5932a0e777e39fa4b619801191f57e603

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23031 being exploited?

There is no confirmed exploitation: CVE-2026-23031 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23031?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-23031?

Linux \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9c151898cc259a7784be60ba38664f42ede39b31; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< ec5ccc2af9e5b045671f3f604b57512feda8bcc5; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< f905bcfa971edb89e398c98957838d8c6381c0c7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 08624b7206ddb9148eeffc2384ebda2c47b6d1e9; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 9f669a38ca70839229b7ba0f851820850a2fe1f7; \>= d08e973a77d128b25e01a08c34d89593fdf222da, \< 7352e1d5932a0e777e39fa4b619801191f57e603; Linux 3.16.

### Is there a fix for CVE-2026-23031?

Yes. Fixed in Linux 9c151898cc259a7784be60ba38664f42ede39b31, Linux 08624b7206ddb9148eeffc2384ebda2c47b6d1e9, Linux 9f669a38ca70839229b7ba0f851820850a2fe1f7, Linux 7352e1d5932a0e777e39fa4b619801191f57e603. Upgrade Linux to 7352e1d5932a0e777e39fa4b619801191f57e603 or later.

### How do I check if I'm affected by CVE-2026-23031?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9c151898cc259a7784be60ba38664f42ede39b31>
- other: <https://git.kernel.org/stable/c/ec5ccc2af9e5b045671f3f604b57512feda8bcc5>
- other: <https://git.kernel.org/stable/c/f905bcfa971edb89e398c98957838d8c6381c0c7>
- other: <https://git.kernel.org/stable/c/08624b7206ddb9148eeffc2384ebda2c47b6d1e9>
- other: <https://git.kernel.org/stable/c/9f669a38ca70839229b7ba0f851820850a2fe1f7>
- other: <https://git.kernel.org/stable/c/7352e1d5932a0e777e39fa4b619801191f57e603>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23031>

HTML: <https://flawdb.com/CVE-2026-23031> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23031>
