Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1955988rbb; Tue, 27 Feb 2024 06:33:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVjkBazexUIUr3gkhG6dXvV8zSeE7FZtJuAelOgPFtMxCb3/0OApgNVzhAWmAkabxQgVf687b/bReOCNH25P6SSO6Y5rhq0FN0hrurSVA== X-Google-Smtp-Source: AGHT+IHevZdvftdnzHv8arjxVd1ls4JUOKeX6C4lVDF/UyCggABcmU1PM6fznxnPlzF3p3YOGdql X-Received: by 2002:a17:906:b755:b0:a3f:8008:1823 with SMTP id fx21-20020a170906b75500b00a3f80081823mr6843480ejb.72.1709044430902; Tue, 27 Feb 2024 06:33:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709044430; cv=pass; d=google.com; s=arc-20160816; b=GME0hZoEjAey31ZXkj2DY01Nh7P0mAac7e1MOFyCCamYKH+qep6gON7m8WsRedv6vo AvJl3ScVGOQl6pT59mrqZUsFBM2wg9f4eOCcMdXYR/UWzA5a0bZnn/J+i0QHE77aKZsE UdeoMVCe7P0tjhg2JdyVRirBjCfH5LrGMrao//3PLK+p3TBE/ctQ0ag/LNzpOmal4iLh oTMbxOwUqzXJUdjw76WJXVEtFN1xxoHJbQ56ijklLqQ+IPyr0SBQWlvgfsFiR5v2dpjH uberQs8ioKSHkWR4gdK3GtQUUXWRYxp+fqWApyhV1gerXlzuv5iK7gis5keoXteEHt3A EyKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fdObu6wNO+e04d7LP04vuepgRgYutWkmb8jB+DA/w7E=; fh=hjmS6JP/Ex8McIKIooWq/gwa4zmSiPHqGVOG6NGXF84=; b=Zahfz6UeUpY8hGudnf0YScXXQ+MT4ugPyxMXPxLiraobvU88xrAgId0OJoaAMAIYBi CWK3QUby2soVmN1aBfSRKARcmrVs/FbgRLnIYHXlHkFw5fTm8OCPa/cOuTgsTxCK7ySv 6dMvLwKZ0hSePMs1NAQa0uhNEXhuYnnT56jLmQmw/Z10ZSf/Pek8/1wmWgPkWKqATcy1 +TWSCp4Q+pKV3DetGm4Sn8QG4ooGinVcsL3mwTryMLXhr2+5vtuFDUE3i/igrpUaddo/ +D4jYKN8gGchYECoQSi77aCxDPny33R24bekOVlgfmB+b8gxRMCjyPlthwL7TOzrcJAv QfyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SQ+sofI8; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-83403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83403-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t22-20020a1709060c5600b00a3ec891fe7esi756373ejf.262.2024.02.27.06.33.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:33:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83403-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=@linuxfoundation.org header.s=korg header.b=SQ+sofI8; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-83403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83403-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 E5EC91F24262 for ; Tue, 27 Feb 2024 14:32:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2CB4145322; Tue, 27 Feb 2024 14:31:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SQ+sofI8" 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 1A7EA143C4B for ; Tue, 27 Feb 2024 14:31:35 +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=1709044295; cv=none; b=Ytle4ZLm8fZ3yDB0zv3eOgRgPvy1LPtcbyW34BZIWlnJxAc06UvwZxjXj56HbtIv32j+cwnCNQnvAgVVMm+PoyD4IUpMToK+4F4z5EmmtQEn+mkzcygzvC0G8ajK4iaWruBn9L1GR+UkQOJjZR+a9AvOjghBhzfIsjJb84f+FGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044295; c=relaxed/simple; bh=6TtyQXmfOCcjrgrX6vJpohPZ4bkiKsW5e+66dVrcDi0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aGlq7GGoRmlnC2TSa1HfisCvv6vHkMS2wL2eWSteBKL31IxB1nkjTCvvXZDwOOmEv/CEsoT0A5FXoSqnNkrjpE/dyiDTz0NWD1WfeRsAzQE97eTN8oRLTpNfbFmGd2T+j1OaJ7UQ7OHJqaUGYPtjRztarpHmiH45kdAf3hWwJVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SQ+sofI8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F828C433F1; Tue, 27 Feb 2024 14:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709044295; bh=6TtyQXmfOCcjrgrX6vJpohPZ4bkiKsW5e+66dVrcDi0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SQ+sofI8vk+Ol28Lyx6aHC1GkUWNH+odtpTQW47UKmhjoE4npGhUiX5jiIoi/JZzs l/UhE1huUmrH469/StCeLDaeVTZE9+LnPhk26BiCHxOwKUa1tt4ZCFCctM0tsrgekO sQELxlRNR2PfrNBNRM6tvMK5ckq07MPEW8H4l0es= Date: Tue, 27 Feb 2024 15:06:36 +0100 From: Greg Kroah-Hartman To: Carlos =?iso-8859-1?Q?L=F3pez?= Cc: cve@kernel.org, linux-kernel@vger.kernel.org Subject: Re: CVE-2021-46934: i2c: validate user data in compat ioctl Message-ID: <2024022720-derived-impish-d245@gregkh> References: <2024022750-CVE-2021-46934-79c8@gregkh> <94330624-1f8b-49b8-8a66-b7adf1f589f4@suse.de> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <94330624-1f8b-49b8-8a66-b7adf1f589f4@suse.de> On Tue, Feb 27, 2024 at 02:33:50PM +0100, Carlos L?pez wrote: > Hi, > > On 27/2/24 10:48, Greg Kroah-Hartman wrote: > > Description > > =========== > > > > In the Linux kernel, the following vulnerability has been resolved: > > > > i2c: validate user data in compat ioctl > > > > Wrong user data may cause warning in i2c_transfer(), ex: zero msgs. > > Userspace should not be able to trigger warnings, so this patch adds > > validation checks for user data in compact ioctl to prevent reported > > warnings > > What's the security impact here exactly? Userspace should never be able to trigger kernel warnings.