net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.25 % · percentile 17 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path syzbot reported that act_len in kalmia_send_init_packet() is uninitialized when passing it to the first usb_bulk_msg error path. Jiri Pirko noted that it's pointless to pass it in the error path, and that the value that would be printed in the second error path would be the value of act_len from the first call to usb_bulk_msg.[1] With this in mind, let's just not pass act_len to the usb_bulk_msg error paths. 1: https://lore.kernel.org/lkml/Y9pY61y1nwTuzMOa@nanopsycho/
Weaknesses (CWE)
- CWE-908 — Use of Uninitialized Resource
References
- https://git.kernel.org/stable/c/1b5de7d44890b78519acbcc80d8d1f23ff2872e5
- https://git.kernel.org/stable/c/723ef7b66f37c0841f5a451ccbce47ee1641e081
- https://git.kernel.org/stable/c/a753352622b4f3c0219e0e9c73114b2848ae6042
- https://git.kernel.org/stable/c/525bdcb0838d19d918c7786151ee14661967a030
- https://git.kernel.org/stable/c/338f826d3afead6e4df521f7972a4bef04a72efb
- https://git.kernel.org/stable/c/02df3170c04a8356cd571ab9155a42f030190abc
- https://git.kernel.org/stable/c/c68f345b7c425b38656e1791a0486769a8797016
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | CISA-ADP |
| 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) |
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2023-57327
- GCVE · GCVE-0-2023-52703
CERT-FR advisories
- CERTFR-2026-AVI-1165 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0466 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0903 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0741 — Multiples vulnérabilités dans Juniper Secure Analytics · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0720 — Multiples vulnérabilités dans IBM QRadar SIEM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0577 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — 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:*:*:*:*:*:*:*:*≥ 3.0.1 < 4.14.306cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.273cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.232cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.169cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.95cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.13cpe:2.3:o:linux:linux_kernel:3.0:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.0:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.0:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.0:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.0:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc8:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d40261236e8e278cb1936cb5e934262971692b10 < 1b5de7d44890b78519acbcc80d8d1f23ff2872e5 ; affected d40261236e8e278cb1936cb5e934262971692b10 < 723ef7b66f37c0841f5a451ccbce47ee1641e081 ; affected d40261236e8e278cb1936cb5e934262971692b10 < a753352622b4f3c0219e0e9c73114b2848ae6042 ; affected d40261236e8e278cb1936cb5e934262971692b10 < 525bdcb0838d19d918c7786151ee14661967a030 ; affected d40261236e8e278cb1936cb5e934262971692b10 < 338f826d3afead6e4df521f7972a4bef04a72efb ; affected d40261236e8e278cb1936cb5e934262971692b10 < 02df3170c04a8356cd571ab9155a42f030190abc |
| Linux · Linux | affected 3.0 ; unaffected 0 < 3.0 ; unaffected 4.14.306 ≤ 4.14.* ; unaffected 4.19.273 ≤ 4.19.* ; unaffected 5.4.232 ≤ 5.4.* ; unaffected 5.10.169 ≤ 5.10.* |
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 |