syzbot


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

Status: auto-closed as invalid on 2022/02/13 19:27
Subsystems: net
[Documentation on labels]
First crash: 1134d, last: 1034d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (6) net 2 587d 585d 22/28 fixed on 2023/06/08 14:41
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (3) net 30 1178d 1334d 0/28 auto-closed as invalid on 2021/09/22 07:53
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (2) net 1 1457d 1428d 0/28 auto-closed as invalid on 2020/12/25 11:25
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (7) net 1 406d 402d 25/28 fixed on 2023/12/22 15:08
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg net 4 1755d 1828d 0/28 auto-closed as invalid on 2020/03/29 12:33
upstream KCSAN: data-race in netlink_recvmsg / netlink_recvmsg (5) net 12 665d 918d 22/28 fixed on 2023/02/24 13:50

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

read to 0xffff88813bdb3338 of 8 bytes by task 4635 on cpu 1:
 netlink_recvmsg+0x10f/0x810 net/netlink/af_netlink.c:1968
 sock_recvmsg_nosec net/socket.c:944 [inline]
 sock_recvmsg net/socket.c:962 [inline]
 __sys_recvfrom+0x204/0x2c0 net/socket.c:2093
 __do_sys_recvfrom net/socket.c:2111 [inline]
 __se_sys_recvfrom net/socket.c:2107 [inline]
 __x64_sys_recvfrom+0x74/0x90 net/socket.c:2107
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

write to 0xffff88813bdb3338 of 8 bytes by task 4634 on cpu 0:
 netlink_recvmsg+0x150/0x810 net/netlink/af_netlink.c:1969
 ____sys_recvmsg+0x16c/0x320
 ___sys_recvmsg net/socket.c:2670 [inline]
 do_recvmmsg+0x3f5/0xae0 net/socket.c:2764
 __sys_recvmmsg net/socket.c:2843 [inline]
 __do_sys_recvmmsg net/socket.c:2866 [inline]
 __se_sys_recvmmsg net/socket.c:2859 [inline]
 __x64_sys_recvmmsg+0xde/0x160 net/socket.c:2859
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000000 -> 0x0000000000001000

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

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/09 19:18 upstream 4634129ad9fd 2ca0d385 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2022/01/08 00:22 upstream ddec8ed2d490 2ca0d385 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/12/27 23:24 upstream a8ad9a2434dc 5140bd58 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/12/23 17:33 upstream bc491fb12513 6caa12e4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/12/21 21:43 upstream 1c3e979bf3e2 6caa12e4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/12/06 15:14 upstream 0fcfb00b28c0 579a8754 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/11/27 07:41 upstream c5c17547b778 63eeac02 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/31 02:22 upstream 119c85055d86 098b5d53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/30 05:58 upstream a379fbbcb88b 098b5d53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/27 00:28 upstream 3906fe9bb7f1 d50eb50a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/23 14:57 upstream 9c0c4d24ac00 282f03fb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/23 04:01 upstream 64222515138e 282f03fb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
2021/10/01 14:56 upstream 4de593fb965f cc80db95 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_recvmsg / netlink_recvmsg
* Struck through repros no longer work on HEAD.