Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1375837lqt; Wed, 20 Mar 2024 01:51:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWj/Zvi5yiQmSpq3LOneQRVuLyPvOyOxn6hITsgTBydBN1QiZbMCyIy/xaUn5T+M0H2jR0eGATyakN2WCY6rrexFYFtCYy0UkdASZl5kw== X-Google-Smtp-Source: AGHT+IHA+wKXP/Yrd3mGP5vY8BNTI3bPO5WOIc+0APgOGFR2V7rA+pKyk96OSjwVnOUBeTlcfO/A X-Received: by 2002:a17:90b:30c6:b0:299:1777:134c with SMTP id hi6-20020a17090b30c600b002991777134cmr13711289pjb.33.1710924660058; Wed, 20 Mar 2024 01:51:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710924660; cv=pass; d=google.com; s=arc-20160816; b=eBy24t5xYTxO1QWn52Dl4iKWccJvLCUi2X4lz353DhpdTtS0Qtc15JXMzu0ucC/Uom PN/Q3dnDP+7v6UuvS4sEzhgzim2XSRoTXHYO9sUGIgdrP0T7rEXiVzQibVdosZf7YhvO BBZwGPZFnYpeLk6gJPpZEH4AT4EotnlIlu29l8Dh65mJ4CEFVA3DQM6Q9F2dcmnA65OS MPnZq5r6BwMPz7FWsRdYhJNHwPvo2v5oyriYYMSRQEj2rYsyXikgzRpeh42Q8YuE8EGh XqIejNY1ThGcu6DZSE59st+m5bjS38xC8JSXwyLlDhtiVfE22+bQIGfneglwcjGmqdRI SrrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=uXKsSVWCgYYsbuqtwTD65wtWe0vqcX1ynDfeFuCz4Wc=; fh=yck+e04J//vLAB3uPPivok6f9TuFDpVpI9H29QTo81g=; b=ZU+wPpOxfGGxB8KjkrHstZgA3LGYKgMDlNdlbU1uPi5xUjH4Har17gHy7YuRj70iHj 5RZPWUwGLlrMIcSvUzIkMZcU89ksgsNnVX0dKnnBtWtAe5yrMAwvEiaZURdZzL6DIqoR /mLUrcALKz4Lw+b0Bk+iybvu8MFW9Y5FJamuzvQ0gT5325/Uq7/Z5omXPDWalEDalNuS lVrKK+mLsCk63Qpnu9hTYo5EyduNP6XevoctL4A3c82IStOntPt/OvqB/AentivcKzwt iYERXEmOxSrchHeFkWNvBSARE6L4fsYwrbpdSgkzKfYIyfDniipuflMWrDlqeagPtqCU xGPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HlHYYPYF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-108644-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108644-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x91-20020a17090a6c6400b0029ac787c384si990411pjj.123.2024.03.20.01.50.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 01:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108644-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HlHYYPYF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-108644-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108644-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 BBF44281711 for ; Wed, 20 Mar 2024 08:50:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE79239FC3; Wed, 20 Mar 2024 08:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HlHYYPYF" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 7B06B38DE1; Wed, 20 Mar 2024 08:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710924490; cv=none; b=uvvDySDkc9a0Y4b259c+ZPm10pRu1Htcgb7LnUyR6be9cTYrytKEJ3c48XtcogNrb7mEGFjX0BCHUkdpkfo3yHXMGv8AcfmhUeLSw8C8M9Uu1ZC7u6wtGmAC1p4X0TZAXtec+Q2JKViyjOZQzpYo6uQAkfss1zwsLO+ekCnj7JI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710924490; c=relaxed/simple; bh=uXKsSVWCgYYsbuqtwTD65wtWe0vqcX1ynDfeFuCz4Wc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PHhgfoIPqQ1Bn1xIz0Cji+HAKxXo5uM1S3P+vef6n3gzIyEQ1lbptfZGfL85Mlf3GBzU9QRXKuS5qrKzoOhbH7fVZV599j/MtF3c241UrUbHMEnrfQAn43lV8gYhFgNp9+XwPI9PZrkmzcfjdC9tx7Wd1LGjH+yjzztfRLlhpMk= 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=HlHYYPYF; arc=none smtp.client-ip=209.85.221.49 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 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33ff53528ceso2448690f8f.0; Wed, 20 Mar 2024 01:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710924487; x=1711529287; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uXKsSVWCgYYsbuqtwTD65wtWe0vqcX1ynDfeFuCz4Wc=; b=HlHYYPYFye3hGnhD9buM6rfyJSW7LjLOEPWmdBenb+UhkUnWnE9bt8xHtbQvJsORiS HTk9wFBHFuGu6IuOrFJxNXcq4NAQJCzDG54/7Uy5sK0yGxvh6NRdFbr7tjzFS0LFOjLo R4Mh2uuZnnKYC42wlW2Ci+ID+tQ+ew3dgvsp2aVkZBpQIp3iPz21nm0pNR02CQidWgdd F+nRCidKGVMMbAEO/fX0KSXSs7s+6kMbpLe7SiwirAY1l9V6QTRc9uNlS2iQ10XcCT24 z4YJzZ3rtPsDmJd2xpsLOH02pZDl8W5ipzIKdyFTAohr/ssEvf5dzo/DBmA842iVi86B E/bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710924487; x=1711529287; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uXKsSVWCgYYsbuqtwTD65wtWe0vqcX1ynDfeFuCz4Wc=; b=PwUBIBHy+9yI9T/Ts26NPSSUH4gOX6dwmOMY5xvCFYNvP4C8dCccLALV6HQK7cBc5G qutJRjz2NHn1s8n/lZHSxGFa5TzUp8wmvLVjVHORG1c7Aq2vD4O5WXkANIuzuXgWfrC4 VcceJCgJc9wzAwg8M7phitCqT4qgAr+B49qTbtVhs1kbNb3m8u8kbBrDdu448BbIBoTS GsyJCA572NQnWQVHOb9EWSdHPwMpHKjDkuxIcIf1vDkR/lclki3SyV5ZUyL2mPRtk8V1 kDt2BIOgtegWpwVurYDH8PwTli/LrEBIYN6YxgdTPGW1A8qBlkIL6zUm1D0O6sK3KeW1 o6Sg== X-Forwarded-Encrypted: i=1; AJvYcCXeNovNnlwCgRHLnMUzVfyOCknYN1qeflItHW7Ox+oejFe48F0XKugX5iNlH+SBsa5LWi0IeKMPwxvflQ/Rpz6qdj5VVU+UrWlXW1rOki/J3tGNp67ez0wv9CVotw9OC0Cw X-Gm-Message-State: AOJu0YzTiXYVtYbKRtjUfnAQv244DDKHo45t8GjvuMCX00tn8o7qegL4 4VS6nDOwcgiM99j0cMCTagq4dC8V6OViIwtS4PhU4ezIycVX9zV/tcreEuAhzfnMyXWgWmcaIN5 BS5kkB9sX8EvyrBJ/LmYJJqk/3SA= X-Received: by 2002:a5d:51c3:0:b0:33e:c03e:62 with SMTP id n3-20020a5d51c3000000b0033ec03e0062mr11674306wrv.40.1710924486606; Wed, 20 Mar 2024 01:48:06 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <000000000000e40a2906072e9567@google.com> <596aad11-ee69-4ef1-b945-7b67a9fb22d7@I-love.SAKURA.ne.jp> In-Reply-To: From: Alexei Starovoitov Date: Wed, 20 Mar 2024 01:47:55 -0700 Message-ID: Subject: Re: [syzbot] [kernel?] possible deadlock in console_flush_all (2) To: Tetsuo Handa , John Fastabend Cc: syzbot , syzkaller-bugs , Alexei Starovoitov , Daniel Borkmann , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , Thomas Gleixner , LKML , bpf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 20, 2024 at 12:30=E2=80=AFAM Tetsuo Handa wrote: > > On 2024/03/20 16:12, Alexei Starovoitov wrote: > > On Wed, Mar 20, 2024 at 12:05=E2=80=AFAM Tetsuo Handa > > wrote: > >> > >> On 2024/03/20 15:56, Alexei Starovoitov wrote: > >>> This has nothing to do with bpf. > >>> bpf never calls printk(). > >> > >> Please see the Sample crash report in the dashboard. > >> bpf program is hitting printk() via report_bug(). > > > > Exactly. local_bh_neable is simply asking for a splat. > > _this_ bug is in printk. > > It's a generic issue. > > I can't catch. printk() is called due to report_bug(). > > If the reason report_bug() is called is that spin_unlock_bh() is bad, > this is a bug in sock_map_delete_elem() rather than a bug in printk(), is= n't it. There are two bugs. The one you've started the thread about is in printk. The sockmap bug that triggered report_bug() is separate. > > > > > sockmap bug is orthogonal. > > It's already being looked at. > > Then, can we expect that this bug is also fixed shortly? cc-ing John. I don't think it's hi-pri.