syzbot


KCSAN: data-race in netlink_bind / netlink_insert

Status: auto-closed as invalid on 2021/06/25 17:35
Subsystems: net
[Documentation on labels]
First crash: 1063d, last: 1063d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in netlink_bind / netlink_insert (2) net 1 985d 985d 0/26 auto-closed as invalid on 2021/09/11 13:28

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

write to 0xffff888106c85328 of 1 bytes by task 30962 on cpu 1:
 netlink_insert+0x5cc/0x7f0 net/netlink/af_netlink.c:595
 netlink_autobind+0xa9/0x150 net/netlink/af_netlink.c:840
 netlink_sendmsg+0x47c/0x7c0 net/netlink/af_netlink.c:1890
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg net/socket.c:674 [inline]
 sock_write_iter+0x1a4/0x200 net/socket.c:1001
 call_write_iter include/linux/fs.h:2114 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x69d/0x770 fs/read_write.c:605
 ksys_write+0xce/0x180 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:667
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888106c85328 of 1 bytes by task 30891 on cpu 0:
 netlink_bind+0x365/0xbb0 net/netlink/af_netlink.c:1013
 __sys_bind+0x200/0x290 net/socket.c:1637
 __do_sys_bind net/socket.c:1648 [inline]
 __se_sys_bind net/socket.c:1646 [inline]
 __x64_sys_bind+0x3d/0x50 net/socket.c:1646
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 30891 Comm: syz-executor.0 Not tainted 5.13.0-rc2-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
2021/05/21 17:25 upstream 79a106fc6585 3c7fef33 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_bind / netlink_insert
* Struck through repros no longer work on HEAD.