This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Sun Apr 28 06:24:09 2024 >From mailfetcher Tue Aug 4 17:46:45 2020 Envelope-to: lkml@grols.ch Delivery-date: Tue, 04 Aug 2020 17:46:31 +0200 Received: from stout.grols.ch [195.201.141.146] by 72459556e3a9 with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 04 Aug 2020 17:46:45 +0200 (CEST) Received: from vger.kernel.org ([23.128.96.18]) by stout.grols.ch with esmtp (Exim 4.89) (envelope-from ) id 1k2z95-0007Eo-E0 for lkml@grols.ch; Tue, 04 Aug 2020 17:46:31 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728739AbgHDPp3 convert rfc822-to-8bit (ORCPT ); Tue, 4 Aug 2020 11:45:29 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]:47367 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728256AbgHDPpU (ORCPT ); Tue, 4 Aug 2020 11:45 Received: by mail-io1-f69.google.com with SMTP id 18so6617590ioo.14 for ; Tue, 04 Aug 2020 08:45:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=n5bm4gcX2kNCxzaBvmn7KzMz6UUigjSuxKBSRxaemkE=; b=Q+6xYNAZ1E X-Gm-Message-State: AOAM531XCNkc1DRivVnmB6kevBGmhhWbaOSP57Zvj5c15b7MBMj8Ah/y qdN955+L8W3uaW+yuZN136j50eINo9DsWZxO3NABjzyrDJ6S X-Google-Smtp-Source: ABdhPJy1cdxDpzvGfhVRtIMEDpdmgz7EcWhpOxoFCyylPH/oZnvCcOULqX7nonn4KKETfmaZXzi8gArn4/Ej0i6QWjQCG8UqLsb6 Mime-Version: 1.0 X-Received: by 2002:a02:3e11:: with SMTP id s17mr6398336jas.67.1596555919196; Tue, 04 Aug 2020 08:45:19 -0700 (PDT) Date: Tue, 04 Aug 2020 08:45:19 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-Id: <0000000000006d871805ac0f2416@google.com> Subject: WARNING: suspicious RCU usage in ovs_flow_tbl_masks_cache_size From: syzbot To: davem@davemloft.net, dev@openvswitch.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pshelar@ovn.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org Received-SPF: pass client-ip=23.128.96.18; envelope-from=linux-kernel-owner@vger.kernel.org; helo=vger.kernel.org X-Spam-Score: 0.7 X-Spam-Score-Bar: / X-Spam-Action: no action X-Spam-Report: Action: no action Symbol: ARC_NA(0.00) Symbol: CTE_CASE(0.50) Symbol: DMARC_POLICY_SOFTFAIL(0.10) Symbol: BAYES_HAM(-2.99) Symbol: FROM_HAS_DN(0.00) Symbol: R_SPF_ALLOW(-0.20) Symbol: PRECEDENCE_BULK(0.00) Symbol: MIME_GOOD(-0.10) Symbol: PREVIOUSLY_DELI Hello, syzbot found the following issue on: HEAD commit: 2f631133 net: Pass NULL to skb_network_protocol() when we .. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12c1f770900000 kernel config: https://syzkaller.appspot.com/x/.config?x=91a13b78c7dc258d dashboard link: https://syzkaller.appspot.com/bug?extid=f612c02823acb02ff9bc compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10e8430a900000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=123549fc900000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+f612c02823acb02ff9bc@syzkaller.appspotmail.com netlink: 'syz-executor210': attribute type 2 has an invalid length. device  entered promiscuous mode ============================= WARNING: suspicious RCU usage 5.8.0-rc7-syzkaller #0 Not tainted ----------------------------- net/openvswitch/flow_table.c:940 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 2 locks held by syz-executor210/6812: #0: ffffffff8a8319b0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:741 #1: ffffffff8aa786a8 (ovs_mutex){+.+.}-{3:3}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #1: ffffffff8aa786a8 (ovs_mutex){+.+.}-{3:3}, at: ovs_dp_cmd_new+0x4db/0xea0 net/openvswitch/datapath.c:1707 stack backtrace: CPU: 0 PID: 6812 Comm: syz-executor210 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 ovs_flow_tbl_masks_cache_size+0xc3/0xe0 net/openvswitch/flow_table.c:940 ovs_dp_cmd_fill_info+0x4e4/0x880 net/openvswitch/datapath.c:1539 ovs_dp_cmd_new+0x584/0xea0 net/openvswitch/datapath.c:1728 genl_family_rcv_msg_doit net/netlink/genetlink.c:669 [inline] genl_family_rcv_msg net/netlink/genetlink.c:714 [inline] genl_rcv_msg+0x61d/0x980 net/netlink/genetlink.c:731 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2470 genl_rcv+0x24/0x40 net/netlink/genetlink.c:742 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:2359 ___sys_sendmsg+0xf3/0x170 net/socket.c:2413 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2446 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4402d9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd71bb22a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004402d9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches