syzbot


KCSAN: data-race in io_submit_sqes / io_uring_poll (4)

Status: moderation: reported on 2022/03/14 15:49
Reported-by: syzbot+494e8a731683d8eca84d@syzkaller.appspotmail.com
First crash: 266d, last: 32d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_submit_sqes / io_uring_poll (2) 1 632d 632d 0/24 auto-closed as invalid on 2021/02/08 06:39
upstream KCSAN: data-race in io_submit_sqes / io_uring_poll (3) 55 310d 387d 0/24 auto-closed as invalid on 2021/12/27 08:47
upstream KCSAN: data-race in io_submit_sqes / io_uring_poll 2 734d 760d 0/24 auto-closed as invalid on 2020/10/29 16:22

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

read-write to 0xffff888107cb6870 of 4 bytes by task 5851 on cpu 0:
 io_get_sqe io_uring/io_uring.c:2067 [inline]
 io_submit_sqes+0x1f1/0x530 io_uring/io_uring.c:2113
 __do_sys_io_uring_enter io_uring/io_uring.c:3054 [inline]
 __se_sys_io_uring_enter+0x254/0xa50 io_uring/io_uring.c:2984
 __x64_sys_io_uring_enter+0x74/0x80 io_uring/io_uring.c:2984
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888107cb6870 of 4 bytes by task 5835 on cpu 1:
 io_sqring_full io_uring/io_uring.h:213 [inline]
 io_uring_poll+0x8d/0x150 io_uring/io_uring.c:2495
 vfs_poll include/linux/poll.h:88 [inline]
 do_pollfd fs/select.c:873 [inline]
 do_poll fs/select.c:921 [inline]
 do_sys_poll+0x6d5/0xca0 fs/select.c:1015
 __do_sys_ppoll fs/select.c:1121 [inline]
 __se_sys_ppoll+0x195/0x1d0 fs/select.c:1101
 __x64_sys_ppoll+0x63/0x70 fs/select.c:1101
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000006d -> 0x00000071

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 5835 Comm: syz-executor.4 Not tainted 6.0.0-rc2-syzkaller-00248-ge022620b5d05-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (123):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/08/27 12:18 upstream e022620b5d05 07177916 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/08/22 18:46 upstream 1c23f9e627a7 26a13b38 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/08/15 02:24 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/08/06 17:45 upstream 6614a3c3164a 88e3a122 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/08/01 11:41 upstream 3d7cb6b04c3f fef302b1 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/30 21:25 upstream 620725263f42 fef302b1 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/28 01:23 upstream 6e7765cb477a fb95c74d .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/22 19:19 upstream 4ba1329cbb94 22343af4 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/18 20:39 upstream 80e19f34c288 ff988920 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/18 06:15 upstream ff6992735ade 95cb00d1 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/16 20:02 upstream c658cabbfd32 95cb00d1 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/15 13:09 upstream e5d523f1ae8f 5d921b08 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/12 16:32 upstream 72a8e05d4f66 d91dd8ea .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/05 05:39 upstream c1084b6c5620 bff65f44 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/07/02 22:52 upstream 69cb6c6556ad 1434eec0 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/24 20:22 upstream 38bc4ac43168 a371c43c .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/24 11:51 upstream 92f20ff72066 a371c43c .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/24 08:57 upstream 92f20ff72066 a5dbd430 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/23 07:10 upstream de5c208d533a 912f5df7 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/22 17:53 upstream 3abc3ae553c7 912f5df7 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/20 15:35 upstream 78ca55889a54 b9406563 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/19 19:00 upstream 05c6ca8512f2 8f633d84 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/18 22:04 upstream 4b35035bcf80 8f633d84 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/16 22:26 upstream 48a23ec6ff2b 1719ee24 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/15 07:45 upstream 018ab4fabddd 127d1faf .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/09 23:43 upstream 3d9f55c57bc3 0d5abf15 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/08 17:10 upstream 34f4335c16a5 b2706118 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/05 15:41 upstream 952923ddc011 c8857892 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/05 03:57 upstream d0e60d46bc03 c8857892 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/06/03 15:07 upstream 50fd82b3a9a9 eee80d3c .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/05/31 03:53 upstream 2c5ca23f7414 af70c3a9 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/05/18 09:41 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/24 09:17 upstream 22da5264abf4 131df97d .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/23 05:54 upstream c00c5e1d157b 131df97d .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/20 11:49 upstream 559089e0a93d 7d7bc738 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/19 18:45 upstream b7f73403a3e9 33fc6ed6 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/19 10:33 upstream b2d229d4ddb1 c334415e .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/18 10:14 upstream b2d229d4ddb1 8bcc32a6 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/15 17:52 upstream 028192fea1de 8bcc32a6 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/14 14:53 upstream a19944809fe9 b17b2923 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/08 20:53 upstream 1831fed55973 e22c3da3 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/08 00:05 upstream 42e7a03d3bad c6ff3e05 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/07 05:08 upstream 3e732ebf7316 53c67432 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/04/06 17:18 upstream 3e732ebf7316 97582466 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/03/14 09:10 upstream 09688c0166e7 9e8eaa75 .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
ci2-upstream-kcsan-gce 2022/01/05 05:36 upstream c9e6606c7fe9 0a2584dd .config log report info KCSAN: data-race in io_submit_sqes / io_uring_poll
* Struck through repros no longer work on HEAD.