Received: by 10.223.185.116 with SMTP id b49csp413220wrg; Wed, 14 Feb 2018 00:44:08 -0800 (PST) X-Google-Smtp-Source: AH8x224xAJdCBEWcKkFZRDZORGmTWGUzal4WJa/8I99+GPvsFN+t0Sr/s7QRqYgL9wgynDLgs2rU X-Received: by 2002:a17:902:b410:: with SMTP id x16-v6mr3846653plr.157.1518597848347; Wed, 14 Feb 2018 00:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518597848; cv=none; d=google.com; s=arc-20160816; b=Hty8Q7772EPUvaP8rD6xsbfNHgKn0m1RpWYQ47V+VFgZ+5I5eEzHIcriUe3yH+7RJi aXUFGU5AZU3I8iw+xFyfXAk8K4j2RnNnTRYgoHhfbq4Hko7/Ps+nvskWSqd5mMx5NHKD qW2CBDZ7IIbjcLu5OOHLqQPSu60VSF4yZF/Wd6ULN8fYztkKHM1/R5rT8BYuvtJg6mnp DauWb9FwdV81SWfIN+7Mb5bboCTD4EFjOMgth+I87p9LjcMdOlEKFg2mhSfrXMX+e8OK MtTFyOuTD/IFJyK7psH0Sen8hTfwj3aRKTNBvZkRt9XDrQ00djiT6WXoIRhyMBSq3r5X OWuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=peulVVnbCB4St94ifSxALCqEYL0IxQ3udCNMrpy44uo=; b=RR2+V8BaO0v4y2RND8gQcfO84nyIMNzebBldtYRx7E41/KZH6pjQIDTull9QDlfV9c ptvtfmznF7QfIhuRMB6rfs83hYNtfHp2wJpthDoyamJeA+M2EER84E2XqSsu1zS2yDnQ J6V9MOjAyNucasm+xfSoaQWxmPAsEk2JX9APWVqjq9+PvaYXNwsJD3ll1wtiReVF3OTp bEwEFbh2f8tPmRXFXeAU3kZJFLni3UTWwITLUCiPkv08oHQYyM7PtSNF+YIDbqGHV+LE iEwF2OUA4qnlMNCuFzJOFBBkyd8T4OVR0GCwU3v12GNdK7Aain/6qaWaxOfOASg3KUr1 SNhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c83si639628pfd.185.2018.02.14.00.43.54; Wed, 14 Feb 2018 00:44:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754649AbeBNInL (ORCPT + 99 others); Wed, 14 Feb 2018 03:43:11 -0500 Received: from mx2.suse.de ([195.135.220.15]:49889 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754578AbeBNInK (ORCPT ); Wed, 14 Feb 2018 03:43:10 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C4FC7AC39; Wed, 14 Feb 2018 08:43:08 +0000 (UTC) Date: Wed, 14 Feb 2018 09:43:08 +0100 From: Michal Hocko To: Matthew Wilcox Cc: syzbot , akpm@linux-foundation.org, dhowells@redhat.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mingo@kernel.org, rppt@linux.vnet.ibm.com, syzkaller-bugs@googlegroups.com, vbabka@suse.cz, viro@zeniv.linux.org.uk, Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org Subject: Re: WARNING in kvmalloc_node Message-ID: <20180214084308.GX3443@dhcp22.suse.cz> References: <001a1144c4ca5dc9d6056520c7b7@google.com> <20180214025533.GA28811@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180214025533.GA28811@bombadil.infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 13-02-18 18:55:33, Matthew Wilcox wrote: > On Tue, Feb 13, 2018 at 03:59:01PM -0800, syzbot wrote: [...] > > kvmalloc include/linux/mm.h:541 [inline] > > kvmalloc_array include/linux/mm.h:557 [inline] > > __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:474 [inline] > > ptr_ring_init include/linux/ptr_ring.h:492 [inline] > > __cpu_map_entry_alloc kernel/bpf/cpumap.c:359 [inline] > > cpu_map_update_elem+0x3c3/0x8e0 kernel/bpf/cpumap.c:490 > > map_update_elem kernel/bpf/syscall.c:698 [inline] > > Blame the BPF people, not the MM people ;-) Yes. kvmalloc (the vmalloc part) doesn't support GFP_ATOMIC semantic. -- Michal Hocko SUSE Labs