syzbot


KCSAN: data-race in netlink_connect / netlink_insert

Status: auto-closed as invalid on 2020/03/18 06:46
Subsystems: net
[Documentation on labels]
First crash: 1570d, last: 1570d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in netlink_connect / netlink_insert

read to 0xffff8880aa988340 of 1 bytes by task 22367 on cpu 0:
 netlink_connect+0x174/0x300 net/netlink/af_netlink.c:1090
 __sys_connect_file+0xf4/0x100 net/socket.c:1844
 __sys_connect+0x121/0x150 net/socket.c:1861
 __do_sys_connect net/socket.c:1872 [inline]
 __se_sys_connect net/socket.c:1869 [inline]
 __x64_sys_connect+0x4c/0x60 net/socket.c:1869
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8880aa988340 of 1 bytes by task 22345 on cpu 1:
 netlink_insert+0x4b7/0xa00 net/netlink/af_netlink.c:586
 netlink_autobind.isra.0+0xf8/0x170 net/netlink/af_netlink.c:831
 netlink_sendmsg+0x696/0x8b0 net/netlink/af_netlink.c:1880
 sock_sendmsg_nosec net/socket.c:639 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:659
 sock_write_iter+0x16b/0x210 net/socket.c:991
 call_write_iter include/linux/fs.h:1902 [inline]
 new_sync_write+0x388/0x4a0 fs/read_write.c:483
 __vfs_write+0xb1/0xc0 fs/read_write.c:496
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0x17b/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 22345 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/08 06:42 https://github.com/google/ktsan.git kcsan 245a43005292 6738e0b3 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.