Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1975663rwd; Mon, 15 May 2023 05:51:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4KdHrg/fj9MMTCZt2Cv8kdM3Lv8cDe2LZVWdE+isPIgLnpX5xFavL+3Tmb2W30udgthMML X-Received: by 2002:a17:902:d491:b0:1ad:faf7:5ca9 with SMTP id c17-20020a170902d49100b001adfaf75ca9mr10356228plg.10.1684155078073; Mon, 15 May 2023 05:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684155078; cv=none; d=google.com; s=arc-20160816; b=UYiWSg1qOEU7eLQYW8ypdySlaqmDBK9R/FEihCYqLlrAHFGrbTugqWdKXQ4TY/Ytxf vK9A8VMru4D7QIzolpph4UZTqxQlAmGndz4j6LIi+q3xAA/h2TFQuZdesr+6JnvP1jHv Ld1v5whP+o5iJMa7ZHZaBOD8gB03FaC4lRf5kuXT/VLPOuGXNeX4yNvfc5qTphUUwXkN QxkToyPtEoHqXymHB8qIVrQDb7bFwXXhQ4mLsIU8sAcpvPJAw2+7gIOtXh5kjlZ8YWTd Y8o0r6QoXAZyN/isX+ZprI5BlFPb3WuG/9BuVX/JFIvqcivtZRVrzmYrZzG9vw3FBdxQ qezA== 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=y7VZO3i0jEHi1G3Y5wq6HlPMkwjeV/q96QMXDOJRgpQ=; b=F57ujTy6YLeMNK6MU2eUttg/oTARddZFY8cBtzONwUZkIdxK8JMKAqRyE9X57eRk1k 5Qfg/24Eq21hPH+3zvAhmenR+4IcCBRo2mad3KvsuZRAQ6yOGXAn3QzKkPXPcbndG9sB GHCTvZ/MEAfWHAKt8fXE0badpRL84JFwJ4SwdvZgAq99JGwP7PZoVLSXVM6dj7evscMR cBROWwOxvLl615TEqvrv4ZVi1L84MKA4KIKQTl5hASl/6IGLKNWkRFBHJ5xGNwsGpADn eOXoBFSlbZ9cjv5JFrumxiddEBbEY//8f7qf4fBO74P6yEAUw5WJFag1bmzUfVUhJfTs Hwyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kfkCHRAt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a170902d4ce00b001ac8ee42772si17044553plg.321.2023.05.15.05.51.03; Mon, 15 May 2023 05:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kfkCHRAt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241939AbjEOMmI (ORCPT + 99 others); Mon, 15 May 2023 08:42:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241936AbjEOMlt (ORCPT ); Mon, 15 May 2023 08:41:49 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAF4AE7B for ; Mon, 15 May 2023 05:40:56 -0700 (PDT) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34FCd5pW025652; Mon, 15 May 2023 12:40:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=y7VZO3i0jEHi1G3Y5wq6HlPMkwjeV/q96QMXDOJRgpQ=; b=kfkCHRAt8cvUVCFwyvdfX8fJmv0fzm49/c/GhL3Y3w1T0i5xtf+DIWgOCjDdTbJugp2i FBinirD4jpYYP1+NKCVs734tewy/03O+RY98XPRywoCiqgTBugJBtZNM57qbv6RlUAEn 1BlYIsrW3f4OhgNjdE5ftibj57KnaMyVgoS0jJZsVIWYYkTUzq4co+793LPBUm6SgeEL 3f8Bri3aMqBpYGVMfC2PFNRaSGyXURTcC/TporUB3orsmn9YBg/TWrbKYMaIBiNYs6Ef KII3Ft/W5sxtBwChsJAjlBPg4rKHB/kSvrwdgx9F9iPwFCDvPbI9m0OwHbPBpk2ZHA2V hw== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qkjm8cmcx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 12:40:54 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34F40KtV030719; Mon, 15 May 2023 12:40:52 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3qj264s2pg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 12:40:52 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34FCen1d46727676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 May 2023 12:40:49 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B2BF2004D; Mon, 15 May 2023 12:40:49 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E3D8320043; Mon, 15 May 2023 12:40:47 +0000 (GMT) Received: from li-008a6a4c-3549-11b2-a85c-c5cc2836eea2.ibm.com (unknown [9.171.30.39]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTPS; Mon, 15 May 2023 12:40:47 +0000 (GMT) Date: Mon, 15 May 2023 14:40:46 +0200 From: Alexander Gordeev To: Ilya Leoshkevich Cc: Al Viro , Andrew Morton , linux-kernel@vger.kernel.org, Heiko Carstens , Vasily Gorbik Subject: Re: [PATCH 0/2] statfs: Enforce statfs[64] structure intialization Message-ID: References: <20230504144021.808932-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230504144021.808932-1-iii@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: PfcF0mE3fcet91qhmbiaZPQ12HWXk5h2 X-Proofpoint-ORIG-GUID: PfcF0mE3fcet91qhmbiaZPQ12HWXk5h2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-15_09,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1015 bulkscore=0 malwarescore=0 mlxlogscore=610 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305150108 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Thu, May 04, 2023 at 04:40:19PM +0200, Ilya Leoshkevich wrote: > This series fixes copying of uninitialized memory to userspace by > do_statfs_native() and do_statfs64() on s390. > > Patch 1 fixes the problem by making the code similar to > put_compat_statfs() and put_compat_statfs64(). > > Patch 2 gets rid of the padding which caused the issue; even though it > may be considered redundant, it documents that s390 de-facto has an > extra f_spare array element. > > Ilya Leoshkevich (2): > statfs: Enforce statfs[64] structure intialization > s390/uapi: Cover statfs padding by growing f_spare > > arch/s390/include/asm/compat.h | 2 +- > arch/s390/include/uapi/asm/statfs.h | 4 ++-- > fs/statfs.c | 4 ++-- > 3 files changed, 5 insertions(+), 5 deletions(-) Series applied, Thanks!