Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36965095rwd; Tue, 11 Jul 2023 07:52:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlH0JhoIRjOOeRx5DkQRWXlqeJA2hv4MDKsae+FNUm2qYP5yvAZr9WQcpOxBdK2hJhflTJB+ X-Received: by 2002:a17:902:ec88:b0:1ae:4567:2737 with SMTP id x8-20020a170902ec8800b001ae45672737mr20062306plg.2.1689087137348; Tue, 11 Jul 2023 07:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689087137; cv=none; d=google.com; s=arc-20160816; b=v9knCiopDfO8MUgLvHJWAdqh1ktALiBOlUBmzk0YEX8ZFRU9Phjf7JjvI4TzEfZG0W 3d1OglpToAOxq18V2lUjye7AatO28qH95tdLD6MMVz2dht3cOa4KCV5jvojLRGzkXnZh s7cxQbYgxDKKy53eTAhW6RTflIw3twQOea7PQKYNpuxzNaeXvJJra+xjaewd/fZGcU7c 7RDN3gTNrBcek1KJJxTYUriWE9RP4hiYkucj2rIAFI7AHdiOzXnhls1+ac6FsjpNRRTj GqNyUgfZnGrUrkjXwzwerKrlxfONgb1LfKDPVsM9h+ze4CO6t4vK+AMxN9r6eeEJoykL T3GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=YdhAfjHYq5/0VjH2I0WNu119xBViTrKkb8U2uUZU+jY=; fh=DDQHufnngeKdI0T3ba04iSh6dwhCIJ7qiHyheRMbgUk=; b=nsPvtK7d7Xvv8QZfcifZYA6vKHE5YHy3nCARNGEFcA4EmupZpGFwTT9cWAMnOPaBDp hFd+7OAldvEgdJ2ks+wFsmLrcAGz//LuKOAGZAWi02LwR0rw/RaI5nxzG8ec91tbiOJ9 kAJ6PPSuN4C06hkJNILTcneHlypRSdwD8bZv4q99zVbW73/yIbw0nAg3Ysf8bbnbyb7b ZUg3mP22X/6tfl+SDd1Rv7LWkhe7hajbFX/s9fkovk0pyMs0IGYc8s08KqSnPQ8fFljg 5PtjJyy0vy21K75sn3XZRkbW7euiVLGEZs8oLmGXDpDUdLMkH5f6wN4jiMlp6KLjxTDX Sk7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902ebd200b001b50cc75c2dsi1654889plg.611.2023.07.11.07.52.05; Tue, 11 Jul 2023 07:52:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232777AbjGKOtB (ORCPT + 99 others); Tue, 11 Jul 2023 10:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232541AbjGKOsp (ORCPT ); Tue, 11 Jul 2023 10:48:45 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CF2BE54 for ; Tue, 11 Jul 2023 07:48:44 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qJEf2-0003Uo-GS; Tue, 11 Jul 2023 16:48:16 +0200 Message-ID: <2c3ab284-fd11-d6c5-c03c-60d54ad227b5@leemhuis.info> Date: Tue, 11 Jul 2023 16:48:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 12/32] mm/vmalloc: vmalloc_to_page() use pte_offset_kernel() Content-Language: en-US, de-DE To: Mark Brown , Hugh Dickins Cc: Andrew Morton , Mike Kravetz , Mike Rapoport , "Kirill A. Shutemov" , Matthew Wilcox , David Hildenbrand , Suren Baghdasaryan , Qi Zheng , Yang Shi , Mel Gorman , Peter Xu , Peter Zijlstra , Will Deacon , Yu Zhao , Alistair Popple , Ralph Campbell , Ira Weiny , Steven Price , SeongJae Park , Lorenzo Stoakes , Huang Ying , Naoya Horiguchi , Christophe Leroy , Zack Rusin , Jason Gunthorpe , Axel Rasmussen , Anshuman Khandual , Pasha Tatashin , Miaohe Lin , Minchan Kim , Christoph Hellwig , Song Liu , Thomas Hellstrom , Ryan Roberts , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Linux kernel regressions list References: <696386a-84f8-b33c-82e5-f865ed6eb39@google.com> <42279f1f-7b82-40dc-8546-86171018729c@sirena.org.uk> From: "Linux regression tracking #adding (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <42279f1f-7b82-40dc-8546-86171018729c@sirena.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1689086924;f49f2556; X-HE-SMSGID: 1qJEf2-0003Uo-GS X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 [CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 10.07.23 16:42, Mark Brown wrote: > On Thu, Jun 08, 2023 at 06:21:41PM -0700, Hugh Dickins wrote: >> vmalloc_to_page() was using pte_offset_map() (followed by pte_unmap()), >> but it's intended for userspace page tables: prefer pte_offset_kernel(). >> >> Signed-off-by: Hugh Dickins >> Reviewed-by: Lorenzo Stoakes > > Currently Linus' tree is reliably failing to boot on pine64plus, an > arm64 SBC. Most other boards seem fine, though I am seeing some > additional instability on Tritium which is another Allwinner platform, > I've not dug into that yet and Tritium is generally less stable. > > We end up seeing NULL or otherwise bad pointer dereferences, the > [...] > # first bad commit: [0d1c81edc61e553ed7a5db18fb8074c8b78e1538] mm/vmalloc: vmalloc_to_page() use pte_offset_kernel() Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced 0d1c81edc61e553ed7a5db18fb8074c8 #regzbot title mm/vmalloc: NULL or otherwise bad pointer dereferences on ARM64 #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.