syzbot


kernel BUG at net/core/dev.c:LINE! (3)

Status: fixed on 2020/09/16 22:51
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+af23e7f3e0a7e10c8b67@syzkaller.appspotmail.com
Fix commit: 832707021666 bonding: fix a potential double-unregister
First crash: 1712d, last: 1564d
Cause bisection: introduced by (bisect log) :
commit 5a707af10da95a53a55011a612e69063491020d4
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Fri Apr 21 13:36:06 2017 +0000

  platform/x86: wmi: Describe function parameters

Crash: kernel BUG at net/core/dev.c:LINE! (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.4 00/62] 4.4.235-rc1 review 70 (70) 2020/09/30 09:01
[PATCH 4.9 00/78] 4.9.235-rc1 review 82 (82) 2020/09/02 16:46
[PATCH 4.19 00/71] 4.19.142-rc1 review 79 (79) 2020/08/26 11:14
[PATCH 5.8 000/148] 5.8.4-rc1 review 152 (152) 2020/08/24 16:54
[PATCH 4.14 00/50] 4.14.195-rc1 review 51 (51) 2020/08/24 08:31
[PATCH 5.4 000/107] 5.4.61-rc1 review 108 (108) 2020/08/24 08:31
[PATCH 5.7 000/124] 5.7.18-rc1 review 125 (125) 2020/08/24 08:30
[Patch net] bonding: fix a potential double-unregister 1 (1) 2020/08/15 03:05
kernel BUG at net/core/dev.c:LINE! (3) 1 (5) 2020/07/23 22:20
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at net/core/dev.c:LINE! (2) C error 90 791d 1463d 0/1 upstream: reported C repro on 2020/12/11 13:29
linux-4.14 kernel BUG in validate_xmit_skb 1 1403d 1403d 0/1 auto-closed as invalid on 2021/06/10 04:03
upstream kernel BUG at net/core/dev.c:LINE! (2) net syz 2 2257d 2257d 11/28 fixed on 2018/10/18 14:43
upstream kernel BUG in netem_enqueue net 9 729d 954d 22/28 fixed on 2023/02/24 13:50
linux-4.19 kernel BUG at net/core/dev.c:LINE! 4 1694d 1696d 0/1 auto-closed as invalid on 2020/08/23 07:17
upstream kernel BUG at net/core/dev.c:LINE! (4) C done done 432 1095d 1482d 20/28 fixed on 2022/03/08 16:11
upstream kernel BUG at net/core/dev.c:LINE! net C 5 2574d 2579d 3/28 fixed on 2017/12/08 02:32
linux-4.14 kernel BUG at net/core/dev.c:LINE! C inconclusive 3 1446d 1715d 1/1 fixed on 2021/01/17 13:53

Sample crash report:
bond0 (unregistering): (slave wireguard2): Releasing backup interface
bond0 (unregistering): (slave wireguard1): Releasing backup interface
bond0 (unregistering): (slave wireguard0): Releasing backup interface
device wireguard0 left promiscuous mode
bond0 (unregistering): Destroying bond
------------[ cut here ]------------
kernel BUG at net/core/dev.c:8939!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:rollback_registered_many+0x148c/0x14a0 net/core/dev.c:8939
Code: c7 c1 58 40 8d 89 80 e1 07 80 c1 03 38 c1 0f 8c f7 f1 ff ff 48 c7 c7 58 40 8d 89 e8 8e 0e 46 fb e9 e6 f1 ff ff e8 c4 00 07 fb <0f> 0b e8 bd 00 07 fb 0f 0b e8 06 ff af 01 66 0f 1f 44 00 00 53 48
RSP: 0018:ffffc90000e278a8 EFLAGS: 00010293
RAX: ffffffff866d8dfc RBX: 0000000000000002 RCX: ffff8880a944e0c0
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffff888088c14581 R08: ffffffff866d7ae5 R09: fffffbfff12f75d9
R10: fffffbfff12f75d9 R11: 0000000000000000 R12: dead000000000122
R13: ffffc90000e279a0 R14: 1ffff920001c4f22 R15: ffffc90000e279a0
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42d2cce000 CR3: 0000000093777000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rollback_registered net/core/dev.c:9013 [inline]
 unregister_netdevice_queue+0x2f3/0x4b0 net/core/dev.c:10094
 unregister_netdevice include/linux/netdevice.h:2754 [inline]
 bond_release_and_destroy drivers/net/bonding/bond_main.c:2091 [inline]
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3164 [inline]
 bond_netdev_event+0x8f2/0xb00 drivers/net/bonding/bond_main.c:3277
 notifier_call_chain kernel/notifier.c:83 [inline]
 __raw_notifier_call_chain kernel/notifier.c:361 [inline]
 raw_notifier_call_chain+0xe7/0x170 kernel/notifier.c:368
 call_netdevice_notifiers_info net/core/dev.c:2027 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
 call_netdevice_notifiers net/core/dev.c:2053 [inline]
 rollback_registered_many+0xbe3/0x14a0 net/core/dev.c:8968
 unregister_netdevice_many net/core/dev.c:10113 [inline]
 default_device_exit_batch+0x42f/0x6b0 net/core/dev.c:10596
 ops_exit_list net/core/net_namespace.c:189 [inline]
 cleanup_net+0x79c/0xba0 net/core/net_namespace.c:603
 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269
 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415
 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293
