can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error In commit 7352e1d5932a ("can: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak"), the URB was re-anchored before usb_submit_urb() in gs_usb_receive_bulk_callback() to prevent a leak of this URB during cleanup. However, this patch did not take into account that usb_submit_urb() could fail. The URB remains anchored and usb_kill_anchored_urbs(&parent->rx_submitted) in gs_can_close() loops infinitely since the anchor list never becomes empty. To fix the bug, unanchor the URB when an usb_submit_urb() error occurs, also print an info message.
Weaknesses (CWE)
- CWE-835 — Loop with Unreachable Exit Condition
References
- https://git.kernel.org/stable/c/da01de754e455e2598a7f1ce4ff2078c4f0ecde1
- https://git.kernel.org/stable/c/aa8a8866c533a150be4763bcb27993603bd5426c
- https://git.kernel.org/stable/c/ce4352057fc5a986c76ece90801b9755e7c6e56c
- https://git.kernel.org/stable/c/c610b550ccc0438d456dfe1df9f4f36254ccaae3
- https://git.kernel.org/stable/c/c3edc14da81a8d8398682f6e4ab819f09f37c0b7
- https://git.kernel.org/stable/c/79a6d1bfe1148bc921b8d7f3371a7fbce44e30f7
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-5460
- GCVE · GCVE-0-2026-23082
CERT-FR advisories
- CERTFR-2026-AVI-0369 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0329 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:6.12.67:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.18.7:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 9c151898cc259a7784be60ba38664f42ede39b31 < da01de754e455e2598a7f1ce4ff2078c4f0ecde1 ; affected ec5ccc2af9e5b045671f3f604b57512feda8bcc5 < aa8a8866c533a150be4763bcb27993603bd5426c ; affected f905bcfa971edb89e398c98957838d8c6381c0c7 < ce4352057fc5a986c76ece90801b9755e7c6e56c ; affected 08624b7206ddb9148eeffc2384ebda2c47b6d1e9 < c610b550ccc0438d456dfe1df9f4f36254ccaae3 ; affected 9f669a38ca70839229b7ba0f851820850a2fe1f7 < c3edc14da81a8d8398682f6e4ab819f09f37c0b7 ; affected 7352e1d5932a0e777e39fa4b619801191f57e603 < 79a6d1bfe1148bc921b8d7f3371a7fbce44e30f7 |
| Linux · Linux | affected 6.12.67 < 6.12.68 ; affected 6.18.7 < 6.18.8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |