syzbot


general protection fault in hsr_netdev_notify

Status: auto-closed as invalid on 2020/09/12 21:35
Reported-by: syzbot+d7aafaf3717aff7dcf60@syzkaller.appspotmail.com
First crash: 895d, last: 775d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in hsr_netdev_notify (2) C 7 1d14h 648d 0/1 upstream: reported C repro on 2020/09/19 09:45
linux-4.19 general protection fault in hsr_netdev_notify C error 93 46d 887d 0/1 upstream: reported C repro on 2020/01/24 10:32

Sample crash report:
bond0 (unregistering): Releasing backup interface bond_slave_1
device bond_slave_1 left promiscuous mode
bond0 (unregistering): Releasing backup interface bond_slave_0
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.180-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
task: ffff8880a9a1e5c0 task.stack: ffff8880a9a28000
RIP: 0010:hsr_netdev_notify+0x456/0x8c0 net/hsr/hsr_main.c:64
RSP: 0000:ffff8880a9a2f788 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff10279fc
RDX: 0000000000000002 RSI: ffffffff886e4a20 RDI: ffff8880908f6520
RBP: ffff8880596559c0 R08: 0000000000000001 R09: 0000000000000004
R10: ffff8880a9a1eee8 R11: ffff8880a9a1e5c0 R12: ffff888054955850
R13: ffff888054955840 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbacfe31180 CR3: 00000000a91ef000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93
 call_netdevice_notifiers+0x5e/0x70 net/core/dev.c:1687
 __bond_release_one+0xf02/0x1390 drivers/net/bonding/bond_main.c:1937
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3093 [inline]
 bond_netdev_event+0x784/0x8c0 drivers/net/bonding/bond_main.c:3191
 notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1687 [inline]
 rollback_registered_many+0x694/0xa70 net/core/dev.c:7206
 unregister_netdevice_many.part.0+0x16/0x1d0 net/core/dev.c:8279
 unregister_netdevice_many net/core/dev.c:8278 [inline]
 default_device_exit_batch+0x2dd/0x380 net/core/dev.c:8740
 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:145
 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484
 process_one_work+0x813/0x1540 kernel/workqueue.c:2116
 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 03 0f 8e 5d 03 00 00 83 7b 20 04 75 b6 e8 f3 18 22 fb 48 8d 43 10 48 89 c2 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 16 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c 
RIP: hsr_netdev_notify+0x456/0x8c0 net/hsr/hsr_main.c:64 RSP: ffff8880a9a2f788
---[ end trace bf60ba425da510ea ]---

Crashes (9):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/05/15 21:34 linux-4.14.y ab9dfda23248 d7f9fffa .config log report
ci2-linux-4-14 2020/05/15 00:13 linux-4.14.y ab9dfda23248 2d572622 .config log report
ci2-linux-4-14 2020/05/06 07:07 linux-4.14.y d71f695ce745 35b8eb30 .config log report
ci2-linux-4-14 2020/04/14 15:57 linux-4.14.y c10b57a567e4 3f3c5574 .config log report
ci2-linux-4-14 2020/03/28 23:47 linux-4.14.y 01364dad1d45 05736b29 .config log report
ci2-linux-4-14 2020/03/15 06:11 linux-4.14.y 12cd844a39ed 749688d2 .config log report
ci2-linux-4-14 2020/02/29 12:03 linux-4.14.y 78d697fc93f9 c88c7b75 .config log report
ci2-linux-4-14 2020/01/16 09:41 linux-4.14.y c04fc6fa5c96 f9b69507 .config log report
ci2-linux-4-14 2020/01/16 06:51 linux-4.14.y c04fc6fa5c96 f9b69507 .config log report