syzbot


WARNING in tcp_close

Status: public: reported syz repro on 2019/04/12 00:01
Reported-by: syzbot+7b2f8454190cc7058ea8@syzkaller.appspotmail.com
First crash: 2020d, last: 1989d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in tcp_close syz 21 1657d 1786d 0/3 public: reported syz repro on 2019/06/14 00:50
upstream WARNING in tcp_close net syz 284 2020d 2120d 11/26 fixed on 2018/11/12 21:25
android-44 WARNING in tcp_close syz 17 1618d 1785d 0/2 public: reported syz repro on 2019/06/14 04:14

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6136 at net/ipv4/tcp.c:2229 tcp_close+0xcaa/0x1030 net/ipv4/tcp.c:2229
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 6136 Comm: syz-executor5 Not tainted 4.14.81+ #6
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 panic+0x1bf/0x3a4 kernel/panic.c:181
 __warn.cold.7+0x2f/0x35 kernel/panic.c:542
 report_bug+0x1f7/0x26c lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 do_error_trap+0x1ba/0x2c0 arch/x86/kernel/traps.c:295
 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:tcp_close+0xcaa/0x1030 net/ipv4/tcp.c:2229
RSP: 0018:ffff8801c4a7fa98 EFLAGS: 00010297
RAX: ffff8801da008000 RBX: ffff8801cabf5800 RCX: 1ffff1003b401105
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801cabf58c0
RBP: ffff8801cabf5828 R08: 000000000000492d R09: ffffffffb4ceb088
R10: ffff8801da008858 R11: 0000000000000001 R12: ffff8801cabf5888
R13: ffff8801cabf5812 R14: ffff8801cabf5880 R15: 0000000000000007
 inet_release+0xf7/0x1c0 net/ipv4/af_inet.c:444
 inet6_release+0x4b/0x70 net/ipv6/af_inet6.c:451
 __sock_release+0xce/0x250 net/socket.c:602
 sock_close+0x15/0x20 net/socket.c:1138
 __fput+0x25e/0x6f0 fs/file_table.c:210
 task_work_run+0x116/0x190 kernel/task_work.c:113
 get_signal+0x109f/0x1470 kernel/signal.c:2178
 do_signal+0x8f/0x1660 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0x116/0x150 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:267 [inline]
 do_syscall_64+0x35d/0x4b0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457569
RSP: 002b:00007f14ad539c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: 0000000000364650 RBX: 0000000000000006 RCX: 0000000000457569
RDX: 08d2d601e8976aa5 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 000000000072bf00 R08: 000000002031e000 R09: 000000000000001c
R10: 0000000020000004 R11: 0000000000000246 R12: 00007f14ad53a6d4
R13: 00000000004c3c1d R14: 00000000004d5e98 R15: 00000000ffffffff
Kernel Offset: 0x30800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/19 02:36 android-4.14 4e76528bd48d adf636a8 .config console log report syz ci-android-414-kasan-gce-root
2018/11/17 23:01 android-4.14 4e76528bd48d adf636a8 .config console log report syz ci-android-414-kasan-gce-root
2018/10/22 11:54 android-4.14 c556d1ffe528 ecb386fe .config console log report syz ci-android-414-kasan-gce-root
2018/11/22 07:12 android-4.14 d8dce63b0484 9db828b5 .config console log report ci-android-414-kasan-gce-root
2018/11/19 01:54 android-4.14 4e76528bd48d adf636a8 .config console log report ci-android-414-kasan-gce-root
2018/11/18 18:52 android-4.14 4e76528bd48d adf636a8 .config console log report ci-android-414-kasan-gce-root
2018/11/17 22:25 android-4.14 4e76528bd48d adf636a8 .config console log report ci-android-414-kasan-gce-root
2018/11/02 15:28 android-4.14 4ed22187defd 1f38e9ae .config console log report ci-android-414-kasan-gce-root
2018/11/02 12:51 android-4.14 4ed22187defd 1f38e9ae .config console log report ci-android-414-kasan-gce-root
2018/10/22 11:13 android-4.14 c556d1ffe528 ecb386fe .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.