syzbot


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

Status: auto-closed as invalid on 2021/09/22 07:53
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 625d, last: 469d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (2) 1 748d 719d 0/24 auto-closed as invalid on 2020/12/25 11:25
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (4) 13 325d 425d 0/24 auto-closed as invalid on 2022/02/13 19:27
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg 4 1046d 1119d 0/24 auto-closed as invalid on 2020/03/29 12:33
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (5) 11 18d 209d 23/24 internal: reported on 2022/05/05 11:52

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

write to 0xffff8881cc296b10 of 8 bytes by task 30398 on cpu 0:
 netlink_recvmsg+0xd5/0x750 net/netlink/af_netlink.c:1977
 ____sys_recvmsg+0x15d/0x310 include/linux/uio.h:240
 ___sys_recvmsg net/socket.c:2653 [inline]
 do_recvmmsg+0x35c/0x9f0 net/socket.c:2747
 __sys_recvmmsg net/socket.c:2828 [inline]
 __do_sys_recvmmsg net/socket.c:2849 [inline]
 __se_sys_recvmmsg net/socket.c:2842 [inline]
 __x64_sys_recvmmsg+0xe6/0x150 net/socket.c:2842
 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 0xffff8881cc296b10 of 8 bytes by task 30411 on cpu 1:
 netlink_recvmsg+0x8d/0x750 net/netlink/af_netlink.c:1976
 sock_recvmsg_nosec net/socket.c:943 [inline]
 sock_recvmsg net/socket.c:961 [inline]
 __sys_recvfrom+0x1d7/0x2a0 net/socket.c:2076
 __do_sys_recvfrom net/socket.c:2094 [inline]
 __se_sys_recvfrom net/socket.c:2090 [inline]
 __x64_sys_recvfrom+0x74/0x90 net/socket.c:2090
 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: 0x0000000000000000 -> 0x000000000000027f

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

Crashes (30):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/08/18 07:53 upstream 614cb2751d31 a2fe1cb5 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/07/23 08:49 upstream 9bead1b58c4c bc5f1d88 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/07/07 15:25 upstream 3dbdb38e2869 4846d5c1 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/06/18 10:04 upstream fd0aa1a4567d aba2b2fb .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/06/12 10:12 upstream f21b807c3cf8 1ba81399 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/06/03 00:42 upstream 324c92e5e0ee 0740de69 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/31 22:16 upstream c2131f7e73c9 032639db .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/27 11:49 upstream 7ac3a1c1ae51 858ea628 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/24 16:22 upstream c4681547bcce 3c7fef33 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/21 10:11 upstream ba816d3c265c 3c7fef33 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/18 23:07 upstream 8ac91e6c6033 a343ba6b .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/16 07:30 upstream c12a29ed9094 f54a5c09 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/14 12:30 upstream 315d99318179 8bdd5343 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/11 05:38 upstream 1140ab592e2e ca873091 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/09 23:40 upstream 9819f682e48c bc5434be .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/06 07:45 upstream a79cdfba68a1 06c27ff5 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/01 16:57 upstream 9f67672a817e 77e2b668 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/05/01 07:56 upstream 65c61de9d090 77e2b668 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/29 13:48 upstream d72cd4ad4174 77e2b668 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/28 07:34 upstream e359bce39d90 77e2b668 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/26 21:16 upstream 9f4ad9e425a1 805b5003 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/26 02:44 upstream d2d09fbe33f8 2a82f1b3 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/24 16:46 upstream 8db5efb83fa9 17f0b706 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/18 00:42 upstream 194cf4825638 7e2b734b .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/15 19:27 upstream 7f75285ca572 c59079a6 .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/14 19:12 upstream 50987beca096 3134b37f .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/12 16:04 upstream d434405aaab7 6a81331a .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/06 12:43 upstream 0a50438c8436 6a81331a .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/04/02 18:30 upstream 1678e493d530 6a81331a .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
ci2-upstream-kcsan-gce 2021/03/15 04:38 upstream 75013c6c52d8 cc1cff8f .config log report info KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
* Struck through repros no longer work on HEAD.