Hello,
syzbot found the following crash on:
HEAD commit: 4d552acf Linux 4.19.34
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=115e62bf200000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c95a88291f095edd
dashboard link:
https://syzkaller.appspot.com/bug?extid=4ea32d3056ec4c55bd3a
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+4ea32d...@syzkaller.appspotmail.com
netlink: 'syz-executor.5': attribute type 3 has an invalid length.
netlink: 'syz-executor.5': attribute type 2 has an invalid length.
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: 8523 Comm: syz-executor.5 Not tainted 4.19.34 #2
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:dccp_timeout_obj_to_nlattr+0x96/0x170
net/netfilter/nf_conntrack_proto_dccp.c:712
Code: f3 65 48 8b 14 25 28 00 00 00 48 89 55 d0 31 d2 48 89 85 70 ff ff ff
e8 38 ff d3 fb 48 8b 8d 70 ff ff ff 48 89 d8 48 c1 e8 03 <0f> b6 14 08 48
89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a3
RSP: 0018:ffff88806009f3c8 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: dffffc0000000000
RDX: 0000000000019516 RSI: ffffffff85973808 RDI: 1ffff1100c013e7b
RBP: ffff88806009f460 R08: ffff888068f38640 R09: ffff88808cfbcc68
R10: ffffed10119f798c R11: ffff88808cfbcc60 R12: ffffffff87e12aa0
R13: 0000000000000001 R14: ffff88809c78eb80 R15: ffff88806009f438
FS: 00007ff69ee86700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000046d920 CR3: 0000000095715000 CR4: 00000000001406f0
Call Trace:
cttimeout_default_fill_info net/netfilter/nfnetlink_cttimeout.c:424
[inline]
cttimeout_default_get+0x69a/0xa80 net/netfilter/nfnetlink_cttimeout.c:471
nfnetlink_rcv_msg+0xd12/0xfe0 net/netfilter/nfnetlink.c:228
netlink_rcv_skb+0x180/0x460 net/netlink/af_netlink.c:2454
nfnetlink_rcv+0x1c0/0x460 net/netfilter/nfnetlink.c:560
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x53c/0x720 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xdd/0x130 net/socket.c:632
___sys_sendmsg+0x806/0x930 net/socket.c:2115
__sys_sendmsg+0x105/0x1d0 net/socket.c:2153
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160
do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4582f9
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff69ee85c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004582f9
RDX: 0000000000000000 RSI: 0000000020dddfc8 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff69ee866d4
R13: 00000000004c5958 R14: 00000000004d9c48 R15: 00000000ffffffff
Modules linked in:
---[ end trace 576b78044d612ba2 ]---
RIP: 0010:dccp_timeout_obj_to_nlattr+0x96/0x170
net/netfilter/nf_conntrack_proto_dccp.c:712
Code: f3 65 48 8b 14 25 28 00 00 00 48 89 55 d0 31 d2 48 89 85 70 ff ff ff
e8 38 ff d3 fb 48 8b 8d 70 ff ff ff 48 89 d8 48 c1 e8 03 <0f> b6 14 08 48
89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a3
RSP: 0018:ffff88806009f3c8 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: dffffc0000000000
RDX: 0000000000019516 RSI: ffffffff85973808 RDI: 1ffff1100c013e7b
RBP: ffff88806009f460 R08: ffff888068f38640 R09: ffff88808cfbcc68
kobject: 'loop4' (00000000d4cb30aa): kobject_uevent_env
R10: ffffed10119f798c R11: ffff88808cfbcc60 R12: ffffffff87e12aa0
R13: 0000000000000001 R14: ffff88809c78eb80 R15: ffff88806009f438
kobject: 'loop4' (00000000d4cb30aa): fill_kobj_path: path
= '/devices/virtual/block/loop4'
FS: 00007ff69ee86700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000070b158 CR3: 0000000095715000 CR4: 00000000001406f0
---
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.