Re: [PATCH net] can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
From: Vincent Mailhol
Date: Fri Jan 09 2026 - 02:50:44 EST
+CC: Jimmy
On 09/01/2026 at 02:36, Jerry Wu wrote:
> Uninitialized Kernel memory can leak to USB devices.
Please explain in your description which field(s) is(are) uninitialized
in cmd.
(or attach a report in which you can witness the information leak).
> Fix this by using kzalloc() instead of kmalloc().
>
> Fixes: 7259124eac7d ("can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c")
> Signed-off-by: Jerry Wu <w.7erry@xxxxxxxxxxx>
Yours sincerely,
Vincent Mailhol