syzbot


KCSAN: data-race in blk_mq_free_request / blk_mq_free_request

Status: auto-closed as invalid on 2021/12/03 16:49
Reported-by: syzbot+b9914ed52d5b1d63f71d@syzkaller.appspotmail.com
First crash: 1133d, last: 397d

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

write to 0xffffe8ffffc15748 of 8 bytes by interrupt on cpu 0:
 blk_mq_free_request+0x17d/0x340 block/blk-mq.c:530
 __blk_mq_end_request+0x214/0x230 block/blk-mq.c:565
 blk_mq_end_request+0x37/0x50 block/blk-mq.c:574
 lo_complete_rq+0xca/0x170 drivers/block/loop.c:541
 blk_complete_reqs block/blk-mq.c:584 [inline]
 blk_done_softirq+0x69/0x90 block/blk-mq.c:589
 __do_softirq+0x12c/0x26e kernel/softirq.c:558
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:920
 smpboot_thread_fn+0x22f/0x330 kernel/smpboot.c:164
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

read to 0xffffe8ffffc15748 of 8 bytes by interrupt on cpu 1:
 blk_mq_free_request+0x16a/0x340 block/blk-mq.c:530
 __blk_mq_end_request+0x214/0x230 block/blk-mq.c:565
 blk_mq_end_request+0x37/0x50 block/blk-mq.c:574
 lo_complete_rq+0xca/0x170 drivers/block/loop.c:541
 blk_complete_reqs block/blk-mq.c:584 [inline]
 blk_done_softirq+0x69/0x90 block/blk-mq.c:589
 __do_softirq+0x12c/0x26e kernel/softirq.c:558
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:920
 smpboot_thread_fn+0x22f/0x330 kernel/smpboot.c:164
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

value changed: 0x00000000000a4519 -> 0x00000000000a451c

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
sd 0:0:1:0: tag#2026 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s
sd 0:0:1:0: tag#2026 CDB: opcode=0xe5 (vendor)
sd 0:0:1:0: tag#2026 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c
sd 0:0:1:0: tag#2026 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d
sd 0:0:1:0: tag#2026 CDB[20]: ba
sd 0:0:1:0: tag#2027 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s
sd 0:0:1:0: tag#2027 CDB: opcode=0xe5 (vendor)
sd 0:0:1:0: tag#2027 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c
sd 0:0:1:0: tag#2027 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d
sd 0:0:1:0: tag#2027 CDB[20]: ba
sd 0:0:1:0: tag#2036 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s
sd 0:0:1:0: tag#2036 CDB: opcode=0xe5 (vendor)
sd 0:0:1:0: tag#2036 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c
sd 0:0:1:0: tag#2036 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d
sd 0:0:1:0: tag#2036 CDB[20]: ba
sd 0:0:1:0: tag#2037 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s
sd 0:0:1:0: tag#2037 CDB: opcode=0xe5 (vendor)
sd 0:0:1:0: tag#2037 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c
sd 0:0:1:0: tag#2037 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d
sd 0:0:1:0: tag#2037 CDB[20]: ba
sd 0:0:1:0: tag#1987 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK cmd_age=0s
sd 0:0:1:0: tag#1987 CDB: opcode=0xe5 (vendor)
sd 0:0:1:0: tag#1987 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c
sd 0:0:1:0: tag#1987 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d
sd 0:0:1:0: tag#1987 CDB[20]: ba

