syzbot


KCSAN: data-race in ____sys_sendmsg / fasync_insert_entry (2)

Status: auto-closed as invalid on 2020/09/03 03:37
Subsystems: fs
[Documentation on labels]
First crash: 1833d, last: 1833d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ____sys_sendmsg / fasync_insert_entry (3) fs 6 1 1545d 1545d 0/29 auto-closed as invalid on 2021/06/18 13:34
upstream KCSAN: data-race in ____sys_sendmsg / fasync_insert_entry (4) fs 6 1 841d 841d 0/29 auto-obsoleted due to no activity on 2023/05/23 09:14
upstream KCSAN: data-race in ____sys_sendmsg / fasync_insert_entry fs 6 1 1886d 1886d 0/29 closed as invalid on 2020/06/18 14:13

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

write to 0xffff888101245340 of 4 bytes by task 6810 on cpu 0:
 fasync_insert_entry+0x137/0x160 fs/fcntl.c:939
 fasync_add_entry fs/fcntl.c:966 [inline]
 fasync_helper+0x59/0xc0 fs/fcntl.c:984
 sock_fasync+0x5c/0xc0 net/socket.c:1303
 setfl fs/fcntl.c:73 [inline]
 do_fcntl+0xb2b/0xbc0 fs/fcntl.c:347
 __do_sys_fcntl fs/fcntl.c:463 [inline]
 __se_sys_fcntl+0xc2/0x180 fs/fcntl.c:448
 __x64_sys_fcntl+0x3f/0x50 fs/fcntl.c:448
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888101245340 of 4 bytes by task 6811 on cpu 1:
 ____sys_sendmsg+0x234/0x4d0 net/socket.c:2337
 ___sys_sendmsg net/socket.c:2406 [inline]
 __sys_sendmmsg+0x322/0x4b0 net/socket.c:2496
 __do_sys_sendmmsg net/socket.c:2525 [inline]
 __se_sys_sendmmsg net/socket.c:2522 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2522
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 6811 Comm: syz-executor.3 Not tainted 5.8.0-rc7-syzkaller #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
2020/07/30 03:36 upstream 6ba1b005ffc3 233283a1 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.