syzbot


WARNING: locking bug in inet_autobind

Status: upstream: reported syz repro on 2019/05/16 05:46
Reported-by: syzbot+94cc2a66fc228b23f360@syzkaller.appspotmail.com
First crash: 1294d, last: 74d

Cause bisection: introduced by (bisect log) :
commit c0d9271ecbd891cdeb0fad1edcdd99ee717a655f
Author: Yong Zhao <Yong.Zhao@amd.com>
Date: Fri Feb 1 23:36:21 2019 +0000

  drm/amdgpu: Delete user queue doorbell variables

Crash: WARNING: locking bug in inet_autobind (log)
Repro: syz .config

Fix bisection: failed (bisect log)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: locking bug in tomoyo_supervisor syz done 1 962d 958d 0/24 closed as dup on 2020/04/17 04:38
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: locking bug in inet_autobind (2) 1 957d 957d 0/1 auto-closed as invalid on 2020/08/15 18:15
linux-4.14 WARNING: locking bug in inet_autobind 1 1245d 1245d 0/1 auto-closed as invalid on 2019/11/01 17:53
linux-4.19 WARNING: locking bug in inet_autobind C error 40 39d 748d 0/1 upstream: reported C repro on 2020/11/12 14:20
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/19 06:18 16m penguin-kernel@i-love.sakura.ne.jp patch upstream OK log
2022/09/17 21:29 10m net report log
2022/09/13 04:27 15m upstream OK log
2022/09/13 01:27 15m upstream OK log
2022/08/31 03:27 19m upstream OK log
2022/08/09 18:13 9m gautammenghani201@gmail.com upstream error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10882 at kernel/locking/lockdep.c:897 look_up_lock_class+0x6a/0xd0 kernel/locking/lockdep.c:897
Modules linked in:
CPU: 0 PID: 10882 Comm: syz-executor.0 Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:look_up_lock_class+0x6a/0xd0 kernel/locking/lockdep.c:897
Code: 85 c0 75 0a eb 57 48 8b 00 48 85 c0 74 4f 48 39 70 40 75 f2 48 8b 4f 18 48 39 88 b0 00 00 00 74 0b 48 81 3f 00 35 f0 8e 74 02 <0f> 0b 5d c3 9c 5a 80 e6 02 74 c2 e8 26 4f a1 fa 85 c0 74 1f 8b 05
RSP: 0018:ffffc900045afa30 EFLAGS: 00010002
RAX: ffffffff8fd4a980 RBX: ffffffff9024d9a0 RCX: ffffffff8aa6fbe0
RDX: 0000000000000046 RSI: ffffffff905c4440 RDI: ffff888078fd70a0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888078fd70a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007ff7ac23a700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe17790720 CR3: 0000000070c22000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 register_lock_class+0xb7/0x10c0 kernel/locking/lockdep.c:1246
 __lock_acquire+0x105/0x54a0 kernel/locking/lockdep.c:4894
 lock_acquire kernel/locking/lockdep.c:5625 [inline]
 lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 lock_sock_nested+0x5d/0xf0 net/core/sock.c:3206
 lock_sock include/net/sock.h:1615 [inline]
 inet_autobind+0x1a/0x190 net/ipv4/af_inet.c:180
 inet_dgram_connect+0x1f5/0x2d0 net/ipv4/af_inet.c:578
 __sys_connect_file+0x155/0x1a0 net/socket.c:1896
 __sys_connect+0x161/0x190 net/socket.c:1913
 __do_sys_connect net/socket.c:1923 [inline]
 __se_sys_connect net/socket.c:1920 [inline]
 __x64_sys_connect+0x6f/0xb0 net/socket.c:1920
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7ff7acae5a39
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff7ac23a188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007ff7acbe9020 RCX: 00007ff7acae5a39
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007ff7acb3fe8f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe8321966f R14: 00007ff7ac23a300 R15: 0000000000022000