Crashes (118):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/29 16:48 upstream f25a5481af12 2353a3ec .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/23 21:34 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/21 15:35 upstream 2f111a6fd5b5 c5cb7da8 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/21 04:43 upstream 2f111a6fd5b5 f111d03b .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/19 17:14 upstream d9abdee5fd5a 466b7db1 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/13 16:16 upstream f4d0cc426f77 9d56e7dd .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/10/05 12:55 upstream f6274b06e326 8a6b1a8d .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/26 17:07 upstream a3b397b4fffb 8cac236e .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/21 06:55 upstream e8f71f89236e af796c18 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/17 09:34 upstream bdb575f87217 5b989942 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/16 18:45 upstream ff1ffd71d5f0 aae492f2 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/16 13:13 upstream ff1ffd71d5f0 07e953c1 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/12 02:49 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/09/10 00:17 upstream a3fa7a101dcf e2776ee4 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/08/22 01:39 upstream 002c0aef1090 b599f2fc .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/08/15 03:29 upstream ba31f97d43be 2489ab88 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/08/07 20:21 upstream c9194f32bfd9 6972b106 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/07/28 20:33 upstream 4010a528219e 9a4781d4 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/07/22 22:55 upstream 3d5895cd3517 241790bb .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/07/20 07:02 upstream 2734d6c1b1a0 bc48c9ab .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/06/21 20:36 upstream 13311e74253f aba2b2fb .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/05/29 12:40 upstream 6799d4f2da49 858ea628 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/05/13 06:54 upstream dbb5afad100a ed7d41c5 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/05/08 17:50 upstream dd860052c99b bc5434be .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/05/07 05:19 upstream e48661230cc3 06585184 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/05/06 23:42 upstream 8404c9fbc84b 06585184 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/04/30 21:11 upstream 65c61de9d090 77e2b668 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/04/30 01:14 upstream 8ca5297e7e38 77e2b668 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/04/29 22:41 upstream d72cd4ad4174 77e2b668 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/04/21 07:47 upstream 1fe5501ba1ab c0ced557 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/04/04 20:14 upstream 2023a53bdf41 6a81331a .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/03/13 11:14 upstream f296bfd5cd04 4a003785 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/03/13 02:15 upstream f296bfd5cd04 429d8a6b .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/02/15 06:46 upstream f40ddce88593 98682e5e .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/02/11 21:50 upstream 291009f656e8 a5f86b15 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/02/07 17:04 upstream 825b5991a46e 2ce644fc .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/01/28 23:04 upstream e5ff2cb9cf67 7df34f59 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/01/26 14:14 upstream 13391c60da33 52e37319 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/01/22 15:57 upstream 83d09ad4b950 d4f4eca5 .config log report info KCSAN: data-race in blk_mq_free_request / blk_mq_free_request
ci2-upstream-kcsan-gce 2021/01/11 20:04 upstream 7c53f6b671f4 2c1f2513 .config log report info
ci2-upstream-kcsan-gce 2021/01/08 21:57 upstream 6279d812eab6 c104d4a3 .config log report info
ci2-upstream-kcsan-gce 2021/01/03 01:46 upstream 3516bd729358 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/12/31 05:55 upstream f6e1ea196492 5cc121d6 .config log report info
ci2-upstream-kcsan-gce 2020/12/25 12:45 upstream 71c5f03154ac b982b3ea .config log report info
ci2-upstream-kcsan-gce 2020/12/24 16:57 upstream 58cf05f597b0 c2c1d1dd .config log report info
ci2-upstream-kcsan-gce 2020/12/22 01:53 upstream 8653b778e454 04201c06 .config log report info
ci2-upstream-kcsan-gce 2020/12/18 11:17 upstream d64c6f96ba86 04201c06 .config log report info
ci2-upstream-kcsan-gce 2020/12/15 20:31 upstream 148842c98a24 f213e07e .config log report info
ci2-upstream-kcsan-gce 2020/12/14 19:04 upstream 2c85ebc57b3e 97183ed7 .config log report info
ci2-upstream-kcsan-gce 2020/11/23 07:20 upstream 68d3fa235fd8 0d27f508 .config log report info
ci2-upstream-kcsan-gce 2020/02/27 02:03 https://github.com/google/ktsan.git kcsan 766d004d1b85 251aabb7 .config log report
ci2-upstream-kcsan-gce 2019/10/24 17:24 https://github.com/google/ktsan.git kcsan 05f2236801fe d01bb02a .config log report
* Struck through repros no longer work on HEAD.