Hello,
syzbot found the following crash on:
HEAD commit: c04fc6fa Linux 4.14.165
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=137bfdb9e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=d36f53294bbc71f0
dashboard link:
https://syzkaller.appspot.com/bug?extid=9b4048a361a7fb331306
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
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+9b4048...@syzkaller.appspotmail.com
kasan: CONFIG_KASAN_INLINE enabled
IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready
kasan: GPF could be caused by NULL-ptr deref or user memory access
IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 5403 Comm: syz-executor.3 Not tainted 4.14.165-syzkaller #0
IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready
task: ffff88809f5840c0 task.stack: ffff88802ffa8000
RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline]
RIP: 0010:nfnetlink_parse_nat_setup+0x212/0x3b0
net/netfilter/nf_nat_core.c:784
RSP: 0018:ffff88802ffaf208 EFLAGS: 00010246
IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready
RAX: ffffffff854cfd10 RBX: ffff88802ffaf290 RCX: ffffc90005a5a000
device veth1_vlan entered promiscuous mode
RDX: 1ffffffff0a99fa9 RSI: ffff88802ffaf240 RDI: ffff88802ffaf290
IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
RBP: ffff88802ffaf308 R08: 1ffff11005ff5e52 R09: ffff88802ffaf290
device veth0_vlan entered promiscuous mode
R10: ffffed1005ff5e57 R11: ffff88802ffaf2bf R12: ffff888034617d80
IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready
R13: 0000000000000000 R14: ffff88802ffaf2e0 R15: ffff88802ffaf240
FS: 00007f28caa29700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready
CR2: 000000c43551d010 CR3: 000000007ae0d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready
Call Trace:
IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready
device veth1_vlan entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready
ctnetlink_parse_nat_setup+0x76/0x4a0
net/netfilter/nf_conntrack_netlink.c:1421
ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1491 [inline]
ctnetlink_create_conntrack+0x468/0x10c0
net/netfilter/nf_conntrack_netlink.c:1840
ctnetlink_new_conntrack+0x4af/0xcc0
net/netfilter/nf_conntrack_netlink.c:1964
nfnetlink_rcv_msg+0xa08/0xc00 net/netfilter/nfnetlink.c:214
netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515
netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xce/0x110 net/socket.c:656
___sys_sendmsg+0x70a/0x840 net/socket.c:2062
__sys_sendmsg+0xb9/0x140 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x2d/0x50 net/socket.c:2103
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45aff9
RSP: 002b:00007f28caa28c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f28caa296d4 RCX: 000000000045aff9
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000008bd R14: 00000000004c9d78 R15: 000000000075bf2c
Code: 8d 78 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02
00 0f 85 98 01 00 00 48 8b 85 10 ff ff ff 4c 89 fe 48 89 df <ff> 50 38 85
c0 0f 88 01 01 00 00 e8 be 5f 14 fc 4d 8b 76 c8 4d
RIP: nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] RSP:
ffff88802ffaf208
RIP: nfnetlink_parse_nat_setup+0x212/0x3b0 net/netfilter/nf_nat_core.c:784
RSP: ffff88802ffaf208
---[ end trace 6b3e5b64729f3da9 ]---
---
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.