CVE-2023-52703
JSON

3.3low

net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path

Severity
3.3low CVSS:3.1 by CISA-ADP
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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/

Affected

Product or packageVersionsReported by
Linux Linuxfrom d40261236e8e278cb1936cb5e934262971692b10 before 1b5de7d44890b78519acbcc80d8d1f23ff2872e5, from d40261236e8e278cb1936cb5e934262971692b10 before 723ef7b66f37c0841f5a451ccbce47ee1641e081, from d40261236e8e278cb1936cb5e934262971692b10 before a753352622b4f3c0219e0e9c73114b2848ae6042, from d40261236e8e278cb1936cb5e934262971692b10 before 525bdcb0838d19d918c7786151ee14661967a030, from d40261236e8e278cb1936cb5e934262971692b10 before 338f826d3afead6e4df521f7972a4bef04a72efb, from d40261236e8e278cb1936cb5e934262971692b10 before 02df3170c04a8356cd571ab9155a42f030190abc, from d40261236e8e278cb1936cb5e934262971692b10 before c68f345b7c425b38656e1791a0486769a8797016, 3.0
Not affected: before 3.0, from 4.14.306 up to 4.14.*, from 4.19.273 up to 4.19.*, from 5.4.232 up to 5.4.*, from 5.10.169 up to 5.10.*, from 5.15.95 up to 5.15.*
CVE List
linux linux_kernelfrom 3.0.1 before 4.14.306, from 4.15 before 4.19.273, from 4.20 before 5.4.232, from 5.5 before 5.10.169, from 5.11 before 5.15.95, from 5.16 before 6.1.13, 3.0, 6.2NVD

All scores

CISA-ADP3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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/

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net/usb: kalmia: No pasar act_len en la ruta de error usb_bulk_msg syzbot informó que act_len en kalmia_send_init_packet() no está inicializado al pasarlo a la primera ruta de error usb_bulk_msg. Jiri Pirko señaló que no tiene sentido pasarlo en la ruta de error y que el valor que se imprimiría en la segunda ruta de error sería el valor de act_len de la primera llamada a usb_bulk_msg.[1] Con esto en mente, simplemente no pasemos act_len a las rutas de error usb_bulk_msg. 1: https://lore.kernel.org/lkml/Y9pY61y1nwTuzMOa@nanopsycho/

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52703 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52703 changed 2026-06-17Public domain