syzbot


net-next test error: WARNING in __sock_create

Status: internal: reported on 2024/10/16 18:41
Subsystems: net
[Documentation on labels]
Fix commit: ba4e469e42fe vsock: do not leave dangling sk pointer in vsock_create()
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm ci-qemu2-riscv64 ci-upstream-gce-arm64]
First crash: 47d, last: 35d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5913 at net/socket.c:1581 __sock_create+0x897/0x950 net/socket.c:1581
Modules linked in:
CPU: 1 UID: 0 PID: 5913 Comm: syz.1.67 Not tainted 6.12.0-rc4-syzkaller-00781-g25872a079bbb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__sock_create+0x897/0x950 net/socket.c:1581
Code: 7e 06 01 65 48 8b 34 25 00 d8 03 00 48 81 c6 b0 08 00 00 48 c7 c7 20 0b 0d 8d e8 d4 d9 3c 02 e9 11 f8 ff ff e8 ba 69 0c f8 90 <0f> 0b 90 e9 82 fd ff ff 89 e9 80 e1 07 fe c1 38 c1 0f 8c c7 f8 ff
RSP: 0018:ffffc90003f57da8 EFLAGS: 00010293
RAX: ffffffff89886e06 RBX: ffff8880788c5418 RCX: ffff88801f783c00
RDX: 0000000000000000 RSI: 00000000ffffffed RDI: 0000000000000000
RBP: ffffffff8d333850 R08: ffffffff89886a0e R09: ffffffff898a790a
R10: dffffc0000000000 R11: fffffbfff203a4ae R12: 00000000ffffffed
R13: ffff8880788c54c0 R14: ffffffff898868a7 R15: dffffc0000000000
FS:  0000555586a89500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe59a319e10 CR3: 00000000357e6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sock_create net/socket.c:1632 [inline]
 __sys_socket_create net/socket.c:1669 [inline]
 __sys_socket+0x150/0x3c0 net/socket.c:1716
 __do_sys_socket net/socket.c:1730 [inline]
 __se_sys_socket net/socket.c:1728 [inline]
 __x64_sys_socket+0x7a/0x90 net/socket.c:1728
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe59a37e719
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe09c08e38 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fe59a535f80 RCX: 00007fe59a37e719
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000028
RBP: 00007fe59a3f132e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe59a535f80 R14: 00007fe59a535f80 R15: 00000000000012e0
 </TASK>

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/29 01:17 net-next 25872a079bbb 9efb3cc7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/29 00:12 net-next c7cf3e928e63 9efb3cc7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/28 20:37 net-next 05c9afb9bfa3 9efb3cc7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/28 16:38 net-next b8ee7a11c754 9efb3cc7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/28 15:01 net-next b8ee7a11c754 9efb3cc7 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/28 14:09 net-next b8ee7a11c754 65e8686b .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/28 12:06 net-next 788d5d655bc9 65e8686b .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/25 16:07 net-next 03fc07a24735 65e8686b .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/25 08:19 net-next 03fc07a24735 c79b8ca5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/25 03:25 net-next 81bc949f640f c79b8ca5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/24 18:29 net-next 81bc949f640f 9fc8fe02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/24 17:04 net-next 8b448f0dbcae 9fc8fe02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/24 08:59 net-next 1bf70e6c3a53 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 15:17 net-next d05596f24857 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 12:18 net-next b0b3683419b4 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 11:37 net-next 7213a1c417d2 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 10:58 net-next 83c289e81e88 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 09:38 net-next 94fa523e20c3 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 08:37 net-next 6886c14bdc30 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/23 02:38 net-next 73840ca5ef36 15fa2979 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/22 23:45 net-next 73840ca5ef36 9d74f456 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/22 14:55 net-next d811ac148f0a 9d74f456 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/22 12:23 net-next 66ffef35680b a93682b3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/22 11:40 net-next c797cb9c0988 a93682b3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/22 09:40 net-next d89fa2739583 a93682b3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/21 14:37 net-next 6f07cd830170 a93682b3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/21 13:02 net-next 6f07cd830170 cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/21 11:51 net-next 7cb08476e19f cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/21 10:04 net-next 90cb5f1776ba cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/21 09:03 net-next 91afa49a3eda cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/20 16:53 net-next 906c68657850 cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/18 13:52 net-next 160a810b2a85 cd6fc0a3 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/18 12:46 net-next 160a810b2a85 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/18 04:00 net-next 30d9d8f6a2d7 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/18 03:06 net-next 546875ccba93 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/17 23:58 net-next ff1d3484d6d2 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/17 18:02 net-next f87a17ed3b51 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/17 14:49 net-next f87a17ed3b51 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/17 09:04 net-next e60fa8ebc2af 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/17 08:20 net-next 5cb409b3960e 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
2024/10/16 18:41 net-next 53bac8330865 666f77ed .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in __sock_create
* Struck through repros no longer work on HEAD.