Hello,
syzbot found the following crash on:
HEAD commit: f0dc7f9c6dd9 Merge git://
git.kernel.org/pub/scm/linux/kern..
git tree: net-next
console output:
https://syzkaller.appspot.com/x/log.txt?x=15842930400000
kernel config:
https://syzkaller.appspot.com/x/.config?x=fa9c20c48788d1c1
dashboard link:
https://syzkaller.appspot.com/bug?extid=840f6a162309f678ef5c
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
CC: [
da...@davemloft.net kuz...@ms2.inr.ac.ru
linux-...@vger.kernel.org net...@vger.kernel.org yosh...@linux-ipv6.org]
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+840f6a...@syzkaller.appspotmail.com
BUG: unable to handle kernel NULL pointer dereference
inet_sendmsg+0x19f/0x690 net/ipv4/af_inet.c:798
at 0000000000000000
PGD 1a7cb9067
P4D 1a7cb9067
sock_sendmsg_nosec net/socket.c:645 [inline]
sock_sendmsg+0xd5/0x120 net/socket.c:655
PUD 1aedd4067
sock_write_iter+0x35a/0x5a0 net/socket.c:924
PMD 0
Oops: 0010 [#1] SMP KASAN
call_write_iter include/linux/fs.h:1793 [inline]
do_iter_readv_writev+0x87d/0xa70 fs/read_write.c:680
CPU: 1 PID: 3017 Comm: syz-executor0 Not tainted 4.17.0+ #84
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010: (null)
do_iter_write+0x185/0x5f0 fs/read_write.c:959
Code:
Bad RIP value.
RSP: 0018:ffff8801aaacf590 EFLAGS: 00010246
vfs_writev+0x1c7/0x330 fs/read_write.c:1004
RAX: 0000000000000000 RBX: ffff8801ad2a5800 RCX: 1ffffffff10ea9fd
RDX: ffff8801aaacfab0 RSI: ffff8801b3719100 RDI: ffff8801a9f74840
RBP: ffff8801aaacf700 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10035559eb7
R13: ffff8801aaacfab0 R14: ffff8801ad2a5812 R15: ffff8801ad2a5c58
FS: 00007fd1ceee7700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
do_writev+0x112/0x2f0 fs/read_write.c:1039
CR2: ffffffffffffffd6 CR3: 00000001d033d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
__do_sys_writev fs/read_write.c:1112 [inline]
__se_sys_writev fs/read_write.c:1109 [inline]
__x64_sys_writev+0x75/0xb0 fs/read_write.c:1109
Call Trace:
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455b29
Code:
sock_poll+0x1d1/0x710 net/socket.c:1168
1d
ba
fb
ff
vfs_poll+0x77/0x2a0 fs/select.c:40
c3
do_pollfd fs/select.c:848 [inline]
do_poll fs/select.c:896 [inline]
do_sys_poll+0x6fd/0x1100 fs/select.c:990
66
2e
0f
1f
84
00
00
00
00
00
66
90
48
89
f8
48
89
f7
48
89
d6
__do_sys_poll fs/select.c:1048 [inline]
__se_sys_poll fs/select.c:1036 [inline]
__x64_sys_poll+0x189/0x510 fs/select.c:1036
48
89
ca
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:290
4d
89
c2
4d
89
c8
entry_SYSCALL_64_after_hwframe+0x49/0xbe
4c
RIP: 0033:0x455b29
8b
Code:
4c
1d
24
ba
08
fb
0f
ff
05
c3
<48> 3d
66
01
2e
f0
0f
ff
1f
ff
84
0f
00
83
00
eb
00
b9
00
fb
00
ff
66
c3
90
66
48
2e
89
0f
f8
1f
48
84
89
00
f7
00
48
00
89
00
d6
48
RSP: 002b:00007f5258ad0c68 EFLAGS: 00000246
89
ORIG_RAX: 0000000000000014
ca
RAX: ffffffffffffffda RBX: 00007f5258ad16d4 RCX: 0000000000455b29
4d
RDX: 0000000000000001 RSI: 00000000200001c0 RDI: 0000000000000014
89
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
c2 4d 89
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000015
c8
R13: 00000000004c06bc R14: 00000000004d3cb8 R15: 0000000000000001
4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f
84 00 00 00 00
RSP: 002b:00007fd1ceee6c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000007
RAX: ffffffffffffffda RBX: 00007fd1ceee76d4 RCX: 0000000000455b29
RDX: 0000000000000001 RSI: 0000000000000007 RDI: 0000000020000100
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c05f4 R14: 00000000004cfde8 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
(ftrace buffer empty)
CR2: 0000000000000000
---[ end trace 35342e3555bddb45 ]---
RIP: 0010: (null)
Code: Bad RIP value.
RSP: 0018:ffff8801aaacf590 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8801ad2a5800 RCX: 1ffffffff10ea9fd
RDX: ffff8801aaacfab0 RSI: ffff8801b3719100 RDI: ffff8801a9f74840
RBP: ffff8801aaacf700 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10035559eb7
R13: ffff8801aaacfab0 R14: ffff8801ad2a5812 R15: ffff8801ad2a5c58
FS: 00007fd1ceee7700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001d033d000 CR4: 00000000001406e0
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#bug-status-tracking for how to communicate with
syzbot.