syzbot


general protection fault in free_netdev (2)

Status: auto-closed as invalid on 2021/09/20 23:14
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 587d, last: 587d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in free_netdev C done 99 913d 943d 1/1 fixed on 2020/09/01 18:34
upstream general protection fault in free_netdev C error done 3605 918d 953d 17/24 fixed on 2020/10/01 20:48
android-5-10 KASAN: use-after-free Read in free_netdev C error 2 195d 227d 2/2 upstream: reported C repro on 2022/06/18 00:20
linux-4.19 KASAN: use-after-free Read in free_netdev C error 142 13d 1059d 0/1 upstream: reported C repro on 2020/03/07 10:14
upstream KASAN: use-after-free Read in free_netdev (2) C done done 1715 426d 1060d 22/24 fixed on 2022/03/08 16:11
android-54 KASAN: use-after-free Read in free_netdev C 427 159d 1060d 0/2 upstream: reported C repro on 2020/03/06 20:14
upstream KASAN: use-after-free Read in free_netdev (3) C inconclusive 130 67d 223d 23/24 upstream: reported C repro on 2022/06/22 01:01

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 20753 Comm: kworker/u4:9 Not tainted 5.13.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:free_netdev+0x279/0x5b0 net/core/dev.c:10903
Code: 8d 98 a0 fe ff ff 75 49 e9 c6 00 00 00 e8 5f 30 69 fa e8 8a 36 56 fa e8 55 30 69 fa 4c 8d bb 60 01 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 88 02 00 00 48 8b 83 60 01 00 00 49 89 dc 48
RSP: 0018:ffffc900019ffa18 EFLAGS: 00010246
RAX: 0000000000000000 RBX: fffffffffffffea0 RCX: 0000000000000000
RDX: ffff888018a49c40 RSI: ffffffff870bab9b RDI: 0000000000000000
RBP: ffff88806c9ee000 R08: 0000000000000001 R09: ffffffff902698af
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88806c9ee050 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc46991897 CR3: 000000001d95f000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 netdev_run_todo+0x882/0xa80 net/core/dev.c:10584
 ip_tunnel_delete_nets+0x3f0/0x5b0 net/ipv4/ip_tunnel.c:1114
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:178
 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:595
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace 0d4ca1f8e0c32bbc ]---
RIP: 0010:free_netdev+0x279/0x5b0 net/core/dev.c:10903
Code: 8d 98 a0 fe ff ff 75 49 e9 c6 00 00 00 e8 5f 30 69 fa e8 8a 36 56 fa e8 55 30 69 fa 4c 8d bb 60 01 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 88 02 00 00 48 8b 83 60 01 00 00 49 89 dc 48
RSP: 0018:ffffc900019ffa18 EFLAGS: 00010246
RAX: 0000000000000000 RBX: fffffffffffffea0 RCX: 0000000000000000
RDX: ffff888018a49c40 RSI: ffffffff870bab9b RDI: 0000000000000000
RBP: ffff88806c9ee000 R08: 0000000000000001 R09: ffffffff902698af
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88806c9ee050 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f920c892018 CR3: 0000000037e0b000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-kasan-gce 2021/06/22 23:08 net-next ef2c3ddaa4ed aba2b2fb .config console log report info general protection fault in free_netdev
* Struck through repros no longer work on HEAD.