syzbot


WARNING in ovs_dp_reset_user_features

Status: fixed on 2023/02/24 13:50
Subsystems: openvswitch
[Documentation on labels]
Reported-by: syzbot+31cde0bef4bbf8ba2d86@syzkaller.appspotmail.com
Fix commit: fd954cc1919e openvswitch: switch from WARN to pr_warn
First crash: 738d, last: 718d
Cause bisection: introduced by (bisect log) :
commit 6b0afc0cc3e9a9a91f5a76d0965d449781441e18
Author: Alexander Aring <aahringo@redhat.com>
Date: Wed Jun 22 18:45:23 2022 +0000

  fs: dlm: don't use deprecated timeout features by default

Crash: WARNING in ovs_dp_reset_user_features (log)
Repro: C syz .config
  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in ovs_dp_cmd_new (2) openvswitch C error 83 712d 734d 0/28 closed as dup on 2022/10/13 08:02
Discussions (3)
Title Replies (including bot) Last reply
[PATCH v2 net 0/2] openvswitch: syzbot splat fix and introduce selftest 5 (5) 2022/10/27 10:50
[PATCH net 0/2] openvswitch: syzbot splat fix and introduce selftest 9 (9) 2022/10/25 12:15
[syzbot] WARNING in ovs_dp_reset_user_features 3 (4) 2022/10/17 17:15

Sample crash report:
------------[ cut here ]------------
Dropping previously announced user features
WARNING: CPU: 1 PID: 3608 at net/openvswitch/datapath.c:1619 ovs_dp_reset_user_features+0x1bc/0x240 net/openvswitch/datapath.c:1619
Modules linked in:
CPU: 1 PID: 3608 Comm: syz-executor162 Not tainted 6.0.0-syzkaller-07994-ge8bc52cb8df8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:ovs_dp_reset_user_features+0x1bc/0x240 net/openvswitch/datapath.c:1619
Code: 00 c7 03 00 00 00 00 eb 05 e8 d0 be 67 f7 5b 41 5c 41 5e 41 5f 5d c3 e8 c2 be 67 f7 48 c7 c7 00 92 e3 8b 31 c0 e8 74 7a 2f f7 <0f> 0b eb c7 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c f1 fe ff ff 4c 89
RSP: 0018:ffffc90003b8f370 EFLAGS: 00010246
RAX: e794c0e413340e00 RBX: ffff8880175cae68 RCX: ffff88801c069d80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffff816c58ad R09: ffffed1017364f13
R10: ffffed1017364f13 R11: 1ffff11017364f12 R12: dffffc0000000000
R13: ffff8880175ca450 R14: 1ffff11002eb95cd R15: ffffc90003b8f6b0
FS:  0000555557276300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000916 CR3: 000000001ed81000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ovs_dp_cmd_new+0x8f6/0xc80 net/openvswitch/datapath.c:1822
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:808 [inline]
 genl_rcv_msg+0x11ca/0x1670 net/netlink/genetlink.c:825
 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2540
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:836
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x597/0x8e0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x28e/0x390 net/socket.c:2565
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc51f29de89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd99ec6ed8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000000a2c4 RCX: 00007fc51f29de89
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd99ec7078 R09: 00007ffd99ec7078
R10: 00007ffd99ec6950 R11: 0000000000000246 R12: 00007ffd99ec6eec
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/08 17:51 upstream e8bc52cb8df8 aea5da89 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in ovs_dp_reset_user_features
2022/10/28 11:47 upstream b229b6ca5abb 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ovs_dp_reset_user_features
2022/10/08 17:40 upstream e8bc52cb8df8 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in ovs_dp_reset_user_features
* Struck through repros no longer work on HEAD.