syzbot


BUG: spinlock recursion in dev_mc_sync

Status: upstream: reported C repro on 2020/02/13 11:26
Reported-by: syzbot+28e8c31710be09264aa9@syzkaller.appspotmail.com
First crash: 1765d, last: 648d

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready
batman_adv: batadv0: Interface activated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
BUG: spinlock recursion on CPU#1, syz-executor327/7964
 lock: 0xffff8880a6fedb78, .magic: dead4ead, .owner: syz-executor327/7964, .owner_cpu: 1
CPU: 1 PID: 7964 Comm: syz-executor327 Not tainted 4.14.303-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 debug_spin_lock_before kernel/locking/spinlock_debug.c:84 [inline]
 do_raw_spin_lock+0x1a2/0x200 kernel/locking/spinlock_debug.c:112
 netif_addr_lock_nested include/linux/netdevice.h:3714 [inline]
 dev_mc_sync+0x10b/0x1c0 net/core/dev_addr_lists.c:765
 vlan_dev_set_rx_mode+0x38/0x80 net/8021q/vlan_dev.c:486
 __dev_set_rx_mode+0x191/0x2a0 net/core/dev.c:6724
 dev_uc_unsync net/core/dev_addr_lists.c:600 [inline]
 dev_uc_unsync+0x16c/0x1c0 net/core/dev_addr_lists.c:592
 bond_hw_addr_flush drivers/net/bonding/bond_main.c:559 [inline]
 bond_enslave+0x1d35/0x4cf0 drivers/net/bonding/bond_main.c:1805
 do_set_master+0x19e/0x200 net/core/rtnetlink.c:1961
 rtnl_newlink+0x1356/0x1830 net/core/rtnetlink.c:2759
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454
 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322
 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fbbccf08709
RSP: 002b:00007ffc2d380d18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffc2d380d28 RCX: 00007fbbccf08709
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc2d380d30
R13: 00007ffc2d380d50 R14: 0000000000000000 R15: 0000000000000000

