CVE-2023-52703

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

Low · published May 21, 2024

CVSS v3.1
3.3
EPSS
0%
Percentile
15.9
In the wild
Unconfirmed
What it is

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/

The record
Technical detail
CVSS v3.1
3.3 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00253 · 15.9th percentile
Published
2024-05-21T15:22Z
EPSS history
Timeline
  • 21 MAY 15:22Z
    net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
    cvelistv5