syzbot


WARNING in inet_sock_destruct (2)

Status: closed as invalid on 2022/10/12 18:26
Subsystems: net
[Documentation on labels]
First crash: 1477d, last: 846d
Cause bisection: introduced by (bisect log) [merge commit]:
commit 4257087e8feb2e6f918eb0773eb1c1a697dd2a39
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Fri Nov 6 20:29:08 2020 +0000

  Merge tag 'arc-5.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc

Crash: BUG: sleeping function called from invalid context in sta_info_move_state (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit 584ce3c9b408a89fe5b7ac5b5b246b85c78defed
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Feb 21 02:16:30 2021 +0000

  Merge tag 'arm-platform-removal-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

  
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in inet_sock_destruct C 728 2288d 2062d 0/3 public: reported C repro on 2019/04/12 00:00
android-44 WARNING in inet_sock_destruct 12 2296d 2508d 0/2 auto-closed as invalid on 2019/02/22 12:37
upstream WARNING in inet_sock_destruct (4) net C done 6026 12h39m 529d 0/28 upstream: reported C repro on 2023/06/23 14:36
upstream WARNING in inet_sock_destruct (3) net C 87 548d 650d 22/28 fixed on 2023/06/08 14:41
linux-5.15 WARNING in inet_sock_destruct origin:upstream C 2036 23h36m 575d 0/3 upstream: reported C repro on 2023/05/08 19:19
linux-6.1 WARNING in inet_sock_destruct origin:upstream C 631 5d05h 601d 0/3 upstream: reported C repro on 2023/04/11 23:37
upstream WARNING in inet_sock_destruct net 5893 2590d 2585d 0/28 closed as invalid on 2018/01/30 22:53
linux-4.14 WARNING in inet_sock_destruct C inconclusive 1 1646d 1706d 0/1 upstream: reported C repro on 2020/04/02 03:04

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3645 at net/ipv4/af_inet.c:153 inet_sock_destruct+0x6b9/0x880 net/ipv4/af_inet.c:153
Modules linked in:
CPU: 0 PID: 3645 Comm: kworker/0:6 Not tainted 5.18.0-syzkaller-11972-gd1dc87763f40 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events mptcp_worker
RIP: 0010:inet_sock_destruct+0x6b9/0x880 net/ipv4/af_inet.c:153
Code: 41 8b 9c 24 28 02 00 00 e9 f2 fe ff ff e8 9f 1f 91 f9 0f 0b e9 df fd ff ff e8 93 1f 91 f9 0f 0b e9 30 fe ff ff e8 87 1f 91 f9 <0f> 0b e9 6b fe ff ff e8 7b 1f 91 f9 0f 0b e9 d8 fe ff ff e8 7f df
RSP: 0018:ffffc9000317fa88 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000032210 RCX: 0000000000000000
RDX: ffff888021085880 RSI: ffffffff87e964c9 RDI: 0000000000000005
RBP: ffff88807311f2e8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000032210 R11: 0000000000000001 R12: ffff88807311f2c0
R13: ffff88807311f534 R14: 0000000000000003 R15: ffff88806e4eaa58
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200e7000 CR3: 000000001d5c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sk_destruct+0x4d/0x710 net/core/sock.c:2067
 sk_destruct net/core/sock.c:2112 [inline]
 __sk_free+0x1a4/0x4a0 net/core/sock.c:2123
 sk_free+0x78/0xa0 net/core/sock.c:2134
 sock_put include/net/sock.h:1941 [inline]
 __mptcp_close_ssk+0x4f5/0x700 net/mptcp/protocol.c:2356
 __mptcp_destroy_sock+0x2d7/0x6b0 net/mptcp/protocol.c:2808
 mptcp_worker+0x478/0xd70 net/mptcp/protocol.c:2568
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>

Crashes (1259):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/02 23:43 upstream d1dc87763f40 5783034f .config strace log report syz C ci-upstream-kasan-gce WARNING in inet_sock_destruct
2021/12/15 00:31 upstream 5472f14a3742 d018dd31 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/14 10:00 upstream 5472f14a3742 5d14b1ea .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/13 08:51 upstream 90d9fbc16b69 49ca1f59 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/12 17:29 upstream a763d5a5abd6 49ca1f59 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/12 02:53 upstream 6f513529296f 49ca1f59 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/11 04:05 upstream b8a98b6bf66a 49ca1f59 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2021/12/10 13:32 upstream c741e49150db 4d4ce9bc .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2022/04/26 02:19 net-old ba5a4fdd63ae 152baedd .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/04/26 19:13 net-next-old cc271ab86606 1fa34c1b .config console log report syz C ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/08/02 08:37 linux-next cb71b93c2dc3 fef302b1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/12/17 20:43 linux-next fbf252e09678 44068e19 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/10/10 04:31 linux-next 683f29b781ae 838e7e2c .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/10/09 00:45 linux-next 683f29b781ae efe0f24d .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/10/08 06:47 linux-next f8dc23b3dc0c efe0f24d .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/10/08 00:57 linux-next f8dc23b3dc0c efe0f24d .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/10/06 01:02 linux-next 29616f67fcbd 0a63fd36 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2020/11/21 05:01 net-next-old 4082c502bf9c 740ff461 .config console log report syz C ci-upstream-net-kasan-gce
2020/11/21 02:35 net-next-old 4082c502bf9c 740ff461 .config console log report syz C ci-upstream-net-kasan-gce
2021/02/13 16:13 net-old 57baf8cc70ea 98682e5e .config console log report syz ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/08/10 13:44 upstream 200e340f2196 c2a623d6 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/08/09 01:49 upstream 200e340f2196 da700653 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in inet_sock_destruct
2022/08/04 17:52 upstream 200e340f2196 1c9013ac .config console log report info ci-upstream-kasan-gce-smack-root WARNING in inet_sock_destruct
2022/08/02 01:13 upstream 9de1f9c8ca51 fef302b1 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2022/07/31 09:00 upstream 6a010258447d fef302b1 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/30 11:09 upstream e65c6a46df94 fef302b1 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/22 06:00 upstream 4a57a8400075 5e6028b9 .config console log report info ci-qemu-upstream WARNING in inet_sock_destruct
2022/07/21 00:52 upstream 353f7988dd84 88cb1383 .config console log report info ci-upstream-kasan-gce-root WARNING in inet_sock_destruct
2022/07/17 19:08 upstream 972a278fe60c 95cb00d1 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/17 17:06 upstream 972a278fe60c 95cb00d1 .config console log report info ci-upstream-kasan-gce-root WARNING in inet_sock_destruct
2022/07/15 11:27 upstream e5d523f1ae8f 5d921b08 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/13 11:27 upstream b047602d579b 5d921b08 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/12 08:04 upstream 5a29232d870d da3d6955 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in inet_sock_destruct
2022/07/11 07:32 upstream 5867f3b88bb5 b5765a15 .config console log report info ci-upstream-kasan-gce-root WARNING in inet_sock_destruct
2022/07/10 04:15 upstream b1c428b6c368 b5765a15 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/09 20:44 upstream e5524c2a1fc4 b5765a15 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/07/09 13:09 upstream e5524c2a1fc4 b5765a15 .config console log report info ci-upstream-kasan-gce-root WARNING in inet_sock_destruct
2022/07/03 14:12 upstream 69cb6c6556ad 1434eec0 .config console log report info ci-upstream-kasan-gce WARNING in inet_sock_destruct
2022/06/17 04:11 upstream 0639b599f6f3 1719ee24 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in inet_sock_destruct
2022/08/07 02:31 upstream 200e340f2196 88e3a122 .config console log report info ci-qemu-upstream-386 WARNING in inet_sock_destruct
2022/06/23 05:08 upstream 3abc3ae553c7 912f5df7 .config console log report info ci-qemu-upstream-386 WARNING in inet_sock_destruct
2022/06/19 04:13 upstream 4b35035bcf80 8f633d84 .config console log report info ci-upstream-kasan-gce-386 WARNING in inet_sock_destruct
2022/08/04 16:43 net-old 8eaa1d110800 1c9013ac .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/30 01:57 net-old d7c4c9e075f8 fef302b1 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/29 11:57 net-old d7c4c9e075f8 fef302b1 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/28 03:32 net-old e62d2e110356 fb95c74d .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/27 07:01 net-old b5177ed92bf6 da9d0366 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/24 05:28 net-old 4d8f24eeedc5 22343af4 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/22 22:06 net-old ebbbe23fdf60 22343af4 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/22 19:05 net-old ebbbe23fdf60 22343af4 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/22 15:34 net-old ebbbe23fdf60 22343af4 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/16 08:00 net-old 11052589cf5c 95cb00d1 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/15 13:35 net-old 8f3184b95116 5d921b08 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/14 07:10 net-old b11e5f6a3a5c 5d921b08 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/10 11:07 net-old 72a0b329114b b5765a15 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/04 09:35 net-old ea1c3b77bc0b 1434eec0 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/07/03 09:11 net-old 3d5a2a396f19 1434eec0 .config console log report info ci-upstream-net-this-kasan-gce WARNING in inet_sock_destruct
2022/08/05 21:00 net-next-old 3c47fb2f4c4d e853abd9 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/26 03:00 net-next-old 3c47fb2f4c4d 34795c51 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/25 18:49 net-next-old 3c47fb2f4c4d 664c519c .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/23 14:07 net-next-old 3c47fb2f4c4d 22343af4 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/22 11:15 net-next-old b66eb3a6e427 22343af4 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/21 14:12 net-next-old bf2200e8491b 6e67af9d .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/21 11:27 net-next-old bf2200e8491b 6e67af9d .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/15 21:05 net-next-old 459f326e995c 95cb00d1 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/14 23:54 net-next-old b126047f43f1 5d921b08 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/14 11:28 net-next-old 9b633670087e 5d921b08 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/11 18:09 net-next-old 0076cad30135 da3d6955 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/08 03:07 net-next-old cf21b355ccb3 bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/07 21:08 net-next-old 7ed5f2454acf bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/07 04:21 net-next-old 4874fb9484be bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/06 06:14 net-next-old 7e40e16e38ba bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/05 07:28 net-next-old 874bdbfe624e bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/05 06:23 net-next-old 874bdbfe624e bff65f44 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/07/03 22:08 net-next-old d0bf1fe6454e 1434eec0 .config console log report info ci-upstream-net-kasan-gce WARNING in inet_sock_destruct
2022/08/07 01:15 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2022/07/27 01:26 linux-next cb71b93c2dc3 279b89c2 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in inet_sock_destruct
2021/01/14 16:07 net-next-old 0ae5b43d6dde 65a7a854 .config console log report info ci-upstream-net-kasan-gce
2020/11/17 14:54 linux-next 7c8ca8129ee9 bd2a760b .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.