Crashes (102):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/10/26 18:15 upstream 3906fe9bb7f1 d50eb50a .config log report syz WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-root 2021/10/06 03:25 upstream f6274b06e326 0a63fd36 .config log report syz WARNING: locking bug in inet_autobind
ci-upstream-linux-next-kasan-gce-root 2021/04/01 08:37 linux-next 931294922e65 6a81331a .config log report syz WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2020/11/23 02:13 upstream a349e4c65960 0d27f508 .config log report syz
ci-upstream-kasan-gce-root 2020/06/25 05:56 upstream 7ae77150d94d 54566aff .config log report syz
ci-upstream-kasan-gce-root 2020/04/10 20:48 upstream c0cc271173b2 a8c6a3f8 .config log report syz
ci-upstream-kasan-gce 2020/04/01 19:28 upstream 1a323ea5356e a34e2c33 .config log report syz
ci-upstream-kasan-gce 2019/09/19 21:16 upstream b41dae061bbd eb940044 .config log report syz
ci-upstream-kasan-gce-smack-root 2019/06/06 20:28 upstream 156c05917e09 698773cb .config log report syz
ci-upstream-net-this-kasan-gce 2020/10/14 16:26 net 1e40d75ef90c fc7735a2 .config log report syz
ci-upstream-net-kasan-gce 2020/10/12 09:08 net-next bc081a693a56 4a77ae0b .config log report syz
ci-upstream-net-kasan-gce 2019/06/06 01:50 net-next 2a99283cb7c1 bfb4a51e .config log report syz
ci-upstream-net-kasan-gce 2019/05/21 08:30 net-next f49aa1de9836 8285069f .config log report syz
ci-upstream-linux-next-kasan-gce-root 2020/09/07 04:23 linux-next 7a6956579ce6 abf9ba4f .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/06/16 03:33 linux-next f4788d37bc84 442206d7 .config log report syz
ci-upstream-kasan-gce-386 2020/11/30 01:26 upstream aae5ab854e38 a0092f9d .config log report syz
ci-qemu-upstream-386 2020/10/07 13:28 upstream c85fb28b6f99 1880b4a9 .config log report syz
ci-upstream-kasan-gce-386 2020/09/01 11:19 upstream b51594df17d0 d5a3ae1f .config log report syz
ci-upstream-kasan-gce 2021/12/24 03:28 upstream 76657eaef4a7 6caa12e4 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/12/09 05:11 upstream 2a987e65025e a4a2a501 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/11/13 15:32 upstream 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-root 2021/11/08 07:49 upstream 6b75d88fa81b 4c1be0be .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/11/05 01:59 upstream 7ddb58cb0eca 4c1be0be .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/11/01 09:28 upstream 8bb7eca972ad 098b5d53 .config log report info WARNING: locking bug in inet_autobind
ci-qemu-upstream 2021/11/01 05:22 upstream 8bb7eca972ad 098b5d53 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/08/22 17:12 upstream 9ff50bf2f2ff b599f2fc .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-root 2021/07/12 23:45 upstream 7fef2edf7cc7 f415556d .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/05/17 20:26 upstream d07f6ca923ea a2eb125d .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/03/27 20:38 upstream 0f4498cef9f5 a8529b82 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/03/24 09:17 upstream 7acac4b3196c e613994b .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/02/20 14:21 upstream f40ddce88593 3e5ed8b4 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/01/19 16:07 upstream 1e2a199f6ccd 63631df1 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/01/19 06:49 upstream 1e2a199f6ccd 63631df1 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-386 2022/01/19 03:35 upstream 99613159ad74 731a2d23 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-386 2021/12/03 04:27 upstream a51e3ac43ddb 61f86278 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce-386 2021/11/29 03:27 upstream d06c942efea4 63eeac02 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-net-this-kasan-gce 2021/06/15 05:05 net 49a10c7b1762 1ba81399 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-net-kasan-gce 2022/04/16 22:16 net-next 0339d25a2807 8bcc32a6 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-net-kasan-gce 2021/04/13 10:40 net-next c82eaa4064f3 bfeda1b1 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-linux-next-kasan-gce-root 2021/08/25 15:11 linux-next 372b2891c15a b599f2fc .config log report info WARNING: locking bug in inet_autobind
ci-upstream-linux-next-kasan-gce-root 2021/07/28 22:10 linux-next 42d0b5f52c9b 9a4781d4 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-linux-next-kasan-gce-root 2021/02/03 13:08 linux-next fb2a9c320987 624dad51 .config log report info WARNING: locking bug in inet_autobind
ci-upstream-kasan-gce 2021/01/11 17:56 upstream 7c53f6b671f4 2c1f2513 .config log report info
ci-upstream-kasan-gce 2020/09/28 11:53 upstream a1b8638ba132 6bfdbe89 .config log report info
ci-upstream-kasan-gce 2020/09/25 20:15 upstream 171d4ff79f96 4a006f63 .config log report info
ci-upstream-kasan-gce 2020/09/24 08:25 upstream c9c9e6a49f89 54289b08 .config log report info
ci-upstream-kasan-gce 2020/09/06 00:25 upstream 9322c47b21b9 abf9ba4f .config log report
ci-upstream-kasan-gce 2020/08/25 05:17 upstream 6a9dc5fd6170 344da168 .config log report
ci-upstream-kasan-gce 2020/08/14 06:22 upstream 990f227371a4 54ce1ed6 .config log report
ci-upstream-kasan-gce 2019/11/16 23:34 upstream 6c9594bdd474 d5696d51 .config log report
ci-upstream-kasan-gce 2019/11/13 03:16 upstream 100d46bd72ec 048f2d49 .config log report
ci-upstream-kasan-gce 2019/11/12 00:38 upstream 31f4f5b495a6 048f2d49 .config log report
ci-upstream-kasan-gce-root 2019/11/08 08:11 upstream 847120f859cc 1e35461e .config log report
ci-upstream-kasan-gce 2019/10/31 20:30 upstream e472c64aa4fa a41ca8fa .config log report
ci-upstream-kasan-gce-root 2019/10/19 13:10 upstream b9959c7a347d 8c88c9c1 .config log report
ci-upstream-kasan-gce-386 2020/12/26 18:37 upstream 40f78232f973 821e0b09 .config log report info
ci-upstream-kasan-gce-386 2020/07/06 00:00 upstream 7cc2a8ea1048 51095195 .config log report
ci-upstream-kasan-gce-386 2020/05/24 12:31 upstream 423b8baf18a8 96c92ad3 .config log report
ci-upstream-kasan-gce-386 2019/11/22 04:14 upstream 81429eb8d9ca 8098ea0f .config log report
ci-upstream-net-this-kasan-gce 2020/05/23 21:00 net d04322a0da1e 9682898d .config log report
ci-upstream-net-this-kasan-gce 2020/05/14 03:58 net 99addbe31f55 a885920d .config log report
ci-upstream-net-this-kasan-gce 2019/09/28 09:10 net faeacb6ddb13 d8074e0b .config log report
ci-upstream-net-this-kasan-gce 2019/09/24 07:17 net 34b4688425d9 c68252d2 .config log report
ci-upstream-net-kasan-gce 2020/04/09 06:24 net-next 63bef48fd6c9 a8c6a3f8 .config log report
ci-upstream-net-kasan-gce 2019/11/14 06:24 net-next 90bc72b13c08 048f2d49 .config log report
ci-upstream-net-kasan-gce 2019/10/12 19:17 net-next 524900a212f4 426631dd .config log report
ci-upstream-net-kasan-gce 2019/05/16 00:34 net-next 35c99ffa20ed 051c49fe .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/23 23:57 linux-next 494d311a82bb cef5ae68 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/04/26 02:44 linux-next ac935d227366 b8bb8e5f .config log report
* Struck through repros no longer work on HEAD.