syzbot


KCSAN: data-race in netlink_dump / netlink_recvmsg (3)

Status: auto-closed as invalid on 2022/10/01 04:32
Subsystems: net
[Documentation on labels]
First crash: 612d, last: 580d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in netlink_dump / netlink_recvmsg (2) net 1 766d 766d 0/26 auto-closed as invalid on 2022/03/28 21:19
upstream KCSAN: data-race in netlink_dump / netlink_recvmsg (4) net 27 325d 535d 0/26 auto-obsoleted due to no activity on 2023/06/12 14:16
upstream KCSAN: data-race in netlink_dump / netlink_recvmsg net 2 1606d 1611d 0/26 closed as invalid on 2019/11/19 13:44

Sample crash report:
==================================================================
BUG: KCSAN: data-race in netlink_dump / netlink_recvmsg

write to 0xffff888156df3349 of 1 bytes by task 23601 on cpu 1:
 netlink_dump+0x64d/0x720 net/netlink/af_netlink.c:2312
 netlink_recvmsg+0x432/0x740 net/netlink/af_netlink.c:2002
 ____sys_recvmsg+0x162/0x2f0
 ___sys_recvmsg net/socket.c:2743 [inline]
 do_recvmmsg+0x2f1/0x710 net/socket.c:2837
 __sys_recvmmsg net/socket.c:2916 [inline]
 __do_sys_recvmmsg net/socket.c:2939 [inline]
 __se_sys_recvmmsg net/socket.c:2932 [inline]
 __x64_sys_recvmmsg+0xde/0x160 net/socket.c:2932
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888156df3349 of 1 bytes by task 23596 on cpu 0:
 netlink_recvmsg+0x3bf/0x740 net/netlink/af_netlink.c:2000
 ____sys_recvmsg+0x162/0x2f0
 ___sys_recvmsg net/socket.c:2743 [inline]
 do_recvmmsg+0x2f1/0x710 net/socket.c:2837
 __sys_recvmmsg net/socket.c:2916 [inline]
 __do_sys_recvmmsg net/socket.c:2939 [inline]
 __se_sys_recvmmsg net/socket.c:2932 [inline]
 __x64_sys_recvmmsg+0xde/0x160 net/socket.c:2932
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x01 -> 0x00

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 23596 Comm: syz-executor.5 Not tainted 6.0.0-rc2-syzkaller-00248-ge022620b5d05-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/27 04:22 upstream e022620b5d05 07177916 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/08/26 14:34 upstream 4c612826bec1 e5a303f1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/07/26 09:22 upstream e0dccc3b76fb 279b89c2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/07/25 10:55 upstream e0dccc3b76fb 664c519c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
* Struck through repros no longer work on HEAD.