Development discussion of WireGuard
 help / color / mirror / Atom feed
* [syzbot] linux-next test error: WARNING in __napi_schedule
@ 2022-03-19  8:16 syzbot
  2022-03-21 19:08 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2022-03-19  8:16 UTC (permalink / raw)
  To: Jason, davem, kuba, linux-kernel, linux-next, netdev, pabeni,
	sfr, syzkaller-bugs, wireguard

Hello,

syzbot found the following issue on:

HEAD commit:    6d72dda014a4 Add linux-next specific files for 20220318
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=124f5589700000
kernel config:  https://syzkaller.appspot.com/x/.config?x=5907d82c35688f04
dashboard link: https://syzkaller.appspot.com/bug?extid=6f21ac9e27fca7e97623
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6f21ac9e27fca7e97623@syzkaller.appspotmail.com

------------[ 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>


---
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [syzbot] linux-next test error: WARNING in __napi_schedule
  2022-03-19  8:16 [syzbot] linux-next test error: WARNING in __napi_schedule syzbot
@ 2022-03-21 19:08 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2022-03-21 19:08 UTC (permalink / raw)
  To: syzbot
  Cc: Jason, davem, linux-kernel, linux-next, netdev, pabeni, sfr,
	syzkaller-bugs, wireguard

On Sat, 19 Mar 2022 01:16:24 -0700 syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    6d72dda014a4 Add linux-next specific files for 20220318
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=124f5589700000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=5907d82c35688f04
> dashboard link: https://syzkaller.appspot.com/bug?extid=6f21ac9e27fca7e97623
> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

#syz fix: net: Revert the softirq will run annotation in ____napi_schedule().

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-21 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-19  8:16 [syzbot] linux-next test error: WARNING in __napi_schedule syzbot
2022-03-21 19:08 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).