All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Cheng <wanngchenng@gmail.com>
To: dan.carpenter@oracle.com, paskripkin@gmail.com
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] staging: rtl8712: fix uninit-value 'data' and 'mac'
Date: Fri, 6 May 2022 11:13:43 +0800	[thread overview]
Message-ID: <cover.1651760402.git.wanngchenng@gmail.com> (raw)

This is a v2 patch to fix KMSAN: uninit-value in r871xu_drv_init,
https://syzkaller.appspot.com/bug?id=3cd92b1d85428b128503bfa7a250294c9ae00bd8
Previous version and discussion could be seen here:
https://lore.kernel.org/all/20220414141223.qwiznrwgjyywngfg@ppc.localdomain/

Changelog v1->v2:
- Split to two patches.
- Add kmsan reports.
- Fix uninit-value 'data' by adding error checking and initialization
  rather than changing logic of r8712_usbctrl_vendorreq().

Wang Cheng (2):
  staging: rtl8712: fix uninit-value in usb_read8() and friends
  staging: rtl8712: fix uninit-value in r871xu_drv_init()

 drivers/staging/rtl8712/usb_intf.c |  6 +++---
 drivers/staging/rtl8712/usb_ops.c  | 27 ++++++++++++++++++---------
 2 files changed, 21 insertions(+), 12 deletions(-)

-- 
2.33.1


             reply	other threads:[~2022-05-06  3:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  3:13 Wang Cheng [this message]
2022-05-06  3:15 ` [PATCH v2 1/2] staging: rtl8712: fix uninit-value in usb_read8() and friends Wang Cheng
2022-05-06  7:10   ` Dan Carpenter
2022-05-06 11:22     ` Wang Cheng
2022-05-06  7:23   ` Pavel Skripkin
2022-05-06  7:57     ` Dan Carpenter
2022-05-06  3:16 ` [PATCH v2 2/2] staging: rtl8712: fix uninit-value in r871xu_drv_init() Wang Cheng
2022-05-06  7:41   ` Pavel Skripkin
2022-05-06 11:33     ` Wang Cheng
2022-05-06 11:56       ` Wang Cheng
2022-05-06 12:02       ` Pavel Skripkin
2022-05-09  4:03         ` Wang Cheng

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=cover.1651760402.git.wanngchenng@gmail.com \
    --to=wanngchenng@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=paskripkin@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.