Hello,
syzbot found the following crash on:
HEAD commit: 399849e4 Linux 4.19.131
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1608625b100000
kernel config:
https://syzkaller.appspot.com/x/.config?x=eada6d424d8bae1d
dashboard link:
https://syzkaller.appspot.com/bug?extid=4fd6ac432e87be87c935
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+4fd6ac...@syzkaller.appspotmail.com
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: 0 PID: 8416 Comm: syz-executor.1 Not tainted 4.19.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:netif_free_tx_queues net/core/dev.c:8568 [inline]
RIP: 0010:free_netdev+0x41/0x410 net/core/dev.c:9227
Code: d2 be 0a 24 00 00 48 c7 c7 80 2d 2a 88 e8 57 aa 92 fb 48 8d bb 00 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 03 00 00 48 8b bb 00 04 00 00 e8 49 e0 d8 fb
RSP: 0018:ffff888062cf79b8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000080 RSI: 00000000ffffffff RDI: 0000000000000400
RBP: ffff88809e075680 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff4
R13: ffff88809e075a90 R14: ffff88809ad0e000 R15: ffff88805ac09d08
FS: 00007fc750b3d700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000565245af3b08 CR3: 000000009dd59000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip6gre_init_net+0x54b/0x620 net/ipv6/ip6_gre.c:1613
ops_init+0xb3/0x410 net/core/net_namespace.c:129
setup_net+0x2c2/0x720 net/core/net_namespace.c:315
copy_net_ns+0x1f7/0x335 net/core/net_namespace.c:438
create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
copy_namespaces+0x325/0x3c0 kernel/nsproxy.c:165
copy_process.part.0+0x3e13/0x7f40 kernel/fork.c:1900
copy_process kernel/fork.c:1694 [inline]
_do_fork+0x22f/0xf30 kernel/fork.c:2207
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45cb29
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc750b3cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00000000004db560 RCX: 000000000045cb29
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0c75e43cfae22dd4
RBP: 000000000078bf00 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000007c R14: 00000000004c34ba R15: 00007fc750b3d6d4
Modules linked in:
---[ end trace 7d944d426a972da8 ]---
RIP: 0010:netif_free_tx_queues net/core/dev.c:8568 [inline]
RIP: 0010:free_netdev+0x41/0x410 net/core/dev.c:9227
Code: d2 be 0a 24 00 00 48 c7 c7 80 2d 2a 88 e8 57 aa 92 fb 48 8d bb 00 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 03 00 00 48 8b bb 00 04 00 00 e8 49 e0 d8 fb
RSP: 0018:ffff888062cf79b8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000080 RSI: 00000000ffffffff RDI: 0000000000000400
RBP: ffff88809e075680 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff4
R13: ffff88809e075a90 R14: ffff88809ad0e000 R15: ffff88805ac09d08
FS: 00007fc750b3d700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9431f6a010 CR3: 000000009dd59000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.