Modules linked in:
---[ end trace bf95ff2dfd26efa3 ]---
RIP: 0010:rollback_registered_many+0x148c/0x14a0 net/core/dev.c:8939
Code: c7 c1 58 40 8d 89 80 e1 07 80 c1 03 38 c1 0f 8c f7 f1 ff ff 48 c7 c7 58 40 8d 89 e8 8e 0e 46 fb e9 e6 f1 ff ff e8 c4 00 07 fb <0f> 0b e8 bd 00 07 fb 0f 0b e8 06 ff af 01 66 0f 1f 44 00 00 53 48
RSP: 0018:ffffc90000e278a8 EFLAGS: 00010293
RAX: ffffffff866d8dfc RBX: 0000000000000002 RCX: ffff8880a944e0c0
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffff888088c14581 R08: ffffffff866d7ae5 R09: fffffbfff12f75d9
R10: fffffbfff12f75d9 R11: 0000000000000000 R12: dead000000000122
R13: ffffc90000e279a0 R14: 1ffff920001c4f22 R15: ffffc90000e279a0
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42d2cd3000 CR3: 0000000093777000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (979):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/16 19:51 upstream 994e99a96c9b f3bec699 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/16 12:06 linux-next ca0e494af5ed f3bec699 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/16 05:06 net-old 1d61e21852d3 f3bec699 .config console log report syz ci-upstream-net-this-kasan-gce
2020/07/16 04:17 net-next-old 4ff91fa0a3ac f3bec699 .config console log report syz ci-upstream-net-kasan-gce
2020/08/15 00:20 upstream 7fca4dee610d 424dd8e7 .config console log report ci-upstream-kasan-gce-smack-root
2020/08/13 20:34 upstream fb893de323e2 54ce1ed6 .config console log report ci-upstream-kasan-gce-root
2020/08/10 10:47 upstream 9420f1ce0186 70301872 .config console log report ci-upstream-kasan-gce-selinux-root
2020/08/05 01:54 upstream 2ed90dbbf7be 02034dac .config console log report ci-qemu-upstream
2020/07/17 01:22 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce
2020/07/12 09:11 upstream 0aea6d5c5be3 115e1930 .config console log report ci-upstream-kasan-gce-386
2020/09/02 09:38 net-old a609d0259183 abf9ba4f .config console log report ci-upstream-net-this-kasan-gce
2020/08/17 02:14 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 23:54 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 22:05 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 20:26 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 19:15 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 18:10 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 16:38 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 14:29 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 13:26 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 10:19 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 03:18 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/16 01:06 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 22:27 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 16:54 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 15:14 net-old 4ca0d9ac3fd8 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 11:56 net-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 10:48 net-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/15 05:53 net-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/08/14 23:08 net-old a1d21081a60d 424dd8e7 .config console log report ci-upstream-net-this-kasan-gce
2020/04/07 03:03 net-old aa81700cf232 99a96044 .config console log report ci-upstream-net-this-kasan-gce
2020/08/18 07:09 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/18 05:08 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/18 02:24 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 23:27 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 20:38 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 17:25 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 15:47 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 11:59 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 10:27 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 08:28 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 07:28 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 05:51 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 04:49 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/17 01:13 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/16 15:35 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/16 12:19 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/16 09:00 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/16 06:59 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/16 05:43 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/15 23:44 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/15 20:55 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/15 19:28 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/15 13:54 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/15 08:49 net-next-old 7fca4dee610d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/14 21:48 net-next-old a1d21081a60d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/14 20:53 net-next-old a1d21081a60d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/14 19:27 net-next-old a1d21081a60d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/14 18:25 net-next-old a1d21081a60d 424dd8e7 .config console log report ci-upstream-net-kasan-gce
2020/08/12 02:41 linux-next 4c9b89d8981b bb3e5fe6 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.