syzbot


KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests (3)

Status: auto-obsoleted due to no activity on 2024/02/16 00:49
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+44f9b37d2de57637dbfd@syzkaller.appspotmail.com
First crash: 1675d, last: 155d
Discussions (1)
Title Replies (including bot) Last reply
[PATCH] blk-mq-debugfs: mark concurrent stats counters as data races 1 (1) 2021/02/05 16:58
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests (2) block 31 1677d 1712d 0/27 closed as invalid on 2019/11/19 14:04
upstream KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests block 1 1713d 1713d 0/27 closed as invalid on 2019/10/15 15:50

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

read-write to 0xffff888100fe1350 of 8 bytes by task 5363 on cpu 0:
 blk_mq_sched_dispatch_requests+0x84/0x100 block/blk-mq-sched.c:327
 blk_mq_run_hw_queue+0x298/0x4c0 block/blk-mq.c:2265
 blk_mq_flush_plug_list+0x7a7/0xdb0 block/blk-mq.c:2813
 __blk_flush_plug+0x210/0x260 block/blk-core.c:1166
 blk_finish_plug+0x47/0x60 block/blk-core.c:1190
 __iomap_dio_rw+0xc69/0x1090 fs/iomap/direct-io.c:667
 iomap_dio_rw+0x40/0x90 fs/iomap/direct-io.c:748
 ext4_dio_read_iter fs/ext4/file.c:94 [inline]
 ext4_file_read_iter+0x21c/0x2a0 fs/ext4/file.c:145
 call_read_iter include/linux/fs.h:2079 [inline]
 copy_splice_read+0x26b/0x4b0 fs/splice.c:365
 do_splice_read fs/splice.c:984 [inline]
 splice_direct_to_actor+0x288/0x650 fs/splice.c:1089
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0xd7/0x150 fs/splice.c:1233
 do_sendfile+0x3b9/0x960 fs/read_write.c:1295
 __do_sys_sendfile64 fs/read_write.c:1362 [inline]
 __se_sys_sendfile64 fs/read_write.c:1348 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1348
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read-write to 0xffff888100fe1350 of 8 bytes by task 44 on cpu 1:
 blk_mq_sched_dispatch_requests+0x84/0x100 block/blk-mq-sched.c:327
 blk_mq_run_work_fn+0x65/0xe0 block/blk-mq.c:2435
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2706
 worker_thread+0x525/0x730 kernel/workqueue.c:2787
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

value changed: 0x00000000000012ee -> 0x00000000000012ef

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 44 Comm: kworker/1:1H Not tainted 6.7.0-syzkaller-11889-g86c4d58a99ab #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: kblockd blk_mq_run_work_fn
==================================================================

Crashes (3840):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/19 00:48 upstream 86c4d58a99ab 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/18 16:32 upstream 296455ade1fd 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/17 22:53 upstream 1b1934dbbdcf 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/17 20:38 upstream 1b1934dbbdcf c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/17 10:22 upstream 052d534373b7 c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/15 18:46 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/13 05:43 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/12 16:26 upstream 70d201a40823 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/12 14:40 upstream 70d201a40823 f6fa7c28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/12 12:30 upstream 70d201a40823 dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/12 00:29 upstream 3e7aeb78ab01 dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/11 09:16 upstream de927f6c0b07 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/11 05:01 upstream de927f6c0b07 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/10 15:31 upstream ab27740f7665 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/10 01:03 upstream 35f11a3710cd b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/09 13:20 upstream 9f8413c4a66f 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/09 09:51 upstream 9f8413c4a66f 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/08 20:40 upstream 5db8752c3b81 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/08 18:32 upstream 0dd3ee311255 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/07 21:15 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/07 02:01 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/06 12:03 upstream 95c8a35f1c01 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/05 22:50 upstream a4ab2706bb12 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/05 09:49 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/04 20:40 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/03 22:40 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/03 19:11 upstream 610a9b8f49fb 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2024/01/01 09:24 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/31 19:46 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/30 22:35 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/30 00:42 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/29 15:00 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/28 22:19 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/28 01:15 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/26 01:02 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/24 10:30 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/23 21:38 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/23 06:39 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/22 16:04 upstream 24e0d2e527a3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/22 10:27 upstream 24e0d2e527a3 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/21 21:30 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/21 07:54 upstream a4aebe936554 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/20 21:03 upstream 1a44b0073b92 de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/20 15:35 upstream 55cb5f43689d de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/19 21:10 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/19 07:49 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/18 19:46 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/18 16:52 upstream ceb6a6f023fd 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/18 08:29 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2023/12/17 18:26 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
2021/01/17 10:06 upstream 0da0a8a0a0e1 813be542 .config console log report info ci2-upstream-kcsan-gce
2020/01/10 15:24 https://github.com/google/ktsan.git kcsan 245a43005292 532ec44e .config console log report ci2-upstream-kcsan-gce
2020/01/06 20:57 https://github.com/google/ktsan.git kcsan 245a43005292 53430d97 .config console log report ci2-upstream-kcsan-gce
2019/11/20 22:33 https://github.com/google/ktsan.git kcsan 5863cc791e4c 8098ea0f .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.