syzbot


WARNING in ovs_dp_cmd_new

Status: auto-obsoleted due to no activity on 2022/09/10 20:39
Subsystems: openvswitch
[Documentation on labels]
Reported-by: syzbot+d35e01f2daf3cee35470@syzkaller.appspotmail.com
First crash: 1238d, last: 1238d
Cause bisection: introduced by (bisect log) :
commit 1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Mon Jul 6 10:55:37 2020 +0000

  thermal: core: genetlink support for events/cmd/sampling

Crash: WARNING in ovs_dp_cmd_new (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit 1395f8df87b0b897eb363625ddbc09891d2fba62
Author: Jakub Kicinski <kuba@kernel.org>
Date: Fri Nov 13 19:58:55 2020 +0000

  Merge tag 'mac80211-for-net-2020-11-13' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211

  
Discussions (1)
Title Replies (including bot) Last reply
WARNING in ovs_dp_cmd_new 0 (1) 2020/10/28 15:33
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ovs_dp_cmd_new (2) openvswitch C error 83 501d 523d 0/26 closed as dup on 2022/10/13 08:02
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/09/10 17:27 18m retest repro net-old OK log
2022/09/10 15:27 19m retest repro net-next-old OK log

Sample crash report:
netlink: 44 bytes leftover after parsing attributes in process `syz-executor059'.
------------[ cut here ]------------
Dropping previously announced user features
WARNING: CPU: 0 PID: 8505 at net/openvswitch/datapath.c:1587 ovs_dp_reset_user_features net/openvswitch/datapath.c:1587 [inline]
WARNING: CPU: 0 PID: 8505 at net/openvswitch/datapath.c:1587 ovs_dp_cmd_new+0xca7/0xec0 net/openvswitch/datapath.c:1725
Modules linked in:
CPU: 0 PID: 8505 Comm: syz-executor059 Not tainted 5.9.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ovs_dp_reset_user_features net/openvswitch/datapath.c:1587 [inline]
RIP: 0010:ovs_dp_cmd_new+0xca7/0xec0 net/openvswitch/datapath.c:1725
Code: 2a 0f b6 04 02 84 c0 74 04 3c 03 7e 21 c7 43 68 00 00 00 00 e9 17 fe ff ff e8 45 81 d6 f8 48 c7 c7 a0 fa 6a 8a e8 c9 ed 11 00 <0f> 0b eb be 4c 89 e7 e8 8d f6 17 f9 eb d5 e8 26 f6 17 f9 e9 3f ff
RSP: 0018:ffffc9000162f510 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880117e9e00 RCX: 0000000000000000
RDX: ffff888020009a40 RSI: ffffffff8158ce35 RDI: fffff520002c5e94
RBP: ffff88801c17e900 R08: 0000000000000001 R09: ffff8880b9e309e7
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880117e9e68
R13: 0000000000000006 R14: ffff888019c65ff8 R15: ffff888014389280
FS:  000000000143f880(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb141ef0ab4 CR3: 00000000207ed000 CR4: 00000000001506f0
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:2494
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:671
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4419b9
Code: e8 fc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 1b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffefb36afc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004419b9
RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000003
RBP: 0000000000012d77 R08: 00000000004002c8 R09: 00000000004002c8
R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402760
R13: 00000000004027f0 R14: 0000000000000000 R15: 0000000000000000

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/27 16:22 net-old e3364c5ff3ff 94942294 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/27 16:15 net-next-old 3cb12d27ff65 94942294 .config console log report syz C ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.