Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1843278rdb; Mon, 9 Oct 2023 05:02:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmWLaUrwofK3VZxB19JmTFpEmnGaqJzJJ910yU6EzEosPN/FjZHgcOQjhsd8ecWA6tgEt9 X-Received: by 2002:a17:90a:f2cf:b0:273:a392:7077 with SMTP id gt15-20020a17090af2cf00b00273a3927077mr13267889pjb.10.1696852964633; Mon, 09 Oct 2023 05:02:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696852964; cv=pass; d=google.com; s=arc-20160816; b=bfSU6eL29tj7h7LTRti4D8Qy1JV99giyu434VLJcGiP7vatmtGbr2DcJYmuyZFEpDQ ppfYf8BAqQ3n/E6LJEsthuIVaDeiYpmJ5a1FYMNKcTTTjQZwfQaSY39361CoKhJcH0oW WlQolLjaC7hN4h7aYw1mwHiPcQPTm0tAlWCYJ8lHMHQ6GhMdpKqrMB9vHr5K0Nhu5aq1 AvpgdTb4qhbWLyTZ2IjHMd+pcwk9eK0M2kQZwXKs78Y76VePr+V424uPHJeIl7XyDBf8 gjJyYHru2TsvJQzE7FNWxXg/3zF3+eMsrwqtuqNYCVOXri8y+B77eCAxw4MuJdfVT+Dg FE9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=CSxam5t6EQ1xhcatdin/SWLqLU9gwIWH1vPsVFDQms4=; fh=0cAW5E6ZKTcx9H/DUe5rSZS5qpBXqBrgETv8h3OD+Y4=; b=rNZXoa7vqJgzZhk6RbRjbZkpSY7LOnm3QYpNnER9veV/SbRiIljGSQ1C9ushMUhuWJ 6Lcl8UB+tRu5FG4H37RPpOo+mESJlfjGAuoVMy7LwoeJTanGAzhA+THpiK43RUjIb0kQ uodChnpYvvIWacbYMJdBBkPf853fl2lFUku9Rm4xI85xu3BppLHaEaRYOOxcI0fhbFrV ICHoKlI/D8ikATIi8F2Ennu5QbvviErxmzAkgEJsVt6x2dF2VBLAQiHt+Z4tO8vcZFJw tIvXlg+7Y3GfouhZ/OO21CLcukzpuo4ctVtbQ4vhWKV131+bTpyKtF7rL1n96PbCi8zo j7Ng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=YYSBpNj9; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LxbtfGeG; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i4-20020a17090ac40400b0027b0aac2191si9331935pjt.15.2023.10.09.05.02.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 05:02:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=YYSBpNj9; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LxbtfGeG; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 88AF4802A6FA; Mon, 9 Oct 2023 05:02:43 -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 S1346394AbjJIMCh (ORCPT + 99 others); Mon, 9 Oct 2023 08:02:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346349AbjJIMCf (ORCPT ); Mon, 9 Oct 2023 08:02:35 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98BF194; Mon, 9 Oct 2023 05:02:33 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 398Ms9pk023461; Mon, 9 Oct 2023 12:02:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=CSxam5t6EQ1xhcatdin/SWLqLU9gwIWH1vPsVFDQms4=; b=YYSBpNj9O739wYTCp0NpHMdLorT8uvKIfJu/jNrevEtLQ3va812esxbRP8HDowjj+x92 h3TQcQ6kl8hybP8wERCM+nic/Qc1jlZPP5Ir9lNGnJBxwcB8nQE39XQJ6PEB6TOTPsCH dJJxZYLbWB8zsFqgMFzM/boiXBiRhRoE5FHKsO5jh0+EuIyOYPHSBNmMg3nigmPVOdCf rSbykTpYmc37Ty5YwOxK+i4IrdU1QZ0wDY74bR+g5WM5HvI5UP/PlkvukMGwufIAMe0g wxRiZB4NrAA1yGd4YU3HvAdAw8wIC6+Z+X0zpU8O9fVm2hCHiYVhjH7c0f75Y615j6Y4 iA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tjycdjjcj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Oct 2023 12:02:26 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 399A8afW015021; Mon, 9 Oct 2023 12:02:25 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3tjws50dwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Oct 2023 12:02:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ABnYySE/ZR3FhwsPGBCXeGlSf4Qounp1OBiMqhmsLYtu/4skixvZl8gjQZpIAqD5Iaj5RNcTr2rKkjSGgVi8MpealVBPe7Jz8NmOq7VpXU95IGfPRupu8I+IfpTRxoX26hJImQIBm7Qw8eU3YDe6iC0wADf+gb3f4L9RiXOq/CmRSWqyjyxc+kyxnWut0aZsvgTS7pSjrGBgZytln818TkEvkMYa5EoPi4Ffw4QilEfp/KrDo8DjXl8Q/vk0ii5MLCfliwQU8FhfSfKVvkVzWkOeAp3qRuRKNJl0R/0hbGcj8nqHPaHzkeDj5ZD5f8fw715sJ5FmDzisDB2MAH+sVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CSxam5t6EQ1xhcatdin/SWLqLU9gwIWH1vPsVFDQms4=; b=eaCCmn14SVTQ0tnzbM/e3+I5QYuFe9ZF9GbrSrus0nidjhkZRcYH7Rvm9cVwqedWHPJ0Mtj0NB3h7BpE3RYY2QQtF3DZMrvlCNNiwfkytdAQw8ppzA+BGeQupTyk2DpcXW/7bCey/wU2Al9k/VG3qsbixwrMCliQHEBepoYDlCJ7keoS9YB+bQ4Zqk+qNMOb/+pHQNYvcfnXd60zhFMFHPY0zm73IxgD3JmHpXPrQmw5ka9zTHzXntqORXXm2KgJJnfVwqrZdptWANYxAMU4seRqNl65oShvnIL31QUQbbi+/OfaMElg7XtjApPJS6WpQvoyS7Ezy/N+phn7L/icMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CSxam5t6EQ1xhcatdin/SWLqLU9gwIWH1vPsVFDQms4=; b=LxbtfGeGqwGrkzWmeXOn6g8ix/LcPMxC+OENBhzBjDZIZoqfG+1scHmovhnKi7uxDVR0nRYr2bf5os33OPgOhDaNzDgwFZ3jQ9I57vPcc4uXHPGjuptfQkRidNZ//q61JK3ekepkP0U0GlbYJI5rDBVHB2G9fYg5TApLCpZNiYs= Received: from PH0PR10MB5433.namprd10.prod.outlook.com (2603:10b6:510:e0::9) by BN0PR10MB4837.namprd10.prod.outlook.com (2603:10b6:408:116::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Mon, 9 Oct 2023 12:02:23 +0000 Received: from PH0PR10MB5433.namprd10.prod.outlook.com ([fe80::9e2f:88c3:ca28:45a3]) by PH0PR10MB5433.namprd10.prod.outlook.com ([fe80::9e2f:88c3:ca28:45a3%3]) with mapi id 15.20.6863.032; Mon, 9 Oct 2023 12:02:23 +0000 Message-ID: <7add9eef-0d17-6692-14f5-968a4d4778f0@oracle.com> Date: Mon, 9 Oct 2023 14:02:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 4.14.y] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions Content-Language: en-US To: Greg KH , Harshit Mogalapalli Cc: stable@vger.kernel.org, joe@perches.com, blamoreaux@vmware.com, linux-kernel@vger.kernel.org References: <20230922121454.2735355-1-harshit.m.mogalapalli@oracle.com> <2023100737-enchilada-angriness-2a42@gregkh> From: Vegard Nossum In-Reply-To: <2023100737-enchilada-angriness-2a42@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PR3P193CA0020.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:50::25) To PH0PR10MB5433.namprd10.prod.outlook.com (2603:10b6:510:e0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5433:EE_|BN0PR10MB4837:EE_ X-MS-Office365-Filtering-Correlation-Id: 627c44d8-3c16-42c3-5cab-08dbc8bf98dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7LxMi0MpBNHY4uAc7VfoOnWOgL6dMrpLTLa/8yEj5NkiKK5gMCJU1vNSSC5/pOB6aCikYKLuLT69QT9algDefJnSy5Tn3fi7w5U6Xn9VYrjFG2bc+ZGtaCGWlR2REWWv4mGdvM7Y+5mmomQUI2UnP4yzpzT/jxhZNXqsgkGCVNmBBsk6hIWLx61u8ZQ00/Hfe22b3DpxhatGU/7dt9qQxFAPjH8fOnu5c0I/OMJvyQwZBObZgfSVcCxtPAh4/d45nEtWFJ8m24dfL7JeP8DT/vZMsh4uVXclv39n03586QRDCE8zIWmKEMOI9ThK7tbreqo04QOoGYEBhYAiq1ciLIGJNzi56naKkWTHZjOsGWbtKtZRMeb/IVxuUhiSr+NMGi7S1C0YsDta+LOy4Vb00R4JijEFSc5WD2TE/qd+TulzNptFok7N8Hde5FpdeC0hO+px0IEMIOmoKHfbGcltemBBgPz1iDZUcd6y7MrVTwhsF2IOdFgs4FpnBRSBailt1UAW0+DY44Wt+VlV6ysLyx/cCqIxEaygMzizctW/6z2MX1JJWpC2IJHm7aVj9oJ06BfjZAqslmhOk4KeDv2qniuNPDNOm+yy7EvedPT3J6rriKbydA09JEDpjd2/rzKKT4GYWjhDlHW8kMr/9yhrjQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB5433.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(376002)(366004)(39860400002)(396003)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(6512007)(83380400001)(2616005)(26005)(66946007)(6636002)(66476007)(66556008)(110136005)(316002)(53546011)(8936002)(8676002)(4326008)(44832011)(41300700001)(5660300002)(6506007)(6666004)(2906002)(6486002)(966005)(478600001)(36756003)(38100700002)(31696002)(86362001)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?KzZMbEovWlk2RFBnbG9WVW51a0k2WHF5Z3F3UGVqaUJGeEZNcEkrYW51ZHd6?= =?utf-8?B?L1krZnJRdVVPMUxYVDZoVHpzSmh2cmlTeC9KZGY3ZVBQbkFTQWRlYlpQaEdx?= =?utf-8?B?TlJURWNzK21SWUhBT3o3S0Z1RmxyRkxmTkx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BSfDUB59WqnpW4fmE0VCByynTyQ9i98JxHzyfEQq2MO0IN789ItD46g119ynuJsb87bC+W4oBvCS9u2ZwHIS0PfPsuk6dWmfqYywcUcvCmZQtV/qxOAHe9athIQosVhcyMS7VNepSCsI3jbFXSfp6 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 627c44d8-3c16-42c3-5cab-08dbc8bf98dd X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5433.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 12:02:23.5821 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WzwkuZrFu3KqJ7OBfefN0PAfBRfhkF6JdqT850oPFBv1sKAMOqrsFQTdGIBz3KcUCSFaiynI1ShOOEc0i0Fdl0z4w1SJ32yl3gPKyQ6U9Yk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4837 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_11,2023-10-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=949 mlxscore=0 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310090097 X-Proofpoint-ORIG-GUID: D21vfgEny8gFfCoFe8NwFAz4Ced-sDN_ X-Proofpoint-GUID: D21vfgEny8gFfCoFe8NwFAz4Ced-sDN_ X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE 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]); Mon, 09 Oct 2023 05:02:43 -0700 (PDT) On 07/10/2023 13:21, Greg KH wrote: > 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! We weren't sure where exactly the issue was, but figured the more cautious approach would be to apply the patch regardless -- it does look correct to me at a glance (doesn't suffer from the issues that Ben pointed out with another submission, AFAICT). But point taken, this falls under the "no theoretical issues" stable submission rule. Thanks, Vegard