syzbot


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

Status: auto-obsoleted due to no activity on 2023/06/12 14:16
Subsystems: net
[Documentation on labels]
First crash: 841d, last: 631d
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 1072d 1072d 0/28 auto-closed as invalid on 2022/03/28 21:19
upstream KCSAN: data-race in netlink_dump / netlink_recvmsg (3) net 4 885d 918d 0/28 auto-closed as invalid on 2022/10/01 04:32
upstream KCSAN: data-race in netlink_dump / netlink_recvmsg net 2 1911d 1917d 0/28 closed as invalid on 2019/11/19 13:44

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

write to 0xffff88812da01359 of 1 bytes by task 9089 on cpu 0:
 netlink_dump+0x648/0x710 net/netlink/af_netlink.c:2305
 netlink_recvmsg+0x420/0x750 net/netlink/af_netlink.c:1995
 sock_recvmsg_nosec net/socket.c:1019 [inline]
 sock_recvmsg net/socket.c:1040 [inline]
 ____sys_recvmsg+0x156/0x310 net/socket.c:2722
 ___sys_recvmsg net/socket.c:2764 [inline]
 do_recvmmsg+0x2e5/0x710 net/socket.c:2858
 __sys_recvmmsg net/socket.c:2937 [inline]
 __do_sys_recvmmsg net/socket.c:2960 [inline]
 __se_sys_recvmmsg net/socket.c:2953 [inline]
 __x64_sys_recvmmsg+0xe2/0x160 net/socket.c:2953
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88812da01359 of 1 bytes by task 9100 on cpu 1:
 netlink_recvmsg+0x3b4/0x750 net/netlink/af_netlink.c:1993
 sock_recvmsg_nosec+0x4c/0x80 net/socket.c:1019
 ____sys_recvmsg+0x2db/0x310 net/socket.c:2720
 ___sys_recvmsg net/socket.c:2764 [inline]
 do_recvmmsg+0x2e5/0x710 net/socket.c:2858
 __sys_recvmmsg net/socket.c:2937 [inline]
 __do_sys_recvmmsg net/socket.c:2960 [inline]
 __se_sys_recvmmsg net/socket.c:2953 [inline]
 __x64_sys_recvmmsg+0xe2/0x160 net/socket.c:2953
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x01 -> 0x00

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 9100 Comm: syz-executor.0 Not tainted 6.4.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/08 14:09 upstream ac9a78681b92 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/05/05 04:39 upstream 78b421b6a7c6 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/05/01 21:03 upstream c8c655c34e33 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/04/13 10:10 upstream de4664485abb 82d5e53e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/04/11 15:39 upstream 0d3eb744aed4 49faf98d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/04/08 21:54 upstream a79d5c76f705 71147e29 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/04/01 04:00 upstream 5a57b48fdfcb f325deb0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/03/24 14:58 upstream 1e760fa3596e 9700afae .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/03/15 10:26 upstream 6015b1aca1a2 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/03/01 00:56 upstream e492250d5252 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/28 10:55 upstream ae3419fbac84 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/27 21:50 upstream 982818426a0f 95aee97a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/27 08:06 upstream f3a2439f20d9 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/18 07:22 upstream 38f8ccde04a3 d02e9a70 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/08 10:20 upstream 0983f6bf2bfc 15c3d445 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/06 13:41 upstream d2d11f342b17 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/02 02:27 upstream 9f266ccaa2f5 9a6f477c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/02/01 13:00 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/01/28 14:54 upstream 5af6ce704936 9dfcf09c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/01/23 13:54 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/01/22 05:03 upstream 2241ab53cbb5 cc0f9968 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2023/01/03 01:36 upstream 69b41ac87e4a ab32d508 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/12/14 15:06 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/12/02 09:13 upstream ef4d3ea40565 e080de16 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/11/17 22:16 upstream 81ac25651a62 4ba8ab94 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/11/12 12:15 upstream 8f2975c2bb4c f42ee5d8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in netlink_dump / netlink_recvmsg
2022/10/10 15:45 upstream 493ffd6605b2 5bcf0c31 .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.