syzbot


KCSAN: data-race in fifo_open / wait_for_partner

Status: auto-closed as invalid on 2022/04/18 09:31
Reported-by: syzbot+d20383ba7e99a111910b@syzkaller.appspotmail.com
First crash: 795d, last: 267d

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

write to 0xffff88811f8165ac of 4 bytes by task 6017 on cpu 0:
 put_pipe_info fs/pipe.c:704 [inline]
 fifo_open+0x302/0x680 fs/pipe.c:1214
 do_dentry_open+0x52c/0x860 fs/open.c:824
 vfs_open+0x43/0x50 fs/open.c:959
 do_open fs/namei.c:3476 [inline]
 path_openat+0x170c/0x1f30 fs/namei.c:3609
 do_filp_open+0x105/0x220 fs/namei.c:3636
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_open fs/open.c:1238 [inline]
 __se_sys_open fs/open.c:1234 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1234
 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

read to 0xffff88811f8165ac of 4 bytes by task 6010 on cpu 1:
 pipe_lock_nested fs/pipe.c:81 [inline]
 pipe_lock fs/pipe.c:90 [inline]
 wait_for_partner+0xe0/0x1d0 fs/pipe.c:1081
 fifo_open+0x500/0x680 fs/pipe.c:1148
 do_dentry_open+0x52c/0x860 fs/open.c:824
 vfs_open+0x43/0x50 fs/open.c:959
 do_open fs/namei.c:3476 [inline]
 path_openat+0x170c/0x1f30 fs/namei.c:3609
 do_filp_open+0x105/0x220 fs/namei.c:3636
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1241
 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: 0x00000002 -> 0x00000001

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

Crashes (66):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/03/14 09:30 upstream 09688c0166e7 9e8eaa75 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/03/02 14:20 upstream fb184c4af9b9 45a13a73 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/02/24 13:23 upstream 23d04328444a b28851a4 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/02/12 11:54 upstream 83e396641110 8b9ca619 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/02/10 14:39 upstream e3c85076d7a6 0b33604d .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/31 03:02 upstream 26291c54e111 495e00c5 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/30 15:24 upstream 8dd71685dcb7 495e00c5 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/19 20:59 upstream 1d1df41c5a33 5da9499f .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/11 15:30 upstream fe8152b38d3a 1884f55a .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/04 23:07 upstream c9e6606c7fe9 0a2584dd .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2022/01/04 14:22 upstream c9e6606c7fe9 7f723fbe .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/29 03:23 upstream ecf71de775a0 76c8cf06 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/28 04:16 upstream a8ad9a2434dc 6b3c5e64 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/21 21:18 upstream 1c3e979bf3e2 6caa12e4 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/19 06:04 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/16 14:06 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/07 22:28 upstream cd8c917a56f2 0230ba3e .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/12/03 16:02 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/11/12 16:03 upstream 5833291ab6de 75b04091 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/10/24 23:53 upstream 6c62666d8879 4f0000ee .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/09/23 06:52 upstream 58e2cf5d7946 8cac236e .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/09/16 08:30 upstream ff1ffd71d5f0 07e953c1 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/08/14 00:31 upstream f8e6dfc64f61 2489ab88 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/26 02:43 upstream ff1176468d36 4d1b57d4 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/14 07:53 upstream 40226a3d96ef 484502bd .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/07/10 17:30 upstream 3dbdb38e2869 8f5a7b8c .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/06/26 15:52 upstream b7050b242430 9d2ab5df .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/06/22 21:00 upstream 0c18f29aae7c aba2b2fb .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/06/14 09:49 upstream 009c9aa5be65 1ba81399 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/21 15:34 upstream 79a106fc6585 3c7fef33 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/06 11:25 upstream 8404c9fbc84b 06c27ff5 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/05/03 05:07 upstream 9ccce092fc64 77e2b668 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/30 21:47 upstream 65c61de9d090 77e2b668 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/26 23:56 upstream 9f4ad9e425a1 8ee2dea6 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/21 08:19 upstream 1fe5501ba1ab 95777977 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/18 10:10 upstream c98ff1d013d2 7e2b734b .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/04/16 18:51 upstream 2f7b98d1e55c 7e2b734b .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/03/23 08:52 upstream 84196390620a 8092f30d .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/03/10 07:18 upstream 05a59d79793d 26967e35 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/03/08 11:25 upstream 144c79ef3353 09fbf400 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/02/01 15:41 upstream 1048ba83fb1c e6b95f32 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/27 18:40 upstream 2ab38c17aac1 a57db36f .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/25 22:07 upstream f8ad8187c3b5 52e37319 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/23 15:16 upstream fe75a21824e7 52e37319 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/21 15:14 upstream 9791581c049c d4f4eca5 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/20 11:35 upstream 45dfb8a5659a d4f4eca5 .config log report info KCSAN: data-race in fifo_open / wait_for_partner
ci2-upstream-kcsan-gce 2021/01/13 22:42 upstream 65f0d2414b70 a945f0a3 .config log report info
ci2-upstream-kcsan-gce 2021/01/09 02:50 upstream 6279d812eab6 c104d4a3 .config log report info
ci2-upstream-kcsan-gce 2021/01/06 03:31 upstream 6207214a70bf b1c228e1 .config log report info
ci2-upstream-kcsan-gce 2021/01/04 09:31 upstream e71ba9452f0b 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/12/31 16:51 upstream f6e1ea196492 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/12/29 17:00 upstream dea8dcf2a9fa 80910769 .config log report info
ci2-upstream-kcsan-gce 2020/12/23 17:35 upstream 614cb5894306 c2c1d1dd .config log report info
ci2-upstream-kcsan-gce 2020/12/14 19:07 upstream 2c85ebc57b3e 97183ed7 .config log report info
ci2-upstream-kcsan-gce 2020/12/03 00:53 upstream 3bb61aa61828 8c9190ef .config log report info
ci2-upstream-kcsan-gce 2020/11/30 19:30 upstream b65054597872 76831598 .config log report info
ci2-upstream-kcsan-gce 2020/11/27 00:47 upstream 4df910620beb 5018c946 .config log report info
ci2-upstream-kcsan-gce 2020/11/24 22:17 upstream 80145ac2f739 e34b696c .config log report info
ci2-upstream-kcsan-gce 2020/11/20 11:42 upstream 4d02da974ea8 0767f13f .config log report info
ci2-upstream-kcsan-gce 2020/11/15 06:15 upstream e28c0d7c92c8 1bf9a662 .config log report info
ci2-upstream-kcsan-gce 2020/10/26 08:59 upstream 3650b228f83a a1839e81 .config log report info
ci2-upstream-kcsan-gce 2020/10/25 20:50 upstream 986b9eacb259 a1839e81 .config log report info
ci2-upstream-kcsan-gce 2020/10/15 11:15 upstream 3e4fb4346c78 63869021 .config log report info
ci2-upstream-kcsan-gce 2020/10/14 10:46 upstream b5fc7a89e58b fc7735a2 .config log report info
ci2-upstream-kcsan-gce 2020/10/04 16:44 upstream 22fbc037cd32 5ef9c291 .config log report info
ci2-upstream-kcsan-gce 2020/10/03 04:23 upstream d3d45f8220d6 2653fa43 .config log report info
* Struck through repros no longer work on HEAD.