Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2025768lqb; Mon, 27 May 2024 05:43:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+RU+AJpGDXmT38sgvtFBalzpyuEIV6cwUVbcDzadU542NLdrdATmEXenGmeVjbMd5jiZE8UWg1mjeJKk/0TrKZYKulyd/ddB+OtwQuA== X-Google-Smtp-Source: AGHT+IEuTWgUMN+zfQWIQGGpuBvFcl9C3T/mW6P+BbGMm7LEriAnqAlgV50T6qoo/Wi0A3RjKjjb X-Received: by 2002:a05:620a:2017:b0:792:93cb:7649 with SMTP id af79cd13be357-794ab1360admr938941985a.68.1716813827891; Mon, 27 May 2024 05:43:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716813827; cv=pass; d=google.com; s=arc-20160816; b=YnAoQdaLRdK2qLiqlarbeM5sft/MHGmK3uybIpHbLDQoTIyPSD6foYUmN9fCOiJM6L Oa/zxNsmxht+Tv8gvm1nXAgZAmzt7V5yrer48mCTMM4eotNr+mPfsU2Oj4bc2s4HIiu7 gsvZ4oVc7FLJT0jTl6fXozv/ylxn8kjR+SO1lmKoL2Dh0NLwzD8GortifWlOV9YCnGvP ilRAG/f2pvV3ki6EmFFYwMR8EBOFNJOq1UQsEb1AuS4GonwvUgFXZS3zeFSAA06TZU4q LseqP8diyxit3vdI/fGDYsqy+tyrYMhIbu76trNPS9eMsLUpEfLmvIuCQkSpNN0xyfzY WHfg== 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=BgHICrW8H36yADDONLig5wQiPl+U53+tEdRQsnHwDxY=; fh=iFJYM7JTCyCVvf3EilbGZ5Mv1tXh/mvu8R/R6t8197g=; b=rZ6vVbvH0p3HoYT+uidl3iGBygMiKLw1ECBGl7jUq5ccetX+eKI6u/FkrFa3/3HMUc ZCmgnGX1B6hO2H2Q2J2xu9ggfI/iwbnhBlJ0fvc34mx3LIFuIHRuYGYSEVeUnP3SUZwD WmAuXEfwStA+urOs9T7gxGBwBal4NeSYsuhKrKqSpuYRbVvTS2cc5VEOykJe2zRKmSFh xBs2xmNwyivRIKAoyV6LHFN16lQTYEvNfhalDYFWTJdrf54o+ODb9FaLWI3emgyXZfVd qhB1BFj4FcVkdmVKK2yKFN6hzq47As805Wo01vAMAmJe1J8+wyNJ3gK+zqoh8S4RlD3o fcVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1s8507Ul; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-190599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd142d7si780422585a.367.2024.05.27.05.43.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:43:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1s8507Ul; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-190599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D97B1C21F28 for ; Mon, 27 May 2024 12:43:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7271415E5CB; Mon, 27 May 2024 12:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="1s8507Ul" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 8C92015D5D8 for ; Mon, 27 May 2024 12:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716813818; cv=none; b=pqIbTADbNnrgnl8zmXVJHt/uJ1qTg0bYGBPd/duh2/AlHOT1rC7Iai4aNaoM8tEERkYaWMoFR4kd0m1XPOXpPdobmCYraxPu0yHM1r1O5VVFRx9Sn0ZFG2nktvJB+gEReZZ+hjwovGOfKoc64OpWow4oZVvitPY2IXqFOxXdryY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716813818; c=relaxed/simple; bh=Ulfeerdb21jITgb8EYAh4UMaShwo9875mR8iMrWu21U=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=SJe9d8yY6kWpz+oh8bRDSZXLXDrEt13TafxLhdslVsvvxwSkPzuz818AWbvFBvAGc0EeXtHQlfFfNuGwNAsRLTMB+EryBtVTL2AtJsfwxdDLoMsnzHYT9m992p2bgBR3GNBhoFjxZ/2471IA34pSvKawDRGcPDC2F/cApA9+0J0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=1s8507Ul; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-579ce5fbeb6so8203a12.1 for ; Mon, 27 May 2024 05:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716813815; x=1717418615; 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=BgHICrW8H36yADDONLig5wQiPl+U53+tEdRQsnHwDxY=; b=1s8507UlPNkn4hNI+qXa/FXNpx2HSKzAg043CoZESjfsHIGwJwbeVhwdM8MrBX0uEF x4yoKslJB3X7+zZmV1nhz1nJpyOfAik7HTzDNrB+0orFcPhceH/p0D428M7L8FSihGTa TgBbOfb41gAbkVuEoWm8vRbbW0NyI2il+PJF1azMqC1SJ062dRL+l+xLUzG1J8tmLVbV B5hJU3hxoNLR8WdsQmAPSkRRjXRq/lvUs4MFYeHotzdNP9HQz7p7/bfIwJGjyVL+d4xj 4L+3XnNL/1bfbWjFyDJF86xjNUkbud4wSk793DZmpjgnHKITWYAMiTFki9WYpIRcooEO HnFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716813815; x=1717418615; 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=BgHICrW8H36yADDONLig5wQiPl+U53+tEdRQsnHwDxY=; b=IFSYBpD2vg/pCJrEL45Fl7zM+kRJNSwx/s4c0XAGBSuATYQs4k/6YEOacvLL3YLAzj xT1+ndIENFVKx+6YGlzAIjLiknK3BJTZ3mM0yA5SDuYUmNmXuJyFUQKI+WSqNyMUSYXf 4SDhWuGh80YT2m3LQIWYP5i1SopQ2ZIz7ThuQ74DWo55lmiMi6aup+8haARlmOyr+GMU OHeIynT8ulDk1E6HjtLMmac7NdNXyLzvujG6W9Ft06ENnG4XJmZwIT+V5gxj7uH9Hftk ZUop8jjqz4ewmD9tN3iRNIBo6Iq79Tf3w8qfCs+PNYpDQetGO2CfJixgvNbBZrs/WvB0 F58Q== X-Forwarded-Encrypted: i=1; AJvYcCXQyFarhOeAUpHcLz9vJ7BTpT4oJ09finDuYscN2zowbH2PLnTtOuwp7Kw8W/vFjigz6QNjl/FXHmkDJrMPDOajWi+TjKKj237r5bS0 X-Gm-Message-State: AOJu0Yzv7jD5Os/vGqS15XR7vvuPFAZw0j8nTzDHz/Kt7tRp2ZsrkfVj YJUOeHZR+NG8Ek44XqdRQf2UrqvPCtyVtNdTLPox3yn1K4UyX3m73vT+1MUhGkpx14ZvcpwOmBQ 5nlkPLY55Cesl8wxQWqSc6auSsdv4T0A0SO/U X-Received: by 2002:a05:6402:5243:b0:574:ea5c:fa24 with SMTP id 4fb4d7f45d1cf-57869bac296mr285751a12.3.1716813814593; Mon, 27 May 2024 05:43:34 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <0000000000007d66bc06196e7c66@google.com> In-Reply-To: <0000000000007d66bc06196e7c66@google.com> From: Eric Dumazet Date: Mon, 27 May 2024 14:43:19 +0200 Message-ID: Subject: Re: [syzbot] [net?] INFO: rcu detected stall in packet_release To: syzbot Cc: davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com, willemdebruijn.kernel@gmail.com, Vladimir Oltean , Vinicius Costa Gomes Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 2:16=E2=80=AFPM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 3ab5720881a9 net: phy: at803x: replace msleep(1) with usl= e.. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=3D16ac8a6ee8000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3D8f565e10f0b1e= 1fc > dashboard link: https://syzkaller.appspot.com/bug?extid=3Da7d2b1d5d1af830= 35567 > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for D= ebian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D1086b376e80= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D16760ccee8000= 0 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/ab97503560c5/dis= k-3ab57208.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/ca56b0dccaf8/vmlinu= x-3ab57208.xz > kernel image: https://storage.googleapis.com/syzbot-assets/03161a7d4885/b= zImage-3ab57208.xz > > IMPORTANT: if you fix the issue, please add the following tag to the comm= it: > Reported-by: syzbot+a7d2b1d5d1af83035567@syzkaller.appspotmail.com > > rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: > rcu: 0-...0: (1 GPs behind) idle=3D38bc/1/0x4000000000000000 softirq= =3D6131/6133 fqs=3D5249 > rcu: hardirqs softirqs csw/system > rcu: number: 0 0 0 > rcu: cputime: 0 0 0 =3D=3D> 52510(ms) > rcu: (detected by 1, t=3D10502 jiffies, g=3D7301, q=3D303 ncpus=3D2) > Sending NMI from CPU 1 to CPUs 0: > NMI backtrace for cpu 0 > CPU: 0 PID: 5101 Comm: syz-executor577 Not tainted 6.7.0-rc5-syzkaller-01= 533-g3ab5720881a9 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS G= oogle 11/17/2023 > RIP: 0010:arch_atomic64_read arch/x86/include/asm/atomic64_64.h:15 [inlin= e] > RIP: 0010:raw_atomic64_read include/linux/atomic/atomic-arch-fallback.h:2= 569 [inline] > RIP: 0010:atomic64_read include/linux/atomic/atomic-instrumented.h:1597 [= inline] > RIP: 0010:taprio_set_budgets+0x144/0x310 net/sched/sch_taprio.c:681 > Code: e8 03 48 89 44 24 28 e9 c1 00 00 00 e8 25 f6 e4 f8 48 8b 7c 24 20 b= e 08 00 00 00 e8 06 f7 3b f9 48 8b 44 24 28 42 80 3c 38 00 <0f> 85 6a 01 00= 00 4c 63 64 24 08 48 8b 44 24 18 49 83 fc 0f 4c 8b > RSP: 0018:ffffc90000007d20 EFLAGS: 00000046 > RAX: 1ffff110035e3e5c RBX: ffff8880152ecc84 RCX: ffffffff88a2a78a > RDX: ffffed10035e3e5d RSI: 0000000000000008 RDI: ffff88801af1f2e0 > RBP: 0000000000000001 R08: 0000000000000000 R09: ffffed10035e3e5c > R10: ffff88801af1f2e7 R11: 0000000000000002 R12: 0000000004000000 > R13: ffff8880152ecc08 R14: 0000000000000008 R15: dffffc0000000000 > FS: 0000555556770380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 0000000020000600 CR3: 0000000072c1b000 CR4: 00000000003506f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > > > advance_sched+0x5e1/0xc60 net/sched/sch_taprio.c:988 > __run_hrtimer kernel/time/hrtimer.c:1688 [inline] > __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752 > hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 > local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] > __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:10= 82 > sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 > > > asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.= h:649 > RIP: 0010:queue_work_on+0x92/0x110 kernel/workqueue.c:1836 > Code: ff 48 89 ee e8 9f c4 31 00 48 85 ed 75 3b e8 05 c9 31 00 9c 5b 81 e= 3 00 02 00 00 31 ff 48 89 de e8 83 c4 31 00 48 85 db 75 66 e9 c8 31 00= 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 d6 c8 > RSP: 0018:ffffc9000430f9d8 EFLAGS: 00000293 > RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8155d4ed > RDX: ffff888072d5d940 RSI: ffffffff8155d4f7 RDI: 0000000000000007 > RBP: 0000000000000200 R08: 0000000000000007 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008 > R13: 0000000000000001 R14: ffff888013072800 R15: ffff888076207200 > queue_work include/linux/workqueue.h:562 [inline] > synchronize_rcu_expedited_queue_work kernel/rcu/tree_exp.h:519 [inline] > synchronize_rcu_expedited+0x5a2/0x800 kernel/rcu/tree_exp.h:1006 > synchronize_rcu+0x2f5/0x3b0 kernel/rcu/tree.c:3568 > synchronize_net+0x4e/0x60 net/core/dev.c:10989 > packet_release+0xb2c/0xdd0 net/packet/af_packet.c:3167 > __sock_release+0xae/0x260 net/socket.c:659 > sock_close+0x1c/0x20 net/socket.c:1419 > __fput+0x270/0xbb0 fs/file_table.c:394 > __fput_sync+0x47/0x50 fs/file_table.c:475 > __do_sys_close fs/open.c:1590 [inline] > __se_sys_close fs/open.c:1575 [inline] > __x64_sys_close+0x87/0xf0 fs/open.c:1575 > do_syscall_x64 arch/x86/entry/common.c:52 [inline] > do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 > entry_SYSCALL_64_after_hwframe+0x63/0x6b > RIP: 0033:0x7fd03423c0c0 > Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 0= 0 00 66 90 80 3d e1 df 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff= ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c > RSP: 002b:00007ffc9b2872b8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 > RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fd03423c0c0 > RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000003 > RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 > R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc9b287310 > R13: 0000000000030165 R14: 00007ffc9b2872dc R15: 0000000000000003 > > INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.242= msecs > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > If the report is already addressed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > If you want to overwrite report's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the report is a duplicate of another one, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup This is another manifestation of a long standing taprio bug.