syzbot


BUG: unable to handle kernel NULL pointer dereference in sctp_auth_destroy_keys

Status: closed as invalid on 2018/06/27 15:08
Subsystems: sctp
[Documentation on labels]
First crash: 2460d, last: 2460d

Sample crash report:
R13: 000000000000055e R14: 00000000006fc170 R15: 0000000000000009
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: __list_del_entry_valid+0xd1/0x440 lib/list_debug.c:51
PGD 0 P4D 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 8995 Comm: syz-executor6 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xd1/0x440 lib/list_debug.c:51
RSP: 0018:ffff88013bc6f230 EFLAGS: 00010246
RAX: ffff88013c8ab180 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88013c8c8180 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff88013bc6f288 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000180800003 R12: 0000000000000000
R13: ffff88013c8aa220 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f53148d4700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000aa30000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_init include/linux/list.h:159 [inline]
 sctp_auth_destroy_keys+0x126/0x5d0 net/sctp/auth.c:130
 sctp_endpoint_destroy net/sctp/endpointola.c:259 [inline]
 sctp_endpoint_put+0x14f/0x4d0 net/sctp/endpointola.c:297
 sctp_endpoint_free+0xa4/0xd0 net/sctp/endpointola.c:240
 sctp_destroy_sock+0x2d1/0x4d0 net/sctp/socket.c:4591
 sk_common_release+0xd1/0x570 net/core/sock.c:2996
 sctp_close+0xc81/0xdb0 net/sctp/socket.c:1563
 inet_release+0x240/0x2a0 net/ipv4/af_inet.c:427
 sock_release net/socket.c:595 [inline]
 sock_close+0xe0/0x300 net/socket.c:1149
 __fput+0x49e/0xa10 fs/file_table.c:209
 ____fput+0x37/0x40 fs/file_table.c:243
 task_work_run+0x243/0x2c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x10e1/0x38d0 kernel/exit.c:867
 do_group_exit+0x1a0/0x360 kernel/exit.c:970
 get_signal+0x1320/0x1f20 kernel/signal.c:2469
 do_signal+0xb8/0x1c80 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline]
 prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196
 syscall_return_slowpath+0xe9/0x700 arch/x86/entry/common.c:265
 do_syscall_64+0x36d/0x430 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x455979
RSP: 002b:00007f53148d3c88 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f53148d46d4 RCX: 0000000000455979
RDX: 0000000000000058 RSI: 0000000000000001 RDI: 000000000072becc
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000000 R14: 00000000006f40a0 R15: 0000000000000000
Code: 15 4c 89 f8 4c 31 f0 4c 89 e1 48 f7 d1 48 21 c1 0f 84 76 01 00 00 4d 39 f7 0f 84 7e 01 00 00 41 89 de 4d 85 e4 0f 85 01 02 00 00 <4d> 8b 27 4c 89 ff e8 e4 79 cb fd 48 8b 18 44 8b 3a 48 89 d8 48 
RIP: __list_del_entry_valid+0xd1/0x440 lib/list_debug.c:51 RSP: ffff88013bc6f230
CR2: 0000000000000000
---[ end trace 927ede2638e80d88 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/05 18:19 https://github.com/google/kmsan.git master d2d741e5d189 6a0382b5 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.