mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vincent Mailhol <mailhol@kernel.org>
To: Jerry Wu <w.7erry@foxmail.com>, mkl@pengutronix.de
Cc: mailhol@kernel.org, extja@kvaser.com, eeodqql09@gmail.com,
	linux-can@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jimmy Assarsson <extja@kvaser.com>
Subject: Re: [PATCH net] can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
Date: Fri, 9 Jan 2026 08:50:03 +0100	[thread overview]
Message-ID: <df1feb99-2996-4a84-8e04-2a850c05b602@kernel.org> (raw)
In-Reply-To: <tencent_B88CC7093F21BB59E7B4298209F208E02708@qq.com>

+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@foxmail.com>

Yours sincerely,
Vincent Mailhol


  reply	other threads:[~2026-01-09  7:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-09  1:36 Jerry Wu
2026-01-09  7:50 ` Vincent Mailhol [this message]
2026-01-09  8:18   ` Marc Kleine-Budde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df1feb99-2996-4a84-8e04-2a850c05b602@kernel.org \
    --to=mailhol@kernel.org \
    --cc=eeodqql09@gmail.com \
    --cc=extja@kvaser.com \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=w.7erry@foxmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®