Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp909315rdb; Sat, 7 Oct 2023 04:21:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnOdJnyavy2WKkA3Omcsz6XK5lr8z6dWmPFTyChgmpq84qGR9NUYW8meWPLj1emD6yJCBl X-Received: by 2002:a05:6830:22d4:b0:6b9:a84a:a393 with SMTP id q20-20020a05683022d400b006b9a84aa393mr9552540otc.37.1696677708778; Sat, 07 Oct 2023 04:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696677708; cv=none; d=google.com; s=arc-20160816; b=i8w6cKy+2yA7VRCRIg0pfzpQweHiosLbNqEULVajKZ0+KwnGystiPai9FmQBwxPDcq 3O/Qs1X3xdsn1wJWHXDKUuGdWUJQH8vc1jMi+YKfBqInd1Bn1hK5LpGhXlisfonoClj7 NnOyWwGzjGerRnOt9pVuHgzIa+n+4xt6ZBQc7VXwMltIwC+WCRnuSzjvYdO4OdzC1tOs Qi84jBExmZ5LoLy0s0o83v2ru398Co3wR8fq0hgWzkLtBMkJUqn/8tqEWnfAZeP2pjPN a4G6p1woIMMACmzMJOfpHCoRzrDoqUvwAD1lW03mcoigxLZMK3KH0MDmZeYY9mGnw7Dg tmlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ypPx73/HPVt+pc+5aZZOAJz1R6TMbfAvk+Bltq6Z5Uc=; fh=Qu3WHxQTnLm/K0Kip92014iWopYsWrsuk82qPX3cuZ4=; b=FNiCUjU+tA6UEJkugK3snnaDd59I09wvX1v2lCcBDOtIGjLk8A1IyUK74wRMmHniKf cUSxSR7gNFI0cg85dWSQy8Cp8+5+FV4u523YS5gpeDYyLZJLiS6qvnVGCW5ohBG6qgZr yMCrIM6eWFK5f22Ij+y3Vvysh32xxId03oXzSO4EokOWpYYqL0IROZfT8VRQ2yj/KHbq EBCmWHAcJMkAdSQcq77PrKmNJg1iXQZhALCJtcIKiUzJmPdDFZUrtDQHSOG1EnPCJiI2 eJ7gzF7jva3042AGm9FvCUxq0V+fRflZbtDr1aYMXgJaO5v9rgyerhtsReJ9pM+viHUU 2GXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pi87RE23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z189-20020a6333c6000000b00577646e2b5bsi5729583pgz.652.2023.10.07.04.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 04:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pi87RE23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6881C80A8B47; Sat, 7 Oct 2023 04:21:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343875AbjJGLVb (ORCPT + 99 others); Sat, 7 Oct 2023 07:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234166AbjJGLV3 (ORCPT ); Sat, 7 Oct 2023 07:21:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27FC5EB; Sat, 7 Oct 2023 04:21:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E27EC433C7; Sat, 7 Oct 2023 11:21:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696677688; bh=ypPx73/HPVt+pc+5aZZOAJz1R6TMbfAvk+Bltq6Z5Uc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pi87RE23MySu6BfirA5WmmiZ8HSYuKP4fjZOAXlJ5tVih/q1dihOzZuk+N4wqWkvO lr6A6n0ygAmwNwKRYnLoMa8sekL9NeDhhFZMB6Vo2Hy83DXo+wJ+mfSxlg2XCeH+Ez qX6A0vyTJdn/EHELMKb22ZHjs9QuADxOIWmbXWus= Date: Sat, 7 Oct 2023 13:21:26 +0200 From: Greg KH To: Harshit Mogalapalli Cc: stable@vger.kernel.org, joe@perches.com, blamoreaux@vmware.com, linux-kernel@vger.kernel.org, vegard.nossum@oracle.com Subject: Re: [PATCH 4.14.y] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions Message-ID: <2023100737-enchilada-angriness-2a42@gregkh> References: <20230922121454.2735355-1-harshit.m.mogalapalli@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230922121454.2735355-1-harshit.m.mogalapalli@oracle.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 07 Oct 2023 04:21:34 -0700 (PDT) On Fri, Sep 22, 2023 at 05:14:54AM -0700, Harshit Mogalapalli wrote: > Signed-off-by: Joe Perches > Link: https://lore.kernel.org/r/3d033c33056d88bbe34d4ddb62afd05ee166ab9a.1600285923.git.joe@perches.com > Signed-off-by: Greg Kroah-Hartman > [Harshit: backport to 4.14.y -- regenerated the diff with the help of > coccinelle script in driver/base/ directory.] > Signed-off-by: Harshit Mogalapalli > --- > Only compile tested. This fixes CVE-2022-20166. > It is not clear whether the CVE was assigned for a demonstrated issue > or just a theoretical one. In any case it's a good defensive measure > against future patches that may introduce a real issue if they assume > this patch is already there. This is not needed in this kernel tree, so why are you attempting to add it? And if you have questions about a CVE, as the entity that gave the cve out, they are responsible for it, not us! thanks, greg k-h