[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1651760402.git.wanngchenng@gmail.com>
Date: Fri, 6 May 2022 11:13:43 +0800
From: Wang Cheng <wanngchenng@...il.com>
To: dan.carpenter@...cle.com, paskripkin@...il.com
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] staging: rtl8712: fix uninit-value 'data' and 'mac'
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
Powered by blists - more mailing lists