Crashes (7087):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/23 06:20 linux-4.14.y 97205fccccdc cc0f9968 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2022/10/14 07:51 linux-4.14.y 9d5c0b3a8e1a 4954e4b2 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2022/08/18 02:02 linux-4.14.y b641242202ed a9409d47 .config console log report syz C ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2022/05/09 16:37 linux-4.14.y e3a56aaade89 8b277b8e .config console log report syz C ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2021/09/19 00:57 linux-4.14.y f96eb53cbd76 70b76c1d .config console log report syz C ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2020/11/30 19:40 linux-4.14.y 87335852c5d9 76831598 .config console log report syz C ci2-linux-4-14
2020/11/28 08:56 linux-4.14.y 87335852c5d9 486f93ef .config console log report syz C ci2-linux-4-14
2020/09/06 00:24 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report syz C ci2-linux-4-14
2020/09/03 22:20 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report syz C ci2-linux-4-14
2020/08/22 10:42 linux-4.14.y 6a24ca2506d6 6436ce4b .config console log report syz C ci2-linux-4-14
2020/08/21 04:48 linux-4.14.y 14b58326976d 70160577 .config console log report syz C ci2-linux-4-14
2020/08/20 16:55 linux-4.14.y 14b58326976d ed282a3a .config console log report syz C ci2-linux-4-14
2020/08/19 12:13 linux-4.14.y 14b58326976d e1c29030 .config console log report syz C ci2-linux-4-14
2020/08/12 21:16 linux-4.14.y 14b58326976d 0d7bd2e0 .config console log report syz C ci2-linux-4-14
2020/08/05 20:31 linux-4.14.y ca4f2c56d416 b7129355 .config console log report syz C ci2-linux-4-14
2020/07/22 10:11 linux-4.14.y 69b94dd6dcd1 21f1765e .config console log report syz C ci2-linux-4-14
2020/07/17 06:03 linux-4.14.y b850307b279c 54b3c45e .config console log report syz C ci2-linux-4-14
2020/07/11 04:40 linux-4.14.y b850307b279c 18d18b59 .config console log report syz C ci2-linux-4-14
2020/07/09 06:10 linux-4.14.y b850307b279c 9f9845eb .config console log report syz C ci2-linux-4-14
2020/06/09 08:47 linux-4.14.y c6db52a88798 0d60b78a .config console log report syz C ci2-linux-4-14
2020/05/28 08:34 linux-4.14.y 4f68020fef1c 9072c126 .config console log report syz C ci2-linux-4-14
2020/05/05 20:35 linux-4.14.y d71f695ce745 4b76dd25 .config console log report syz C ci2-linux-4-14
2020/04/24 17:58 linux-4.14.y 050272a0423e 03d97a1b .config console log report syz C ci2-linux-4-14
2020/04/18 19:17 linux-4.14.y c10b57a567e4 365fba24 .config console log report syz C ci2-linux-4-14
2020/04/16 11:29 linux-4.14.y c10b57a567e4 c743fcb3 .config console log report syz C ci2-linux-4-14
2020/04/13 06:13 linux-4.14.y 4520f06b03ae 17a986e5 .config console log report syz C ci2-linux-4-14
2020/03/29 07:34 linux-4.14.y 01364dad1d45 05736b29 .config console log report syz C ci2-linux-4-14
2020/02/13 12:04 linux-4.14.y e0f8b8a65a47 84f4fc8a .config console log report syz C ci2-linux-4-14
2020/09/27 13:36 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report syz ci2-linux-4-14
2020/08/16 16:33 linux-4.14.y 14b58326976d 5ce13532 .config console log report syz ci2-linux-4-14
2020/08/10 18:50 linux-4.14.y 14b58326976d 7adc7b65 .config console log report syz ci2-linux-4-14
2020/06/08 06:37 linux-4.14.y c6db52a88798 7751efd0 .config console log report syz ci2-linux-4-14
2020/06/08 03:11 linux-4.14.y c6db52a88798 7751efd0 .config console log report syz ci2-linux-4-14
2020/05/26 23:50 linux-4.14.y a41ba30d9df2 9072c126 .config console log report syz ci2-linux-4-14
2020/04/27 01:14 linux-4.14.y 050272a0423e 0ce7569e .config console log report syz ci2-linux-4-14
2020/04/14 11:02 linux-4.14.y c10b57a567e4 7c54686a .config console log report syz ci2-linux-4-14
2020/04/01 21:07 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz ci2-linux-4-14
2020/03/30 18:34 linux-4.14.y 01364dad1d45 c8d1cc20 .config console log report syz ci2-linux-4-14
2020/02/28 06:37 linux-4.14.y 98db2bf27b9e c88c7b75 .config console log report syz ci2-linux-4-14
2020/02/27 12:30 linux-4.14.y 98db2bf27b9e 40bcfdd5 .config console log report syz ci2-linux-4-14
2023/03/06 15:38 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/06 07:49 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/04 10:23 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/03 10:12 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/03 10:05 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/03 05:33 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/02 18:03 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/02 10:42 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/03/01 18:41 linux-4.14.y 7878a41b6cc1 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/28 12:57 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/28 10:52 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/27 18:31 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/26 18:14 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/26 06:12 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/24 20:27 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/22 23:20 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/22 22:02 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/20 10:01 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/19 21:58 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/19 21:25 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/19 11:26 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/18 03:06 linux-4.14.y a8ad60f2af58 cf8c2d39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/18 01:23 linux-4.14.y a8ad60f2af58 cf8c2d39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/17 08:08 linux-4.14.y a8ad60f2af58 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/16 21:38 linux-4.14.y a8ad60f2af58 38b317a7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/14 12:32 linux-4.14.y a8ad60f2af58 93ae7e0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/13 20:56 linux-4.14.y a8ad60f2af58 957959cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/11 17:31 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/11 07:42 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/11 03:01 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/10 01:17 linux-4.14.y a8ad60f2af58 07980f9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/09 15:55 linux-4.14.y a8ad60f2af58 07980f9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/08 22:12 linux-4.14.y a8ad60f2af58 fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/08 07:00 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/08 05:56 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/08 00:32 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/06 20:25 linux-4.14.y a8ad60f2af58 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/06 00:47 linux-4.14.y 3949d1610004 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/05 00:57 linux-4.14.y 3949d1610004 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/04 13:13 linux-4.14.y 3949d1610004 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/03 02:05 linux-4.14.y 3949d1610004 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/02 02:14 linux-4.14.y 3949d1610004 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/02 01:05 linux-4.14.y 3949d1610004 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/01 21:32 linux-4.14.y 3949d1610004 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2023/02/01 05:08 linux-4.14.y 3949d1610004 b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 BUG: spinlock recursion in dev_mc_sync
2021/01/17 13:18 linux-4.14.y f79dc86058bc 813be542 .config console log report info ci2-linux-4-14
2020/02/13 11:26 linux-4.14.y e0f8b8a65a47 84f4fc8a .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.