From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B6D339936B for ; Tue, 12 May 2026 09:26:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778577974; cv=none; b=O7LQrTxCfh1qiQ1ruGbD1U+eO9JE3j72d6Y+Rfim0YC5IcWpfkkwUUAcDQdt9QE8H4ZgW0a4QfHZb2ouy01uyKEZY5BsSa2blr9i0Dt4R8AKOCL8uFmmgzzW+fZMOLJVkCyb29cUl5+0Hi+G1Fos1nyNbOKaYzoSEIHrV2rH2Hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778577974; c=relaxed/simple; bh=Aa9k4JIXMfWoBEywcAjfDBCQBqZfhCo9Ags0Jb9ayFA=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uT9RpnN/RF4HDUzfNPiDOrd4sLrXCKG/blpuNv3PH0thtFC2VhBdJmT7zqG2SREsUnzIK74r6OnHUc6P4dPshkbpjqRsC/4iJ+L9+DlFKVhNoglP5d+KXOYD8m1LdVqPfyOE4XVfn+CbSO++2/MC8/WJNKPt58GtvqmYadrtKLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=qqK/W/Zv; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qqK/W/Zv" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-38ea6a5a0b3so44824391fa.3 for ; Tue, 12 May 2026 02:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778577971; x=1779182771; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=hOgcSNGt805XiQUX+Fq6Uz2xukIsUi5hMysVvClcsfY=; b=qqK/W/ZvvJW8sGV0Nk8/mnQFU555aA5J5DgCA5htvamV/lrl9d8iO1XYgmYV+9H9rJ lrqj/7up9df+PRu7xpIpT+eqHHoSGfO2PGpqLd6Y4L3vxgpWtcnOQoBR+hywD+9MwLhh sJPSHjJc156s1u7GJ2iZKlVRJnu55OS9uzxxextK22p1iWxlmfgT1bhZIuAe1FJmaabQ wXgH4bwXOnPDD9gCyCBOgl6ylMSLsqT9GgHfTLCqjH83hNBAkBRqu/0MMgMjxoQlzbWH Fgp6F+Dv7Dr1wueHYDCxqjRZ/AHnpRFaUTRypd4CZTFW3G2vufP0+iXC5aOx1G0Q4xBp U3pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778577971; x=1779182771; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hOgcSNGt805XiQUX+Fq6Uz2xukIsUi5hMysVvClcsfY=; b=rIVsXo7BRFYgd0v8URFWj1gWCkFU5jcUL6QIswvz6SNI9LY3pTXj3h9vbrvhZoPt8h VooAiTemMKZLQ/WQxGz3hVKAKzdrgWCrm0pMlqOUF1WLeINjA6Ux9MEO8+fv8fYlHsik TR3J6vY9Y0aTR2AL/FDYeAK0Gn9Vvnt7cqI3TBllZRjBMGAacdTi2yjbSqtOpwZDhMQn QUT+KmExJfDJrJutHLkAZ+TPxkZpZhOhxWqNc/lGjiAft7LWZBG77yonhQg5pf6UWWus LBPqSMXZc8tnNeJxKuOX2X/TGJ6RzsBWXwE3d+NELg12tkTqxpkBJSROTLNV/n9gSi9w Q+tQ== X-Forwarded-Encrypted: i=1; AFNElJ+oMgaVaDUTQ3yMu5hwVn8ls0/BF9ikWCdQeQVcYYEZcxuqDSKVuokUn+hIkusXYPycbr6p4dCIV53pNm8=@vger.kernel.org X-Gm-Message-State: AOJu0YzPD6TTyfVFJKjivYmCdF22J1Jp47IBICRtI3BMLF5kzdprN43+ 76AI2nlb3dY6B5fd1lnT+tu5pkRBwunTSrQEKWEGxiLfIwMCtfkM+L1Q X-Gm-Gg: Acq92OGfmbT2ISXeYlO5qAE5oXgDI9RQbjg/o74sHfK/r1Y6uepDtIk6zY8Bt+ajo1H elbvhADlSVrGeCWC+FRrVjPvfu8bX8E/pRUjxgoEdr7XVGzzsrbNmjl/OmziH4BMIYL88dPOo8t yU3tGbH2ra5jOjZ9i2UIM/zqOVXwzjXt03jcOF9gwHJfuxnA61cL4F7GOo1b1rLKs+ILWDCcp6W WdwnP2T+V5Cp8e/naghH+pQG4g+E4S0qnKBsAkYSJ8W0F4gUIwFXCiFePI04DOVHGzOFQ8/jAm5 EPzvOq+nU/LHKwUbO1SDDzfnlXz35/teh6vGXVBfJnqF/HH5JXaUWGtC4DhyzUZByq7t2peheOK ZUQEm2qmJSLgEwjoKLNKO7cmPTAVA+TP9N0abZBF53f22hqxPcFxW6YiqTf+xz0vXrOc0rdIIO0 PaqVVVKH4D2jX2Z9qalFxz+sPmTpBmxwtu0PUhMiBKAn0YSfD8Atc= X-Received: by 2002:a05:651c:3241:b0:38e:49e6:a363 with SMTP id 38308e7fff4ca-3943cb812d3mr7142681fa.15.1778577970282; Tue, 12 May 2026 02:26:10 -0700 (PDT) Received: from pc636 (host-95-203-23-125.mobileonline.telia.com. [95.203.23.125]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-393f9ffa0a0sm30618831fa.21.2026.05.12.02.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2026 02:26:09 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 12 May 2026 11:26:06 +0200 To: Ido Schimmel Cc: syzbot , urezki@gmail.com, bridge@lists.linux.dev, davem@davemloft.net, edumazet@google.com, horms@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, razor@blackwall.org, syzkaller-bugs@googlegroups.com, fw@strlen.de Subject: Re: [syzbot] [bridge?] kernel BUG in __get_vm_area_node Message-ID: References: <69ff8c7c.050a0220.1036b8.000b.GAE@google.com> <20260512084754.GA181587@shredder> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260512084754.GA181587@shredder> On Tue, May 12, 2026 at 11:47:54AM +0300, Ido Schimmel wrote: > On Sat, May 09, 2026 at 12:35:24PM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 9207d47f966b Merge tag 'for-linus' of git://git.kernel.org.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=17e44d06580000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=d0f0911eedbc130a > > dashboard link: https://syzkaller.appspot.com/bug?extid=8b12fc6e0fb139765b58 > > compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 > > userspace arch: i386 > > > > Unfortunately, I don't have any reproducer for this issue yet. > > > > Downloadable assets: > > disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-9207d47f.raw.xz > > vmlinux: https://storage.googleapis.com/syzbot-assets/6c5e883f31aa/vmlinux-9207d47f.xz > > kernel image: https://storage.googleapis.com/syzbot-assets/19f3e863ae5c/bzImage-9207d47f.xz > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+8b12fc6e0fb139765b58@syzkaller.appspotmail.com > > > > ------------[ cut here ]------------ > > kernel BUG at mm/vmalloc.c:3206! > > It seems that this bug was fixed by commit 30c19366636f ("mm: fix BUG > splat with kvmalloc + GFP_ATOMIC"), but then commit c6307674ed82 ("mm: > kvmalloc: add non-blocking support for vmalloc") re-introduced it. > > Uladzislau, can you please look into it? > > Note that the bridge is calling rhashtable_lookup_insert_fast() with BH > disabled. > Yep, since vmalloc can be called with ATOMIC/NOWAIT flags now. I am checking this. Probably we can just remove below check: diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 676851d5cfe7..3d338e4bcbf7 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3209,7 +3209,6 @@ struct vm_struct *__get_vm_area_node(unsigned long size, struct vm_struct *area; unsigned long requested_size = size; - BUG_ON(in_interrupt()); size = ALIGN(size, 1ul << shift); if (unlikely(!size)) return NULL; We have already the check: gfp_mask = gfp_mask & GFP_RECLAIM_MASK; allow_block = gfpflags_allow_blocking(gfp_mask); might_sleep_if(allow_block); in alloc_vmap_area(). -- Uladzislau Rezki