syzbot


KCSAN: data-race in netlink_bind / netlink_insert (2)

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

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

write to 0xffff88812d5c6330 of 1 bytes by task 13086 on cpu 1:
 netlink_insert+0x5cc/0x7f0 net/netlink/af_netlink.c:597
 netlink_autobind+0xa9/0x150 net/netlink/af_netlink.c:842
 netlink_sendmsg+0x479/0x7c0 net/netlink/af_netlink.c:1892
 sock_sendmsg_nosec net/socket.c:703 [inline]
 sock_sendmsg net/socket.c:723 [inline]
 sock_write_iter+0x1a4/0x200 net/socket.c:1056
 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_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812d5c6330 of 1 bytes by task 13051 on cpu 0:
 netlink_bind+0x365/0xbb0 net/netlink/af_netlink.c:1015
 __sys_bind+0x200/0x290 net/socket.c:1679
 __do_sys_bind net/socket.c:1690 [inline]
 __se_sys_bind net/socket.c:1688 [inline]
 __x64_sys_bind+0x3d/0x50 net/socket.c:1688
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13051 Comm: syz-executor.2 Not tainted 5.14.0-rc4-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/08/07 13:20 upstream c9194f32bfd9 6972b106 .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.