syzbot


WARNING in wait_til_done (2)

Status: upstream: reported on 2023/04/06 16:51
Labels: block (incorrect?)
Reported-by: syzbot+9bc4da690ee5334f5d15@syzkaller.appspotmail.com
First crash: 61d, last: 14h07m
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly block report (May 2023) 0 (1) 2023/05/05 08:06
[syzbot] [block?] WARNING in wait_til_done (2) 0 (1) 2023/04/06 16:51
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in wait_til_done C 4 369d 403d 0/24 auto-obsoleted due to no activity on 2022/09/26 17:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6289 at drivers/block/floppy.c:999 schedule_bh drivers/block/floppy.c:999 [inline]
WARNING: CPU: 1 PID: 6289 at drivers/block/floppy.c:999 wait_til_done+0x350/0x3c0 drivers/block/floppy.c:2018
Modules linked in:
CPU: 1 PID: 6289 Comm: syz-executor.0 Not tainted 6.4.0-rc4-syzkaller-00099-g1874a42a7d74 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:schedule_bh drivers/block/floppy.c:999 [inline]
RIP: 0010:wait_til_done+0x350/0x3c0 drivers/block/floppy.c:2018
Code: fc 41 83 fd 01 7e ac e8 1e 82 60 fc 4c 89 e6 48 c7 c7 00 39 46 8d e8 ef 46 3e fc e8 0a 82 60 fc e9 c3 fd ff ff e8 00 82 60 fc <0f> 0b e9 4b fd ff ff e8 94 53 b2 fc e9 0f fe ff ff e8 ea 81 60 fc
RSP: 0018:ffffc900070f7738 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 1ffff92000e1eee7 RCX: 0000000000000000
RDX: ffff888022ed0d40 RSI: ffffffff8522e340 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000094001 R12: 0000000000000001
R13: ffffffff85229fc0 R14: 0000000000000000 R15: 0000000000000003
FS:  00007fea21244700(0000) GS:ffff88806b700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fea21264d38 CR3: 0000000041415000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 floppy_check_events+0x35e/0x680 drivers/block/floppy.c:4098
 disk_check_events+0xc2/0x420 block/disk-events.c:193
 disk_clear_events block/disk-events.c:248 [inline]
 bdev_check_media_change+0x12a/0x350 block/disk-events.c:279
 floppy_open+0x873/0xe90 drivers/block/floppy.c:4057
 blkdev_get_whole+0x93/0x2c0 block/bdev.c:606
 blkdev_get_by_dev.part.0+0x5e2/0xb80 block/bdev.c:756
 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:790
 blkdev_open+0x140/0x2d0 block/fops.c:493
 do_dentry_open+0x6cc/0x13f0 fs/open.c:920
 do_open fs/namei.c:3636 [inline]
 path_openat+0x1baa/0x2750 fs/namei.c:3791
 do_filp_open+0x1ba/0x410 fs/namei.c:3818
 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
 do_sys_open fs/open.c:1372 [inline]
 __do_sys_openat fs/open.c:1388 [inline]
 __se_sys_openat fs/open.c:1383 [inline]
 __x64_sys_openat+0x143/0x1f0 fs/open.c:1383
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fea2043e2f4
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44
RSP: 002b:00007fea21243ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007fea2043e2f4
RDX: 0000000000000000 RSI: 00007fea21243d40 RDI: 00000000ffffff9c
RBP: 00007fea21243d40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007ffc91816ddf R14: 00007fea21244300 R15: 0000000000022000
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/06/02 08:11 upstream 1874a42a7d74 a4ae4f42 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in wait_til_done
2023/04/23 21:05 upstream 622322f53c6d 2b32bd34 .config console log report info ci-qemu-upstream WARNING in wait_til_done
2023/04/20 03:26 upstream 789b4a41c247 a219f34e .config console log report info ci-qemu-upstream WARNING in wait_til_done
2023/04/15 14:07 upstream 7a934f4bd7d6 ec410564 .config console log report info ci-qemu-upstream WARNING in wait_til_done
2023/04/04 18:03 upstream 148341f0a2f5 928dd177 .config console log report info ci-qemu-upstream WARNING in wait_til_done
2023/04/02 16:42 upstream 00c7b5f4ddc5 f325deb0 .config console log report info ci-qemu-upstream WARNING in wait_til_done
2023/04/24 14:44 upstream 457391b03803 c778c7f4 .config console log report info ci-qemu-upstream-386 WARNING in wait_til_done
2023/04/20 16:05 upstream cb0856346a60 5ed6c74d .config console log report info ci-qemu-upstream-386 WARNING in wait_til_done
* Struck through repros no longer work on HEAD.