Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1533101lqt; Wed, 20 Mar 2024 06:59:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXaU/1yUGphH6S0JSp/0cr9OOrt5qzoR1ylTIllMQAbMN9PY4KnnETAMbIygawuGigYbbBL37yrpuBDVHvw5j7BfYm1Gr0X6ZPVIPPMFQ== X-Google-Smtp-Source: AGHT+IE26yV4LQvtgdfSwaoPJqraAOza9oquRuwx11eQXzDkmkBEDFNp38bSSxLlSqHqOEwqToye X-Received: by 2002:a05:6a21:6da6:b0:1a3:568e:8f21 with SMTP id wl38-20020a056a216da600b001a3568e8f21mr14741315pzb.2.1710943176215; Wed, 20 Mar 2024 06:59:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710943176; cv=pass; d=google.com; s=arc-20160816; b=sgPDK3J8ZCY1hCewUcsFTcI7V27igeAiYDkDAxE5dtuwMfCKoGQv/+Zl9XliKUxXcl NmeByyXGBTp2f68VK0m7rFNmqPMM3gdywjqkukAfgItl/rnmX4yq1jTHpCWHax1qytVR NDCklsmFPkHx2kO06TVnlX2fo3LOd85mVT4+F9vg/B9oXpxTBOipe4u+SviKo8dxX41Z X3imOFINt135MefJjUQmlrK4EQmFjLJiX40eH79D3b8lorQqUbjwlb5xp0cFwQNXkg/Q XSEOTDwpWuAC23tlHoByx4gf69ZvVhVRHYUhbwhkoeSU2i2jqK2q6tTjoShBCH7k74b9 s1Og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=0Mi8dm1qszCQPDlXk/8jOIKYd8qLa+0PMH37O+I5XlQ=; fh=/tCwOPzB4LO7E+1KGPLfDX30E0gspzafgaBPYOVIgHo=; b=FCpJUfpG7dcNycqy7osJdLYo6LpfomHXhMvcvy27Cr9byzxgi3Zgn6u1wRGMK+GBbC gg2bOOsdv48OuZcMd23rmNf97GKY4Fcyxt5/AKVP13hABV/3oB2n777kS9yXsPUObuit 76VPlXSEUHdFvPsT8Su1sY7w3r2Tn90y5SDnRja1po6F8MMtMBkGr9Rlr90BigADPsTr d9RX/mBpKc9u6ekXazuPzIMnIHWSixAaJ1uF5tAq32Tr/z7hPHs0YSBrkWqduDMwkwll jkQIwL6JRfOmpxJmYiYH4T3soJdf4AappRQSceUn9YcpCLMqYzLELqY8ZEm6ttvb8YHB ZxNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-108978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108978-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lb13-20020a17090b4a4d00b0029ffcf13891si1457089pjb.34.2024.03.20.06.59.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 06:59:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-108978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108978-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D2D222818F3 for ; Wed, 20 Mar 2024 13:59:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD5504207B; Wed, 20 Mar 2024 13:59:29 +0000 (UTC) Received: from frasgout11.his.huawei.com (frasgout11.his.huawei.com [14.137.139.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A1E441C84 for ; Wed, 20 Mar 2024 13:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=14.137.139.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710943169; cv=none; b=hdABD3UZx0OdCsF4J5tgbHcRUpYElyRQS1xLNmGwErSHdAsn2X2se34AFBUZKX/iWyCtBitXSjdDWLz+NGbcKHeRHN9DGPDDjlwlYqC4i52XXqa8dphm874RyH668sBtDFJWdpYLob+S+iGvLavbQKrv7hzXrORIadbbLU3JBaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710943169; c=relaxed/simple; bh=G85gk8kULJgYCpj1nfjaHJfgZ9BRlMYZWeSKjrAIvqY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SUF0m0l6sM5QNv3sKQhVOgC89uoFoHn0kwGKFVNUvgAUJ/PbyGCRt+bpv/eot9CD+1ok80x34oP1n4QNLNuCCblLFGi6r79VfyVkAofiAdsRgtHX0+CiNoKPYmRtw2jKvZDvhOZDknH/IGsfYPgI8L7UqC/FvAHEf3DO67v9XVU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=14.137.139.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.18.186.29]) by frasgout11.his.huawei.com (SkyGuard) with ESMTP id 4V08tY56f9z9xGYb for ; Wed, 20 Mar 2024 21:43:17 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.47]) by mail.maildlp.com (Postfix) with ESMTP id AD19D140890 for ; Wed, 20 Mar 2024 21:59:10 +0800 (CST) Received: from [10.221.99.91] (unknown [10.221.99.91]) by APP1 (Coremail) with SMTP id LxC2BwCHehOm6_plBBWtBA--.47981S2; Wed, 20 Mar 2024 14:59:10 +0100 (CET) Message-ID: <6a62f534-463f-45c4-a5ea-2c1021cf45d4@huaweicloud.com> Date: Wed, 20 Mar 2024 14:58:59 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND 1/1] um: oops on accessing a non-present page in the vmalloc area To: Richard Weinberger Cc: anton ivanov , Johannes Berg , linux-um , linux-kernel , Roberto Sassu , petr References: <20240223140435.1240-1-petrtesarik@huaweicloud.com> <9284cda7-d7e3-4390-bf62-58092e97d1c8@huaweicloud.com> <8d45f94c-bce1-4327-9573-cec254a4e9c3@huaweicloud.com> <1418379493.78340.1710886685735.JavaMail.zimbra@nod.at> Content-Language: en-US From: Petr Tesarik In-Reply-To: <1418379493.78340.1710886685735.JavaMail.zimbra@nod.at> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID:LxC2BwCHehOm6_plBBWtBA--.47981S2 X-Coremail-Antispam: 1UD129KBjvJXoW7tw1xZr13KFy8tFW3XF17Awb_yoW8Ar43pr ZxGa1DJrs2qw1Sya1j93y2y3W8KayfJr13Jrn8t3s5Zr1q93WxtrW3Kw4kGa4qvr4xuFyY krW7GF9Fva4Yy37anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUyq14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02 1l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j 6r4UM28EF7xvwVC2z280aVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4j6r 4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcVAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCF04k20xvY0x0EwIxGrwCF x2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14 v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY 67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2 IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AK xVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU X-CM-SenderInfo: hshw23xhvd2x3n6k3tpzhluzxrxghudrp/ On 3/19/2024 11:18 PM, Richard Weinberger wrote: > ----- Ursprüngliche Mail ----- >> Von: "Petr Tesarik" >> An: "richard" , "anton ivanov" , "Johannes Berg" >> , "linux-um" , "linux-kernel" >> CC: "Roberto Sassu" , "petr" >> Gesendet: Montag, 18. März 2024 14:09:07 >> Betreff: Re: [PATCH RESEND 1/1] um: oops on accessing a non-present page in the vmalloc area > >> On 3/12/2024 4:07 PM, Petr Tesarik wrote: >>> On 2/23/2024 3:04 PM, Petr Tesarik wrote: >>>> From: Petr Tesarik >>>> >>>> If a segmentation fault is caused by accessing an address in the vmalloc >>>> area, check that the target page is present. >>>> >>>> Currently, if the kernel hits a guard page in the vmalloc area, UML blindly >>>> assumes that the fault is caused by a stale mapping and will be fixed by >>>> flush_tlb_kernel_vm(). Unsurprisingly, if the fault is caused by accessing >>>> a guard page, no mapping is created, and when the faulting instruction is >>>> restarted, it will cause exactly the same fault again, effectively creating >>>> an infinite loop. >>> >>> Ping. Any comment on this fix? >> >> I don't think I have seen a reply from you. If you did comment, then >> your email has not reached me. >> >> Please, can you confirm you have seen my patch? > > Yes. I'm just way behind my maintainer schedule. :-/ Understood. Thank you for your reply. By the way, are you looking for more people to help with the amount of work? Petr T