syzbot


linux-next test error: WARNING in __napi_schedule

Status: fixed on 2023/02/24 13:50
Subsystems: wireguard
[Documentation on labels]
Reported-by: syzbot+6f21ac9e27fca7e97623@syzkaller.appspotmail.com
Fix commit: 351bdbb6419c net: Revert the softirq will run annotation in ____napi_schedule().
First crash: 968d, last: 966d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] linux-next test error: WARNING in __napi_schedule 1 (2) 2022/03/21 19:08

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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/18 08:56 linux-next 6d72dda014a4 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 15:56 linux-next 97add482e903 e2d91b1d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/17 09:12 linux-next 97add482e903 dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 16:02 linux-next 8a11187eb62b dfa9a8ed .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
2022/03/16 11:11 linux-next 8a11187eb62b 9e8eaa75 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next test error: WARNING in __napi_schedule
* Struck through repros no longer work on HEAD.