syzbot


WARNING in ethnl_default_doit

Status: fixed on 2021/11/10 00:50
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+59aa77b92d06cd5a54f2@syzkaller.appspotmail.com
Fix commit: e175aef90269 ethtool: strset: fix message length calculation
First crash: 1262d, last: 1250d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 5.10 000/146] 5.10.46-rc1 review 164 (164) 2021/06/27 08:57
[PATCH 5.12 000/178] 5.12.13-rc1 review 185 (185) 2021/06/23 15:12
[PATCH net] ethtool: strset: fix message length calculation 2 (2) 2021/06/14 19:20
[syzbot] WARNING in ethnl_default_doit 0 (1) 2021/06/11 22:24

Sample crash report:
WARNING: CPU: 1 PID: 12530 at net/ethtool/netlink.c:360 ethnl_default_doit+0x910/0xb20 net/ethtool/netlink.c:360
Modules linked in:
CPU: 1 PID: 12530 Comm: syz-executor.5 Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ethnl_default_doit+0x910/0xb20 net/ethtool/netlink.c:360
Code: ed fb ff ff 89 4c 24 1c e8 ad 40 2b fa 8b 4c 24 1c 44 89 e2 44 89 fe 48 c7 c7 20 8d 6e 8a c6 05 aa a7 6b 06 01 e8 d3 93 8d 01 <0f> 0b e9 c0 fb ff ff e8 84 40 2b fa be 04 00 00 00 4c 89 ff e8 a7
RSP: 0018:ffffc9000c217570 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff8a6ea500 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815ce355 RDI: fffff52001842ea0
RBP: ffffc9000c217678 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c81be R11: 0000000000000000 R12: 0000000000002378
R13: ffff8881466e5a00 R14: ffff888030d03000 R15: 0000000000000001
FS:  00007f5e9c279700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000568000 CR3: 000000007274a000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433
 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5e9c279188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffff9fa321f R14: 00007f5e9c279300 R15: 0000000000022000

Crashes (202):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/19 16:06 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 15:33 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 14:03 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 12:17 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 11:12 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 10:11 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 10:00 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 08:28 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 07:13 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 05:04 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 05:00 net-next-old 4bea7207a80c aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 02:02 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/19 01:01 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 22:39 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 17:53 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 16:35 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 16:15 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 13:34 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 13:34 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 13:34 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 13:34 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 12:16 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 11:00 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 09:26 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 09:16 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 07:47 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 06:30 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 06:29 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 04:53 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 01:42 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/18 00:01 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 22:48 net-next-old 01f1b6ed2b84 aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 19:36 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 18:26 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 16:50 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 14:36 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 12:47 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 11:03 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 09:25 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 09:08 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 08:07 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/17 05:20 net-next-old 0c33795231bf aba2b2fb .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
2021/06/07 22:18 net-next-old 1a42624aecba e59537be .config console log report info ci-upstream-net-kasan-gce WARNING in ethnl_default_doit
* Struck through repros no longer work on HEAD.