syzbot


linux-next test error: WARNING in __napi_schedule

Status: upstream: reported on 2022/03/19 08:16
Reported-by: syzbot+6f21ac9e27fca7e97623@syzkaller.appspotmail.com
Fix commit: 351bdbb6419c net: Revert the softirq will run annotation in ____napi_schedule().
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 104d, last: 102d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3612 at net/core/dev.c:4268 ____napi_schedule net/core/dev.c:4268 [inline]
WARNING: CPU: 0 PID: 3612 at net/core/dev.c:4268 __napi_schedule+0xe2/0x440 net/core/dev.c:5878
Modules linked in:
CPU: 0 PID: 3612 Comm: kworker/0:5 Not tainted 5.17.0-rc8-next-20220318-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-crypt-wg0 wg_packet_decrypt_worker
RIP: 0010:____napi_schedule net/core/dev.c:4268 [inline]
RIP: 0010:__napi_schedule+0xe2/0x440 net/core/dev.c:5878
Code: 74 4a e8 11 61 3c fa 31 ff 65 44 8b 25 d7 27 c6 78 41 81 e4 00 ff 0f 00 44 89 e6 e8 18 63 3c fa 45 85 e4 75 07 e8 ee 60 3c fa <0f> 0b e8 e7 60 3c fa 65 44 8b 25 f7 31 c6 78 31 ff 44 89 e6 e8 f5
RSP: 0018:ffffc9000408fc78 EFLAGS: 00010093
RAX: 0000000000000000 RBX: ffff88807fa90748 RCX: 0000000000000000
RDX: ffff888019800000 RSI: ffffffff873c4802 RDI: 0000000000000003
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff873c47f8 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880b9c00000 R14: 000000000003b100 R15: ffff88801cf90ec0
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f998512c300 CR3: 00000000707f2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 napi_schedule include/linux/netdevice.h:465 [inline]
 wg_queue_enqueue_per_peer_rx drivers/net/wireguard/queueing.h:204 [inline]
 wg_packet_decrypt_worker+0x408/0x5d0 drivers/net/wireguard/receive.c:510
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config log report linux-next test error: WARNING in __napi_schedule
ci-upstream-linux-next-kasan-gce-root 2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config log report linux-next test error: WARNING in __napi_schedule