From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f206.google.com (mail-il1-f206.google.com [209.85.166.206]) (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 2E5361E231E for ; Tue, 22 Apr 2025 10:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745316696; cv=none; b=Vvn+yWovecSyHlnRGIfVckkY8lOvQUyPPdrpVwMZHS03JeRF6iS1PpicES7rv8Vyy9/v16e+ir7SBW0BteKJ3mg/ryQ3USQymaEswJha6UVwkAw3sQdWjd3VrFYuXFWd62r85mWePpOrjDLoT91OUwK5xfcBzcxor0Z2CxwFQlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745316696; c=relaxed/simple; bh=WaKKNEuKDPmZOzv6aZI1owMr7y/Dfzsic8d9h2X33M0=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=LoZv6rukJljQ/2Ws/KkiWNg7hDoUbAZFLXtBUpC8jtkvd53UlfTMZTcaaqK0HZ7x7d15reMSwzV6k9m/KAuIMY412TN4iAnp5C+Z0nSIeXO4J/lYhTCMmjzUD2+R9EkdYeNoUMKcEeh8+p0JWBYJwM+e3JTe/nlnfeYDMeJ638A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.206 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f206.google.com with SMTP id e9e14a558f8ab-3d81b9bb1b3so46594875ab.1 for ; Tue, 22 Apr 2025 03:11:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745316693; x=1745921493; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5aTGGX+NXErHRqVcGZvVAq3Xt0wsmBKBdz9lxioJNqw=; b=Dyse6VngEMhhzNzF8RONmftGX2VlTDIRM66BF/GNWG69WvE65p9Nu/8/WKuctgMYA1 fcIFKB170fthCmPmB9WvWBdLA+tjXuZyCoEsepdWx2dDYA6LYoF6XstaiXp0guoF2yBh cey9zI+Q1olZe6clRWw0VfuRKc7h1j8R5mXPsQBnMV4zngSwMzbuBGkyVnVJXmGCPxhE FBYOo1LhbnTQXo8P5j/F9Mmo9o8h7PmspeVKMZb71MxpddtBDuqin+Y7fOF03c9ErCwK foSlm3WyVQ7+bm+IGvU6rcEyk6NG1c4DvM5brzqnrteaegtwr/ML46JS6JGEIlwiJ9Oz lhDA== X-Forwarded-Encrypted: i=1; AJvYcCXUJMUYk/zo+zOadZU9NaKZSJF8INqW0rkSeDhGHOiOqU9c2HUWwn5Qe3vJnJG2Xy5+G83CItDE0sf+zSE=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6C28BCvTBBO8TGDpnz2vrMq39arfSMVE421Jw31IE6bYCouaj /+1ZLYYHslHcToxiLnWkHWmGMs+DG2G1hgQMwuLrG8xnKfHHn4dd8tVwMYuMuAg3WbZ6i0PpDaN gwemAAzzm58/BEXzaqPfkxjQCqPmwqJga1Xvc4qSEZTwARTT0A9Aq3n4= X-Google-Smtp-Source: AGHT+IEkm/2I2kcO4o+iOW299zCLJ2uC4HY4zRS+je2FQfOcO5b6H8rAl6Q5PuNVUF6Kz8E4Y97HOY3AZ2TTv/CZDEcgn/5VaP0f Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1522:b0:3d6:d18b:868c with SMTP id e9e14a558f8ab-3d88eda86f8mr115750605ab.10.1745316693258; Tue, 22 Apr 2025 03:11:33 -0700 (PDT) Date: Tue, 22 Apr 2025 03:11:33 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <68076b55.050a0220.8500a.0003.GAE@google.com> Subject: [syzbot] [kernel?] BUG: soft lockup in garp_join_timer (3) From: syzbot To: Jason@zx2c4.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: a27a97f71394 Merge branch 'bpf-support-atomic-update-for-h.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=12b9e0cc580000 kernel config: https://syzkaller.appspot.com/x/.config?x=f2054704dd53fb80 dashboard link: https://syzkaller.appspot.com/bug?extid=7abdcd4c733ccab0d31a compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/32a35fb59089/disk-a27a97f7.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/618c1dff8a1c/vmlinux-a27a97f7.xz kernel image: https://storage.googleapis.com/syzbot-assets/41554819c2b9/bzImage-a27a97f7.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+7abdcd4c733ccab0d31a@syzkaller.appspotmail.com watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz.3.67:6175] Modules linked in: irq event stamp: 24646117 hardirqs last enabled at (24646116): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (24646117): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (23795144): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last enabled at (23795144): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last enabled at (23795144): [] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680 softirqs last disabled at (23795147): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last disabled at (23795147): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last disabled at (23795147): [] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680 CPU: 0 UID: 0 PID: 6175 Comm: syz.3.67 Not tainted 6.14.0-syzkaller-ga27a97f71394 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:get_random_u32+0x56a/0xab0 arch/x86/include/asm/irqflags.h:-1 Code: 00 00 e8 d9 d8 28 fc 49 c7 c6 20 90 68 93 48 8b 5c 24 20 4d 85 ff 75 07 e8 c3 d8 28 fc eb 06 e8 bc d8 28 fc fb 48 8b 44 24 28 <42> 0f b6 04 28 84 c0 0f 85 92 01 00 00 8b 84 24 00 01 00 00 48 c7 RSP: 0018:ffffc900000079a0 EFLAGS: 00000246 RAX: 1ffff92000000f54 RBX: 1ffff92000000f3c RCX: ffff88802a5f1e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007b20 R08: ffffffff859a7e99 R09: 1ffffffff20bf9ee R10: dffffc0000000000 R11: fffffbfff20bf9ef R12: 1ffff110170c6bd5 R13: dffffc0000000000 R14: ffffffff93689020 R15: 0000000000000200 FS: 00007f88c01f66c0(0000) GS:ffff888124f97000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000297de000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __get_random_u32_below+0x14/0x90 drivers/char/random.c:567 get_random_u32_below include/linux/random.h:63 [inline] garp_join_timer_arm net/802/garp.c:411 [inline] garp_join_timer+0xd5/0x120 net/802/garp.c:425 call_timer_fn+0x189/0x650 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x66e/0x8e0 kernel/time/timer.c:2426 run_timer_base kernel/time/timer.c:2435 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:rcu_read_unlock_special+0x8a/0x570 kernel/rcu/tree_plugin.h:694 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d 3f 0c bf 11 41 f7 c7 00 00 f0 00 74 44 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22 RSP: 0018:ffffc9000b4af420 EFLAGS: 00000206 RAX: 15e49cbcfd192300 RBX: 1ffff92001695e8c RCX: ffffffff93689020 RDX: dffffc0000000000 RSI: ffffffff8e69b349 RDI: ffffffff8ca1b0e0 RBP: ffffc9000b4af4f8 R08: ffffffff905fcf77 R09: 1ffffffff20bf9ee R10: dffffc0000000000 R11: fffffbfff20bf9ef R12: 1ffff92001695e88 R13: ffff88802a5f2260 R14: ffffc9000b4af460 R15: 0000000000000000 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:438 rcu_read_unlock include/linux/rcupdate.h:873 [inline] d_alloc_parallel+0x134c/0x1660 fs/dcache.c:2614 __lookup_slow+0x127/0x400 fs/namei.c:1792 lookup_slow+0x53/0x70 fs/namei.c:1824 walk_component fs/namei.c:2128 [inline] link_path_walk+0x969/0xeb0 fs/namei.c:2493 path_openat+0x26d/0x35d0 fs/namei.c:4000 do_filp_open+0x284/0x4e0 fs/namei.c:4031 do_sys_openat2+0x12b/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x249/0x2a0 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f88c238cad0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 49 94 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 9c 94 02 00 8b 44 RSP: 002b:00007f88c01f5f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f88c238cad0 RDX: 0000000000000002 RSI: 00007f88c01f5fa0 RDI: 00000000ffffff9c RBP: 00007f88c01f5fa0 R08: 0000000000000000 R09: 00007f88c01f5cd6 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f88c25b6080 R15: 00007fffa89738a8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6198 Comm: kworker/u8:9 Not tainted 6.14.0-syzkaller-ga27a97f71394 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 c8 e2 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 78 de 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc9000be67640 EFLAGS: 00000293 RAX: ffffffff81b7792d RBX: 1ffff110170c823d RCX: ffff888078c83c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000be67840 R08: ffffffff81b778f8 R09: 1ffffffff20bf9ee R10: dffffc0000000000 R11: fffffbfff20bf9ef R12: ffff8880b873ad08 R13: ffff8880b86411e8 R14: ffff8880b873ad00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125097000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0290db6038 CR3: 000000000eb38000 CR4: 00000000003526f0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2455 [inline] text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 --- 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 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