syzbot


BUG: unable to handle kernel NULL pointer dereference in sctp_close

Status: closed as invalid on 2018/09/05 12:51
Subsystems: sctp
[Documentation on labels]
First crash: 2407d, last: 2407d

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013
R13: 00000000004c1e89 R14: 00000000004cf510 R15: 000000000000005a
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
PGD 8000000150001067 P4D 8000000150001067 PUD 150004067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 23311 Comm: syz-executor4 Not tainted 4.17.0+ #9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sctp_close+0x2e7/0xdb0 net/sctp/socket.c:1538
RSP: 0018:ffff88010cdff970 EFLAGS: 00010246
RAX: ffff8801cbe9b5c0 RBX: 0000000000000000 RCX: 00000000ffffff00
RDX: ffff8801cbe9b3c0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88010cdffa70 R08: 0000000001080001 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff894c9360 R12: ffffffff8b58d000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  000000000245f940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000150082000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 inet_release+0x249/0x2b0 net/ipv4/af_inet.c:427
 inet6_release+0xaf/0x100 net/ipv6/af_inet6.c:460
 sock_release net/socket.c:594 [inline]
 sock_close+0xeb/0x310 net/socket.c:1149
 __fput+0x458/0xa30 fs/file_table.c:209
 ____fput+0x37/0x40 fs/file_table.c:243
 task_work_run+0x22e/0x2b0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x110e/0x3930 kernel/exit.c:867
 do_group_exit+0x1a0/0x360 kernel/exit.c:970
 __do_sys_exit_group+0x21/0x30 kernel/exit.c:981
 __se_sys_exit_group+0x14/0x20 kernel/exit.c:979
 __x64_sys_exit_group+0x4c/0x50 kernel/exit.c:979
 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x455a99
RSP: 002b:0000000000a3ea98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000000455a99
RDX: 000000000005e7b8 RSI: 0000000000730ff8 RDI: 0000000000000000
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000a3f160 R15: 00000000007024c0
Code: ff ff 4c 8b 6d b8 4d 85 ff 74 20 e9 0a 02 00 00 0f 1f 40 00 e8 5b 48 19 f8 8b 45 a4 89 45 c8 49 89 de 4d 85 ff 0f 85 ef 01 00 00 <49> 8b 06 48 89 45 80 4c 89 f7 e8 ba f4 73 f8 48 8b 00 48 89 85 
RIP: sctp_close+0x2e7/0xdb0 net/sctp/socket.c:1538 RSP: ffff88010cdff970
CR2: 0000000000000000
---[ end trace 24661c864827673b ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/27 21:33 https://github.com/google/kmsan.git master 123906095e30 43e60f7e .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.