Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | KCSAN: data-race in __blk_mq_get_driver_tag / bt_tags_iter block | 1 | 836d | 836d | 0/28 | auto-obsoleted due to no activity on 2022/11/19 11:07 |
syzbot |
sign-in | mailing list | source | docs |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | KCSAN: data-race in __blk_mq_get_driver_tag / bt_tags_iter block | 1 | 836d | 836d | 0/28 | auto-obsoleted due to no activity on 2022/11/19 11:07 |
================================================================== BUG: KCSAN: data-race in __blk_mq_get_driver_tag / bt_tags_iter write to 0xffff8881031dd360 of 4 bytes by task 13243 on cpu 0: __blk_mq_alloc_driver_tag block/blk-mq.c:1780 [inline] __blk_mq_get_driver_tag+0x1d3/0x460 block/blk-mq.c:1786 blk_mq_get_driver_tag block/blk-mq.h:284 [inline] blk_mq_prep_dispatch_rq block/blk-mq.c:1968 [inline] blk_mq_dispatch_rq_list+0x2a8/0x1290 block/blk-mq.c:2031 __blk_mq_sched_dispatch_requests+0x1b7/0x270 block/blk-mq-sched.c:306 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:339 __blk_mq_run_hw_queue+0x8b/0x150 block/blk-mq.c:2174 __blk_mq_delay_run_hw_queue+0x15b/0x2e0 block/blk-mq.c:2250 blk_mq_run_hw_queue+0x1be/0x350 block/blk-mq.c:2298 blk_mq_sched_insert_requests+0x220/0x300 block/blk-mq-sched.c:493 blk_mq_dispatch_plug_list+0x1e9/0x2c0 block/blk-mq.c:2758 blk_mq_flush_plug_list+0x38a/0x3e0 block/blk-mq.c:2800 blk_add_rq_to_plug+0x142/0x390 block/blk-mq.c:1296 blk_mq_submit_bio+0x90b/0xed0 block/blk-mq.c:2991 __submit_bio block/blk-core.c:605 [inline] __submit_bio_noacct_mq block/blk-core.c:682 [inline] submit_bio_noacct_nocheck+0x83d/0xaa0 block/blk-core.c:699 submit_bio_noacct+0x6a5/0x810 block/blk-core.c:805 submit_bio+0xfb/0x110 block/blk-core.c:841 ext4_io_submit fs/ext4/page-io.c:378 [inline] io_submit_add_bh fs/ext4/page-io.c:420 [inline] ext4_bio_write_page+0x6dd/0xc20 fs/ext4/page-io.c:564 mpage_submit_page fs/ext4/inode.c:2129 [inline] mpage_map_and_submit_buffers fs/ext4/inode.c:2374 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2513 [inline] ext4_do_writepages+0x11a8/0x1e70 fs/ext4/inode.c:2877 ext4_writepages+0x11b/0x240 fs/ext4/inode.c:2965 do_writepages+0x1db/0x350 mm/page-writeback.c:2581 filemap_fdatawrite_wbc+0xd6/0xf0 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_flush+0x93/0xc0 mm/filemap.c:454 ext4_alloc_da_blocks+0x47/0x100 fs/ext4/inode.c:3219 ext4_release_file+0x5b/0x1d0 fs/ext4/file.c:158 __fput+0x245/0x570 fs/file_table.c:320 ____fput+0x11/0x20 fs/file_table.c:348 task_work_run+0xde/0x110 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5a0/0x16e0 kernel/exit.c:867 do_group_exit+0xfe/0x140 kernel/exit.c:1012 get_signal+0xb4b/0xc70 kernel/signal.c:2859 arch_do_signal_or_restart+0x85/0x290 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x69/0x90 kernel/entry/common.c:203 irqentry_exit_to_user_mode+0x5/0x10 kernel/entry/common.c:309 irqentry_exit+0xe/0x40 kernel/entry/common.c:412 exc_general_protection+0x321/0x4b0 arch/x86/kernel/traps.c:728 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:564 read to 0xffff8881031dd360 of 4 bytes by task 41 on cpu 1: blk_mq_find_and_get_req block/blk-mq-tag.c:253 [inline] bt_tags_iter+0x120/0x260 block/blk-mq-tag.c:349 __sbitmap_for_each_set include/linux/sbitmap.h:281 [inline] sbitmap_for_each_set include/linux/sbitmap.h:302 [inline] bt_tags_for_each block/blk-mq-tag.c:384 [inline] __blk_mq_all_tag_iter block/blk-mq-tag.c:395 [inline] blk_mq_tagset_busy_iter+0x53f/0x680 block/blk-mq-tag.c:439 scsi_host_busy+0x4b/0x80 drivers/scsi/hosts.c:604 scsi_host_queue_ready drivers/scsi/scsi_lib.c:1345 [inline] scsi_queue_rq+0x305/0x15a0 drivers/scsi/scsi_lib.c:1735 blk_mq_dispatch_rq_list+0x997/0x1290 block/blk-mq.c:2056 __blk_mq_sched_dispatch_requests+0x1b7/0x270 block/blk-mq-sched.c:306 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:339 __blk_mq_run_hw_queue+0x8b/0x150 block/blk-mq.c:2174 __blk_mq_delay_run_hw_queue+0x15b/0x2e0 block/blk-mq.c:2250 blk_mq_run_hw_queue+0x1be/0x350 block/blk-mq.c:2298 blk_mq_run_hw_queues+0x180/0x200 block/blk-mq.c:2346 scsi_run_queue+0x5a0/0x5d0 drivers/scsi/scsi_lib.c:457 scsi_requeue_run_queue+0x21/0x30 drivers/scsi/scsi_lib.c:467 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 value changed: 0xffffffff -> 0x000000b1 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 41 Comm: kworker/1:1H Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: kblockd scsi_requeue_run_queue ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2023/01/02 02:35 | upstream | e4cf7c25bae5 | ab32d508 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-kcsan-gce | KCSAN: data-race in __blk_mq_get_driver_tag / bt_tags_iter |