Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp227074lqt; Thu, 6 Jun 2024 01:31:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgszBPLB4U2XX9qW/Nb7e4CR3oKguPidJuUTfhlGJJ1TzNsSltu8xVQTX4asCjjtDQ1/WFNXeju3bS6lEPmcAuMT2OQ2Xkpd1+jYneeA== X-Google-Smtp-Source: AGHT+IE9xl0XIE3Lgfmcj5NP1mOySYyiPyHUQ3yy7unFRO0PiOn4JnnzrEEv2jG9Ceo7t15XsmwO X-Received: by 2002:a17:906:ee89:b0:a68:379d:d623 with SMTP id a640c23a62f3a-a699fac0c4amr354218666b.36.1717662682011; Thu, 06 Jun 2024 01:31:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717662682; cv=pass; d=google.com; s=arc-20160816; b=zOYIi/75pTrS1xkVOx75krpNOitzvTrm0MgWcXrZDdF76xO5zrGAW/dJsYRyY+21kG GZnW0kT6UnXfBj6VzoJFTYQ7qFH41FLdCFqIgYAX+gCjV+zRhI86QBa9Z6w7Ye5tGg6H MmtbrUx7wKRgL8kMdH8F8DOcFMELaQWWWZs7tES3wQ69P8KFo6LpP19nAX7xwekaGeoT Npdw0E0edRqFb09Y2MmRAHsLNr6RkKlIajx4ZqOtZDw3Ygj/L/dtJsCyHjYoMGzfQjfP cQZP2IH/k/scP6gHigkme4P/RfgMB49tY1dTD/kWep6Vdv3oPHe/jtluCaHEMZWUb8Q/ NO/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=GNk0vZRq2J7TKMb8J3etIjizvx4telzZFHMGspBmMO4=; fh=M1LnlbFROI7xF6Us6kYGGywo/wl9kCPChebARs1iywE=; b=RcPBSvYlrZTPqgmfmcsdQKHb0Kt9qx9yTMnoc3ELtRZI2ptkxONQAJyYYqU1mrX7j6 AwIcCMaP14qJrBGoy7dLhKlXtpXiSHP3/lPAOEwExoOJEZY7wpDur4DUkIuNIOOONqdn OGlPvkfEIf0sHvFEBYTkeP06FQNIW81loHUIJClSmbSngilyGVoZa9LNC40y25q5Zl6c V0MS4hJaaUhdLGqMVAQLxZ8LRVraArV41vZBTDN1Wz1fjW/RYuZg7KABfX8K1OZOUrG9 TARzDWsdk5tADOGMX3JWk5RGe69VIDARUNyxGtWT5+drZ3ZeYC0nBXVFkJOAo8sTOkYw ZJfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pKi5dunJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8070888csi46415366b.674.2024.06.06.01.31.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pKi5dunJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B3AA71F22204 for ; Thu, 6 Jun 2024 08:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD48B13C81B; Thu, 6 Jun 2024 08:31:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pKi5dunJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9D56364BE; Thu, 6 Jun 2024 08:31:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717662666; cv=none; b=tKAhcxBZ2ymsOyx7eYUpAiDReMuI6Fjwb35XWqFHrZSgBAGTd26X5TNjTkF9nOUOlG05utamAGspwdhCYENtdX44abK28NogKx/fPr2/7HcD4UpG0pleLMxJ+k2AG66Tw78hEdmUuhtl1MgTNisWYZQ21xAE4v+loGF93SajK4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717662666; c=relaxed/simple; bh=gtSeDpwtTXP76h/L9LNnnIb5WqY2J6aN92FdZrtanvo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=hEuyFcUSdIfH2QMSWlwLwLMxwaF0YOv+bOqJ8El6WP0GVvQ1npXREIucXIDBLnP/EDPQvGVdKSQPp0ejZ6ez/Rn1m5F83l1ex9n17XF1YFn5S4p1t5XdmhuaU7HhaKJ25YTUzuKwwKgfCokrwjW4HUMmH69yMV8dKvAUu0JUAYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pKi5dunJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D194C2BD10; Thu, 6 Jun 2024 08:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717662666; bh=gtSeDpwtTXP76h/L9LNnnIb5WqY2J6aN92FdZrtanvo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=pKi5dunJZ8ff+rFzh/kCYAArxYveGq9xJZsXqXcbJ3zdztBRWxO+HLU700ysqhl00 KFZ9IF2EFJf8mfdplpmK4ZsHJ1Smiwb7Ed+oIlOz7F+laBNmH1xazhNy+zxCvgM1rG ZGmMAH2DPAmfYZ/oYLNi5+OfPVfsagNQau3y84/BJC3DXcVuf2fze5vDxtQKfZ1JWg iso4FP56hZ/Ls2kxai2H9VycCd6itFjK1pBxfXY3Ki80SDaS5X7gYjv4EquSoRTr2Z fE3/78kJgkABsPDRJYGs5ee41uOUtxep/tHXEFyd1tjtFvDMKcMirHCPoXp2KeLs9V QCpNx+2iXQL1Q== From: Benjamin Tissoires To: dan.carpenter@linaro.org, Andrew Ballance Cc: jikos@kernel.org, linux-input@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, luke@ljones.dev, skhan@linuxfoundation.org, syzbot+07762f019fd03d01f04c@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com, Benjamin Tissoires , Jiri Kosina In-Reply-To: <20240602085023.1720492-1-andrewjballance@gmail.com> References: <20240602085023.1720492-1-andrewjballance@gmail.com> Subject: Re: [PATCH v2] hid: asus: asus_report_fixup: fix potential read out of bounds Message-Id: <171766266391.2918443.4596267274284818390.b4-ty@kernel.org> Date: Thu, 06 Jun 2024 10:31:03 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.4 On Sun, 02 Jun 2024 03:50:23 -0500, Andrew Ballance wrote: > syzbot reported a potential read out of bounds in asus_report_fixup. > > this patch adds checks so that a read out of bounds will not occur > > Applied to hid/hid.git (for-6.10/upstream-fixes), thanks! [1/1] hid: asus: asus_report_fixup: fix potential read out of bounds https://git.kernel.org/hid/hid/c/cfacaaf33cd7 Cheers, -- Benjamin Tissoires