CVE-2026-23031
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.
Timeline
- 2026-01-31Published by the CNA11:42 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux | ||
| linux linux_kernel | from 3.16 before 5.15.203fixed in 5.15.203from 3.16 before 6.1.162fixed in 6.1.162from 3.16 before 6.12.67fixed in 6.12.67from 3.16 before 6.18.7fixed in 6.18.7from 3.16 before 6.19fixed in 6.19(+1 more) | 5.15.2036.1.1626.12.676.18.76.19 |
References
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
- https://git.kernel.org/stable/c/08624b7206ddb9148eeffc2384ebda2c47b6d1e9
- https://git.kernel.org/stable/c/7352e1d5932a0e777e39fa4b619801191f57e603
- https://git.kernel.org/stable/c/9c151898cc259a7784be60ba38664f42ede39b31
- https://git.kernel.org/stable/c/9f669a38ca70839229b7ba0f851820850a2fe1f7
- https://git.kernel.org/stable/c/ec5ccc2af9e5b045671f3f604b57512feda8bcc5
- https://git.kernel.org/stable/c/f905bcfa971edb89e398c98957838d8c6381c0c7
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-23031'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-23031'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-23031'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-23031'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).