Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1142020imm; Wed, 13 Jun 2018 14:09:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKi1e8v9z8WWfBHIOS2Xx4Rvz2g1TgF1komYbrqxDLaDNNIfaJyV9mizYoLZiqkOohNtq5n X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr6959262plu.22.1528924177708; Wed, 13 Jun 2018 14:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528924177; cv=none; d=google.com; s=arc-20160816; b=AoNF3pXBnkarUd5fMu+DTdn/1OcvIuuMRScfGUX593jHrihSvSPj2CerukaLnFAwoW Y6S2yAUgb3BN7b/iiZ7+uhuUXFTcOuCb7jp59JqM6nOB5+m0aQORCwZ0lPVP6gUy5RrX qdCbFz4naqcaB4/56G7C9CcpPBmS0ujNADP2mdbBBvPwpFjuG3QSOuizzE4aYW4dfxth nJXCgvmlfr70jX5vwKo2hfD88Ik7+vpcsvjWM2Ed6QkwMY9nxqdI/LO/wjmWYnG1CP9f 79opZlJOGprKc5nyX/zIhOp8IZOsd39iAYGSZp3lcZb+64/qEGj1xCA0T0CAigZQu+1l hlTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=XInWjTEXY6lSwOD2hn35BWY7vGEOirwFxc4+TXOroqU=; b=lYYGZ/5kpjdBH+l0aAhHEn9OywUH0WYz4D4XdF8zHb6gobfr4OE7etw9HCUA6LfjR4 iOeewN8M+2cdizCDHoB5PlavEdZddOTR7GzWCOg9uax4LoHUr36tlEGxQnXQSKpntFsk bYisNrxcT7P+Z8keqAqaTRpMIwkeAm5RPZ5WwRlS77tBXhCqg6XQk4n1bjHZ/e4TfN+O /ingK0ftVIxPRIa5vakpYBY/CaLQRNzw19ys/KdDWFmvpMXxQ0nJum5yvp2lujV6aFQr omFFrKduHYXnDDjO5zxFqvYFztvfLzSgbqXfLJj8DIvJT+fpiyIJkcU+zbbtaEZ2BJYv sbVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernelpath-com.20150623.gappssmtp.com header.s=20150623 header.b=LukpWYAO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8-v6si3541569plh.492.2018.06.13.14.09.23; Wed, 13 Jun 2018 14:09:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernelpath-com.20150623.gappssmtp.com header.s=20150623 header.b=LukpWYAO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935900AbeFMVIt (ORCPT + 99 others); Wed, 13 Jun 2018 17:08:49 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:43444 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935626AbeFMVIr (ORCPT ); Wed, 13 Jun 2018 17:08:47 -0400 Received: by mail-oi0-f68.google.com with SMTP id t133-v6so3679683oif.10 for ; Wed, 13 Jun 2018 14:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernelpath-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XInWjTEXY6lSwOD2hn35BWY7vGEOirwFxc4+TXOroqU=; b=LukpWYAOcBU3E0PhMFDpSJABE9tXmmEDylHgrysElHAS1I9ZrTzz2tydmp/C7ZhFfe mqC0d9rBK+nu9JY+up6XYV0EP4SYTkH4sbGvERULtJHHIFSbmgK/42wppCQRmaJsYSsN xxqGGcYMoe6xXBUziwY7/qg6op5jlCdabUKsa3mdRBFc7MooEUCWJmBNtLVPXdeKWYEA subZ9PDPhXVJSrC+GAkDzedq01/eFk5Yw6SN00XyQKExldU6AaDeNFKxxAARxm/39mak UzQSeOXo7nLAdZI0Gs6OSGg51muIlC8/qor1fOyp8Yoob1MhExuiMNRnBNlZ0bWurxFy 02PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XInWjTEXY6lSwOD2hn35BWY7vGEOirwFxc4+TXOroqU=; b=EqiK13lB5QO7NKl98UJ6dIKzl5wA554/7WFMcqvWiPKef74ZOdoIWyJ2jlPxWsqacg FLyDy/Dglv4xp4N15ihvu289Nb01/XyhtTR7qpLaiGu2MrCHPX0qy1ljaMlGSQdPiKvF nIA8LCKC3JE1BJRbYm37C4MlEMInEg3BXKhIUGYMmKLL/ph8o+R79pfHC9HN7VdJhbaR lCuoU64WbQMHXiwGQUCRvofOuhJfgJzB02S3aU54wD8HSKIFyUIECbniF8H4RuNm/R3A DugsXfWnFOyqHLq2zZuLk1IcjfGvCIncjKNmSAy9N0t9MVNcJDcUZL1TyPKrwAFzZ7jk rsYQ== X-Gm-Message-State: APt69E0wO+4lA8qFcW74OEj/runrcOfTul74P9FX3V9GAI/D5Wdu5bYO UWATmaoVMIaU+qm/NJh7h/AD5oCbXBaAQOroluTi8A== X-Received: by 2002:aca:cc4a:: with SMTP id c71-v6mr5737262oig.152.1528924126905; Wed, 13 Jun 2018 14:08:46 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a8a:a:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 14:08:16 -0700 (PDT) X-Originating-IP: [168.194.163.8] In-Reply-To: <20180613210044.GA15146@kroah.com> References: <20180612164816.587001852@linuxfoundation.org> <20180613210044.GA15146@kroah.com> From: Rafael David Tinoco Date: Wed, 13 Jun 2018 18:08:16 -0300 Message-ID: Subject: Re: [PATCH 4.4 00/24] 4.4.137-stable review To: Greg Kroah-Hartman Cc: Rafael Tinoco , linux-kernel@vger.kernel.org, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, ben.hutchings@codethink.co.uk, stable@vger.kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, linux@roeck-us.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 13, 2018 at 6:00 PM, Greg Kroah-Hartman wrote: > On Wed, Jun 13, 2018 at 05:47:49PM -0300, Rafael Tinoco wrote: >> Results from Linaro=E2=80=99s test farm. >> Regressions detected. >> >> NOTE: >> >> 1) LTP vma03 test (cve-2011-2496) broken on v4.4-137-rc1 because of: >> >> 6ea1dc96a03a mmap: relax file size limit for regular files >> bd2f9ce5bacb mmap: introduce sane default mmap limits >> >> discussion: >> >> https://github.com/linux-test-project/ltp/issues/341 >> >> mainline commit (v4.13-rc7): >> >> 0cc3b0ec23ce Clarify (and fix) MAX_LFS_FILESIZE macros >> >> should be backported to 4.4.138-rc2 and fixes the issue. > > Really? That commit says it fixes c2a9737f45e2 ("vfs,mm: fix a dead > loop in truncate_inode_pages_range()") which is not in 4.4.y at all. > > Did you test this out? Yes, the LTP contains the tests (last comment is the final test for arm32, right before Jan tests i686). Fixing MAX_LFS_FILESIZE fixes the new limit for mmap() brought by those 2 commits (file_mmap_size_max()). offset tested by the LTP test is 0xfffffffe000. file_mmap_size_max gives: 0xFFFFFFFF000 as max value, but only after the mentioned patch. Original intent for this fix was other though. > thanks, > > greg k-h