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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 F1454C433DB for ; Mon, 15 Mar 2021 19:05:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8247864E41 for ; Mon, 15 Mar 2021 19:05:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8247864E41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/d9VcW08+kfd7AAK+mwpAVJId11Uec3hyDyJhx72VAU=; b=pah9nQAPGe4DyukXtsOCpjAYN 7QHhPmhKs8R4onzO2Y7DtjHUrspzsYpTZPD5RPaOQ4s52Mt1zDZGwdJLN1KvXw9SY7txUZdJt5VNE xq1iNtmEgP8cLP9f6YDvT0ZcI6QSkRikadRKiw2/Tb4xxtAKHrDuuV1XZEbSVEsGHZCpBAjnFnX1g 2vam5bLjU/+8CqTevgPh5qYsBfyRXiwr7RiTxY1Hq5UsgjYszXKZ32V84YkO3aPG2p8UH6lhXQi+5 Qdg+lSZn/jCaEVtAQ+UqEnwZ7nWZmnpy3s2PvMnVbphdiM7CUQvMafG8qpChbSMLTiRj/TKZVSO9H QuvLr0jjQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLsUz-00GjZ5-Ao; Mon, 15 Mar 2021 19:03:29 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLsUt-00GjYD-WD for linux-arm-kernel@lists.infradead.org; Mon, 15 Mar 2021 19:03:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/atDwNOen7kJVJREWDwR+azIrhizELQN75Omn+9/DFE=; b=f8zlQw8U6sqWjz7qIXVWGP1T5 fhCAVRzRrLqSuMZpGQ+Q/5UR+prYPQopieFqk01KC7sl0bc+WEb8s6Cy4R13hoX8ySfMnjRPXBbP9 /lasSIEpOMYPo0sX0huwBZbpIudGRQ73xXa3p00A34y081dYbgq3ESEl+oTTk1SA2PtJof/HjFWMK /GnjX/piXhjD322iHG2O1upSMfknXH8qBpVrPxjG1iV8DPvwh2j8nIuZ0Js/gl8NXgNSlr9BXc8hS l0D+yi9DSpKCE1NTndliOCtPyIDk/IJfj5VlVSA/1orMRadSZuh6qSOUhqwsyVA8pP8dnbSd481Lh jCL8Kh7iA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51330) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLsUk-0000f4-8q; Mon, 15 Mar 2021 19:03:14 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lLsUh-0005Xt-Si; Mon, 15 Mar 2021 19:03:11 +0000 Date: Mon, 15 Mar 2021 19:03:11 +0000 From: Russell King - ARM Linux admin To: Linus Walleij Cc: Arnd Bergmann , Dmitry Vyukov , Krzysztof Kozlowski , syzkaller , kasan-dev , Hailong Liu , Linux ARM Subject: Re: Arm + KASAN + syzbot Message-ID: <20210315190311.GM1463@shell.armlinux.org.uk> References: <20210127101911.GL1551@shell.armlinux.org.uk> <20210311140904.GJ1463@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210315_190324_099865_3DFF969D X-CRM114-Status: GOOD ( 15.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 15, 2021 at 03:01:32PM +0100, Linus Walleij wrote: > On Thu, Mar 11, 2021 at 3:55 PM Arnd Bergmann wrote: > > If KASAN limits the address space available to user space, there might be > > a related issue, even when there is still physical memory available. > > I'm just puzzled that OOM is not kicking in if the binary > runs out of virtual memory (hits 0x6ee00000). The OOM-killer has nothing to do with the virtual space for processes. The OOM-killer is about physical page starvation in the kernel. A process will instead find mmap() returning NULL or attempts to increase the heap via brk() failing. Neither of these events should result in any effect on the kernel; the process on the other hand may make an illegal access and be given a segfault. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel