syzbot


KCSAN: data-race in netlink_insert / netlink_sendmsg

Status: closed as invalid on 2019/11/19 13:44
Subsystems: net
[Documentation on labels]
First crash: 1638d, last: 1638d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in netlink_insert / netlink_sendmsg (2) net 2 1552d 1603d 0/26 auto-closed as invalid on 2020/03/28 20:50
upstream KCSAN: data-race in netlink_insert / netlink_sendmsg (3) net 14 1174d 1224d 0/26 auto-closed as invalid on 2021/03/06 18:35
upstream KCSAN: data-race in netlink_insert / netlink_sendmsg (4) net 88 924d 1005d 20/26 fixed on 2022/03/08 16:11

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

write to 0xffff8880abbaf340 of 1 bytes by task 24454 on cpu 0:
 netlink_insert+0x465/0x930 net/netlink/af_netlink.c:586
 netlink_autobind.isra.0+0xf8/0x170 net/netlink/af_netlink.c:831
 netlink_sendmsg+0x5eb/0x770 net/netlink/af_netlink.c:1880
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 ___sys_sendmsg+0x59d/0x5d0 net/socket.c:2311
 __sys_sendmsg+0xa0/0x160 net/socket.c:2356
 __do_sys_sendmsg net/socket.c:2365 [inline]
 __se_sys_sendmsg net/socket.c:2363 [inline]
 __x64_sys_sendmsg+0x51/0x70 net/socket.c:2363
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880abbaf340 of 1 bytes by task 24451 on cpu 1:
 netlink_sendmsg+0x23a/0x770 net/netlink/af_netlink.c:1879
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 ___sys_sendmsg+0x59d/0x5d0 net/socket.c:2311
 __sys_sendmsg+0xa0/0x160 net/socket.c:2356
 __do_sys_sendmsg net/socket.c:2365 [inline]
 __se_sys_sendmsg net/socket.c:2363 [inline]
 __x64_sys_sendmsg+0x51/0x70 net/socket.c:2363
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 24451 Comm: syz-executor.3 Not tainted 5.4.0-rc3+ #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
2019/10/25 03:00 https://github.com/google/ktsan.git kcsan 05f2236801fe d01bb02a .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.