syzbot


KCSAN: data-race in af_alg_sendpage / af_alg_wait_for_data (2)

Status: auto-closed as invalid on 2020/09/02 06:27
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 834d, last: 794d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in af_alg_sendpage / af_alg_wait_for_data 4 837d 863d 0/24 closed as invalid on 2020/06/18 14:13

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

write to 0xffff8880755dd0d4 of 1 bytes by task 28850 on cpu 1:
 af_alg_sendpage+0x4e2/0x530 crypto/af_alg.c:1000
 kernel_sendpage net/socket.c:3642 [inline]
 sock_sendpage+0x84/0xc0 net/socket.c:945
 pipe_to_sendpage+0x128/0x160 fs/splice.c:448
 splice_from_pipe_feed fs/splice.c:502 [inline]
 __splice_from_pipe+0x1f7/0x4f0 fs/splice.c:626
 splice_from_pipe fs/splice.c:661 [inline]
 generic_splice_sendpage+0x80/0xb0 fs/splice.c:834
 do_splice_from fs/splice.c:846 [inline]
 direct_splice_actor+0x95/0x160 fs/splice.c:1016
 splice_direct_to_actor+0x365/0x660 fs/splice.c:971
 do_splice_direct+0xf2/0x170 fs/splice.c:1059
 do_sendfile+0x562/0xb10 fs/read_write.c:1540
 __do_sys_sendfile64 fs/read_write.c:1601 [inline]
 __se_sys_sendfile64 fs/read_write.c:1587 [inline]
 __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1587
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880755dd0d4 of 1 bytes by task 28844 on cpu 0:
 af_alg_wait_for_data+0x158/0x270 crypto/af_alg.c:757
 _aead_recvmsg crypto/algif_aead.c:110 [inline]
 aead_recvmsg+0x271/0xd00 crypto/algif_aead.c:330
 sock_recvmsg_nosec net/socket.c:886 [inline]
 sock_recvmsg net/socket.c:904 [inline]
 sock_read_iter+0x19c/0x1e0 net/socket.c:977
 call_read_iter include/linux/fs.h:1902 [inline]
 generic_file_splice_read+0x22a/0x310 fs/splice.c:312
 sock_splice_read+0xa5/0xb0 net/socket.c:955
 do_splice_to fs/splice.c:870 [inline]
 do_splice+0xe6b/0x10c0 fs/splice.c:1179
 __do_sys_splice fs/splice.c:1419 [inline]
 __se_sys_splice fs/splice.c:1401 [inline]
 __x64_sys_splice+0xf2/0x190 fs/splice.c:1401
 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: 0 PID: 28844 Comm: syz-executor.2 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (23):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/07/29 06:20 upstream 6ba1b005ffc3 cb93dc6a .config log report
ci2-upstream-kcsan-gce 2020/07/22 20:39 upstream 8c26c87b0532 128cd85f .config log report
ci2-upstream-kcsan-gce 2020/07/22 04:01 upstream 4fa640dc5230 21f1765e .config log report
ci2-upstream-kcsan-gce 2020/07/17 14:33 upstream 8882572675c1 9c812472 .config log report
ci2-upstream-kcsan-gce 2020/07/17 00:19 upstream 07a56bb875af 54b3c45e .config log report
ci2-upstream-kcsan-gce 2020/07/15 01:38 upstream e9919e11e219 ada108d0 .config log report
ci2-upstream-kcsan-gce 2020/07/14 12:36 upstream 0dc589da873b 6f458026 .config log report
ci2-upstream-kcsan-gce 2020/07/14 03:40 upstream 0dc589da873b ce4c95b3 .config log report
ci2-upstream-kcsan-gce 2020/07/13 10:17 upstream 11ba468877bb f90ec899 .config log report
ci2-upstream-kcsan-gce 2020/07/12 06:38 upstream 0aea6d5c5be3 115e1930 .config log report
ci2-upstream-kcsan-gce 2020/07/03 12:22 upstream cdd3bb54332f 6e569755 .config log report
ci2-upstream-kcsan-gce 2020/07/01 23:59 upstream edb543cfe5db bed10395 .config log report
ci2-upstream-kcsan-gce 2020/07/01 16:35 upstream 7c30b859a947 39acb39d .config log report
ci2-upstream-kcsan-gce 2020/07/01 09:10 upstream 7c30b859a947 c0383ebe .config log report
ci2-upstream-kcsan-gce 2020/06/30 21:17 upstream 7c30b859a947 c0383ebe .config log report
ci2-upstream-kcsan-gce 2020/06/30 08:39 upstream 7c30b859a947 917afeaa .config log report
ci2-upstream-kcsan-gce 2020/06/30 00:56 upstream 7c30b859a947 917afeaa .config log report
ci2-upstream-kcsan-gce 2020/06/29 18:27 upstream 7c30b859a947 ce9ef6f2 .config log report
ci2-upstream-kcsan-gce 2020/06/29 15:07 upstream 9ebcfadb0610 ce9ef6f2 .config log report
ci2-upstream-kcsan-gce 2020/06/29 04:13 upstream 9ebcfadb0610 a2cdad9d .config log report
ci2-upstream-kcsan-gce 2020/06/24 03:22 upstream 3e08a95294a4 bbad15ae .config log report
ci2-upstream-kcsan-gce 2020/06/23 15:28 upstream dd0d718152e4 54566aff .config log report
ci2-upstream-kcsan-gce 2020/06/19 02:52 upstream 5e857ce6eae7 bc258b50 .config log report
* Struck through repros no longer work on HEAD.