Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3076934rdg; Tue, 17 Oct 2023 04:06:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuxlQNwwj3rHkms0E5kexyhrF/F/7nPGEqZHBgqKCDa4YaPHoQpgt/dJfFmNYP2kJ+rfUS X-Received: by 2002:a05:6358:3a18:b0:135:a10e:1ed0 with SMTP id g24-20020a0563583a1800b00135a10e1ed0mr1650728rwe.23.1697540775751; Tue, 17 Oct 2023 04:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697540775; cv=none; d=google.com; s=arc-20160816; b=BH30xkIehmC9uExuK9MPmvELPYHkML3LMcH8+RuovueU1jz4AF4L0wSaFHp4IpzR64 /tCpkNVe2kqkv0pT+qt71K+NIcKZynebmVR0asMin5803j4mFTjfthPcxm47TW9Jhafp iRW4/UvDAsfkcGBgDhsDbDHOkKcv3RByUg5Mb/z9YCcJVKVmxCQL/AHm1Sfx1F5iTVpW RdvaBP7MnXb55J6PulmUqRYTzMof0qd6xnjBTy2nI07ZzwOQnvS7gqHv6k0/lbb/Z9Aj a6WOL5rsX4/doRxvw0slKnvrKKt0NIXgwR1RZti2S/I5CwsZVTGksSZJGQNrsxdBy6ra Mxxg== 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=AiUZq92UBxC15IpKeVPOwaCF2WD76dOx+OyrOjWWdV4=; fh=k1/eybFCLBhz5sN2dj1oZaupFLZy6mgRkaEygmeEWWA=; b=fvTAjqYWKqUzXiMeODr0ba+LqcNS0qf++9ebMvo1vDl05acmaaKU/zPwxOkKXeVIpy l5bvJXlBBSi6+IAr3UutMKI+1+y6eWBp02aNNGw3TsVFBwCLGXfrxbdbeIlOfWyKJkxn MsCI2iraP6MSSYIfyMmHfdNg9Cu2/7mX+ibafFcjpqULeagF11HeoqrgNwslA4KEtIWW L17aGGKVCBSyfxES/LxTLHPOoGEON9iLBRxaqfxss9LJpeDyKb+z2GnL46jD7HH3eBPA PP9Xs8XayjRAFJhvDXTHZlLfiZWiC/u+YgETNKQW6iEjWNTKg8ITjEEduFV67Jr7WLYC n9gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZtzSD7KP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l3-20020a056a00140300b006bddac4b018si1458194pfu.107.2023.10.17.04.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 04:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZtzSD7KP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 89EC980A9F6C; Tue, 17 Oct 2023 04:06:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234809AbjJQLF5 (ORCPT + 99 others); Tue, 17 Oct 2023 07:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234802AbjJQLFz (ORCPT ); Tue, 17 Oct 2023 07:05:55 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 428A5FF for ; Tue, 17 Oct 2023 04:05:53 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40790b0a224so4957805e9.0 for ; Tue, 17 Oct 2023 04:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697540751; x=1698145551; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AiUZq92UBxC15IpKeVPOwaCF2WD76dOx+OyrOjWWdV4=; b=ZtzSD7KPYlh6t8yhi6gar2LPZfgkg66IESqB1rRE5nZ7Sw+MyuXDMalAAoQZaVO48a 1l6QILSy34noZ8B9owh1n6N0MMf+q3xVt/dBZ+Oploj30tiwA1nlwMIQRQAAvaZmsX9e +JfznmG+w6DFsvhUo9ccOIbh6SQH4173bEWhr070p5MpwyFN3UWnGytemNEEDmIQ0tWh KGGq1pov9gyYpzZ8jeSzZUTzfxyWk7pnj2YdcrKsTJ/HfjxvoPQuCtMir8qCKgpXRMGg 4Y7BT8Dm+63Z2/B8iLDHFibSMxfXlx+Ox2ty5r3hgAML+LMO6jW1l+P72vWQG99fZ74t xlYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697540751; x=1698145551; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AiUZq92UBxC15IpKeVPOwaCF2WD76dOx+OyrOjWWdV4=; b=BGGxM1hZ5Vc7DyOLHGAQMXs0ymqEbkEy+sKHaADXDuXiIKnbn9D7R1KUM2B0VrsmYK uOHFBaqhULVOWvKS3Xo13Hxsyo9Z8xdzfHbHY++myD6nIY4yKjFrBkWeh4zu9jRqfWYz D0gu00ydjteb/PZcpBMRxYvoJ+UILdTNalbUodRNKKOuR5sSBEMDcOt8Twd33oGmZpHa h5pX2sjHyQJck16QM0L5yJlLZckwt+Fnm4Qdvkl4QMaz1/LRhoaV3RvxDG1Of5xl9F6U vZoAb0hJapFPoevvWjT2x8ZHwXdZGHHBOnoQ3qkeHw8xCYD3R9GYvaFyKd5hi/wpbhx8 4I2w== X-Gm-Message-State: AOJu0YzCy8X8Mqpo0CRy2aNwUdsG6WmVA+eTrI7r8vHUMmTkol9z1ZYZ SwzjsRq1ylTIh+lboa9z+9eYel/WAT4= X-Received: by 2002:a05:600c:a01:b0:401:bdf9:c336 with SMTP id z1-20020a05600c0a0100b00401bdf9c336mr1601636wmp.27.1697540751352; Tue, 17 Oct 2023 04:05:51 -0700 (PDT) Received: from localhost ([2a00:23c5:dc8c:8701:1663:9a35:5a7b:1d76]) by smtp.gmail.com with ESMTPSA id t2-20020adfe442000000b0032dbf99bf4fsm1421171wrm.89.2023.10.17.04.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 04:05:50 -0700 (PDT) Date: Tue, 17 Oct 2023 12:05:49 +0100 From: Lorenzo Stoakes To: Sachin Sant Cc: linuxppc-dev , linux-mm@kvack.org, open list Subject: Re: [powerpc] Kernel crash while running LTP (bisected) Message-ID: <84a6c480-f29b-4a73-bbb0-4908145dc4db@lucifer.local> References: <81C9E2C1-DCC3-4DDD-8466-069893398B5B@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81C9E2C1-DCC3-4DDD-8466-069893398B5B@linux.ibm.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Tue, 17 Oct 2023 04:06:12 -0700 (PDT) On Tue, Oct 17, 2023 at 02:46:07PM +0530, Sachin Sant wrote: > While running LTP tests (getpid02) on a Power10 server booted with > 6.6.0-rc6-next-20231016 following crash was seen: > > [ 76.386628] Kernel attempted to read user page (d8) - exploit attempt? (uid: 0) > [ 76.386649] BUG: Kernel NULL pointer dereference on read at 0x000000d8 > [ 76.386653] Faulting instruction address: 0xc0000000004cda90 > [ 76.386658] Oops: Kernel access of bad area, sig: 11 [#1] [snip] > > Git bisect points to following patch > > commit 1db41d29b79ad271674081c752961edd064bbbac > mm: perform the mapping_map_writable() check after call_mmap() > > Reverting the patch allows the test to complete. > > - Sachin Hi Sachin, Thanks for the report but this was triggered in another test previously and has been fixed already (apologies for the inconvenience!) see [0]. Andrew took the -fix patch and applied to mm-unstable, this should wend its way to -next in the meantime. [0]:https://lore.kernel.org/all/c9eb4cc6-7db4-4c2b-838d-43a0b319a4f0@lucifer.local/