syzbot


general protection fault in hsr_netdev_notify

Status: upstream: reported C repro on 2020/01/24 10:32
Reported-by: syzbot+afccaef692966acb0102@syzkaller.appspotmail.com
First crash: 1542d, last: 583d
Fix bisection: failed (error log, bisect log)
  
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 error 7 593d 1303d 0/1 upstream: reported C repro on 2020/09/19 09:45
linux-4.14 general protection fault in hsr_netdev_notify 9 1429d 1550d 0/1 auto-closed as invalid on 2020/09/12 21:35
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2022/04/18 09:21 14m bisect fix linux-4.19.y error job log (0)
2021/09/17 09:10 27m bisect fix linux-4.19.y job log (0) log
2021/08/18 08:42 28m bisect fix linux-4.19.y job log (0) log
2021/07/07 07:59 22m bisect fix linux-4.19.y job log (0) log
2021/03/17 04:36 21m bisect fix linux-4.19.y job log (0) log

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
CPU: 1 PID: 384 Comm: kworker/u4:4 Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:hsr_netdev_notify+0x37f/0x9f0 syzkaller/managers/linux-4-19/kernel/net/hsr/hsr_main.c:65
Code: e8 06 f8 7a f9 41 83 ff 04 75 a4 e8 8b f6 7a f9 48 8d 45 10 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 fe 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b
RSP: 0018:ffff8880b4c5f540 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888094d59140 RCX: ffffffff87e7632a
RDX: 0000000000000002 RSI: ffffffff87e76335 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a33df590
R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50e879b000 CR3: 00000000a176c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 notifier_call_chain+0xc0/0x230 syzkaller/managers/linux-4-19/kernel/kernel/notifier.c:93
 call_netdevice_notifiers_info syzkaller/managers/linux-4-19/kernel/net/core/dev.c:1744 [inline]
 call_netdevice_notifiers+0x99/0x110 syzkaller/managers/linux-4-19/kernel/net/core/dev.c:1762
 __bond_release_one+0x11af/0x1630 syzkaller/managers/linux-4-19/kernel/drivers/net/bonding/bond_main.c:1982
 bond_slave_netdev_event syzkaller/managers/linux-4-19/kernel/drivers/net/bonding/bond_main.c:3154 [inline]
 bond_netdev_event+0xb61/0xe50 syzkaller/managers/linux-4-19/kernel/drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 syzkaller/managers/linux-4-19/kernel/kernel/notifier.c:93
 call_netdevice_notifiers syzkaller/managers/linux-4-19/kernel/net/core/dev.c:1762 [inline]
 rollback_registered_many+0x83e/0xe70 syzkaller/managers/linux-4-19/kernel/net/core/dev.c:8188
 unregister_netdevice_many.part.0+0x1a/0x300 syzkaller/managers/linux-4-19/kernel/net/core/dev.c:9316
 unregister_netdevice_many syzkaller/managers/linux-4-19/kernel/net/core/dev.c:9315 [inline]
 default_device_exit_batch+0x2fa/0x3c0 syzkaller/managers/linux-4-19/kernel/net/core/dev.c:9787
 ops_exit_list+0xf9/0x150 syzkaller/managers/linux-4-19/kernel/net/core/net_namespace.c:156
 cleanup_net+0x3b4/0x8b0 syzkaller/managers/linux-4-19/kernel/net/core/net_namespace.c:553
 process_one_work+0x864/0x1570 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2298
 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259
 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 181810338eedf0c2 ]---
RIP: 0010:hsr_netdev_notify+0x37f/0x9f0 syzkaller/managers/linux-4-19/kernel/net/hsr/hsr_main.c:65
Code: e8 06 f8 7a f9 41 83 ff 04 75 a4 e8 8b f6 7a f9 48 8d 45 10 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 fe 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b
RSP: 0018:ffff8880b4c5f540 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888094d59140 RCX: ffffffff87e7632a
RDX: 0000000000000002 RSI: ffffffff87e76335 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a33df590
R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50e879b000 CR3: 00000000a176c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (95):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/15 04:36 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz C ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/09/08 18:22 linux-4.19.y 3f8a27f9e27b f3027468 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/07/08 06:46 linux-4.19.y 3f8a27f9e27b bff65f44 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/05/14 19:44 linux-4.19.y 3f8a27f9e27b 744a39e2 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/03/19 04:51 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/03/04 00:22 linux-4.19.y 3f8a27f9e27b 45a13a73 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/02/24 11:31 linux-4.19.y 3f8a27f9e27b 6e821dbf .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/02/10 21:55 linux-4.19.y 3f8a27f9e27b 0b33604d .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/02/01 04:34 linux-4.19.y 3f8a27f9e27b 6b7c57fe .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/30 17:20 linux-4.19.y 3f8a27f9e27b 495e00c5 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/25 10:38 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/23 08:37 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/20 01:33 linux-4.19.y 3f8a27f9e27b 5da9499f .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/11 18:32 linux-4.19.y 3f8a27f9e27b 1884f55a .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/10 04:27 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/09 06:27 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/09 04:59 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/09 03:54 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/05 09:53 linux-4.19.y 3f8a27f9e27b 0a2584dd .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2022/01/02 02:05 linux-4.19.y 3f8a27f9e27b e1768e9c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/29 02:44 linux-4.19.y 3f8a27f9e27b 76c8cf06 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/24 04:39 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/20 21:18 linux-4.19.y 3f8a27f9e27b 62bd192b .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/20 20:00 linux-4.19.y 3f8a27f9e27b 62bd192b .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/11 18:36 linux-4.19.y 3f8a27f9e27b 49ca1f59 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/09 12:13 linux-4.19.y 3f8a27f9e27b a4a2a501 .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/06 08:28 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/06 05:35 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/06 03:33 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/06 02:27 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/06 00:41 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 22:20 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 22:19 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 18:56 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 17:44 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 15:39 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 13:55 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 11:12 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 10:09 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 09:06 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 07:40 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 04:55 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 04:15 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 03:06 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 02:51 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/05 00:27 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2021/12/04 23:33 linux-4.19.y 3f8a27f9e27b a617004c .config console log report info ci2-linux-4-19 general protection fault in hsr_netdev_notify
2020/12/22 10:07 linux-4.19.y 13d2ce42de8c 04201c06 .config console log report info ci2-linux-4-19
2020/01/24 10:31 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.