From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE3F4C54FD0 for ; Thu, 23 Apr 2020 21:15:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 92DDA20728 for ; Thu, 23 Apr 2020 21:15:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgDWVPL (ORCPT ); Thu, 23 Apr 2020 17:15:11 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:51522 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgDWVPL (ORCPT ); Thu, 23 Apr 2020 17:15:11 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRjBd-0002oW-19; Thu, 23 Apr 2020 15:15:09 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jRjBb-0007nr-F3; Thu, 23 Apr 2020 15:15:08 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Qian Cai Cc: Stephen Rothwell , Andrew Morton , Jeff Layton , "J. Bruce Fields" , linux-fsdevel@vger.kernel.org, Kees Cook , LKML , Alexey Dobriyan , Alexey Gladkov References: <06B50A1C-406F-4057-BFA8-3A7729EA7469@lca.pw> Date: Thu, 23 Apr 2020 16:11:58 -0500 In-Reply-To: (Qian Cai's message of "Thu, 23 Apr 2020 16:11:48 -0400") Message-ID: <877dy5x5y9.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1jRjBb-0007nr-F3;;;mid=<877dy5x5y9.fsf@x220.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX18X/dkRBG1ZIo4nUQGAwX9BujYXDfYLa/s= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: out-of-bounds in pid_nr_ns() due to "proc: modernize proc to support multiple private instances" X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Qian Cai writes: > Eric, Stephen, can you pull out this series while Alexey is getting to > the bottom of this slab-out-of-bounds? Done several hours ago on my end. fs/locks.c and fs/security/tomoyo/realpath.c were rolling proc_pid_ns by hand and we need to correct that before Alexey's patches are safe. That is inprogress now. Eric