lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 21 Jun 2022 09:35:35 +0300 From: Dan Carpenter <dan.carpenter@...cle.com> To: Rishi Gupta <gupt21@...il.com> Cc: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>, Jiri Kosina <jikos@...nel.org>, Benjamin Tissoires <benjamin.tissoires@...hat.com>, Linux I2C <linux-i2c@...r.kernel.org>, "open list:HID CORE LAYER" <linux-input@...r.kernel.org>, lkml <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] HID: mcp2221: prevent a buffer overflow in mcp_smbus_write() On Mon, Jun 20, 2022 at 11:58:27AM -0700, Rishi Gupta wrote: > Hi Harshit, > > Can you check the datasheet for correct buffer sizes please. Then > accordingly we will decide next step. > No, we don't have access to the data sheets. This is the exact same bug as the following patches: 381583845d19 ("HID: cp2112: prevent a buffer overflow in cp2112_xfer()") 690b2549b195 ("i2c: ismt: prevent memory corruption in ismt_access()") The patch should fix the memory corruption but there may be other issues with this code. regards, dan carpenter
Powered by blists - more mailing lists