syzbot


KMSAN: uninit-value in vsock_assign_transport

Status: auto-obsoleted due to no activity on 2024/03/01 07:31
Subsystems: net virt
[Documentation on labels]
First crash: 179d, last: 165d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in vsock_assign_transport (2) virt net C 6 12d 26d 0/26 upstream: reported C repro on 2024/04/19 09:39
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/02/10 17:34 1h00m retest repro upstream OK log
2023/12/02 07:07 18m retest repro upstream report log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in vsock_assign_transport+0xb03/0xb70 net/vmw_vsock/af_vsock.c:500
 vsock_assign_transport+0xb03/0xb70 net/vmw_vsock/af_vsock.c:500
 vsock_connect+0x53f/0x1540 net/vmw_vsock/af_vsock.c:1393
 __sys_connect_file net/socket.c:2046 [inline]
 __sys_connect+0x5f9/0x680 net/socket.c:2063
 __do_sys_connect net/socket.c:2073 [inline]
 __se_sys_connect net/socket.c:2070 [inline]
 __x64_sys_connect+0x91/0xe0 net/socket.c:2070
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

Uninit was created at:
 __kmalloc_large_node+0x231/0x370 mm/slab_common.c:1158
 __do_kmalloc_node mm/slab_common.c:995 [inline]
 __kmalloc_node+0x1d6/0x3c0 mm/slab_common.c:1014
 kmalloc_node include/linux/slab.h:620 [inline]
 kvmalloc_node+0xc0/0x2d0 mm/util.c:607
 kvmalloc include/linux/slab.h:738 [inline]
 vhost_vsock_dev_open+0x44/0x510 drivers/vhost/vsock.c:658
 misc_open+0x668/0x750 drivers/char/misc.c:165
 chrdev_open+0x965/0xa90 fs/char_dev.c:414
 do_dentry_open+0x11e6/0x2110 fs/open.c:948
 vfs_open+0x7e/0xa0 fs/open.c:1082
 do_open fs/namei.c:3622 [inline]
 path_openat+0x4ae2/0x5c70 fs/namei.c:3779
 do_filp_open+0x20d/0x590 fs/namei.c:3809
 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1440
 do_sys_open fs/open.c:1455 [inline]
 __do_sys_openat fs/open.c:1471 [inline]
 __se_sys_openat fs/open.c:1466 [inline]
 __x64_sys_openat+0x2a1/0x310 fs/open.c:1466
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

CPU: 1 PID: 5009 Comm: syz-executor160 Not tainted 6.7.0-rc1-syzkaller-00139-g6bc40e44f1dd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
=====================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/18 01:46 upstream 6bc40e44f1dd cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in vsock_assign_transport
2023/11/18 00:02 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in vsock_assign_transport
* Struck through repros no longer work on HEAD.