syzbot


WARNING in floppy_check_events (2)

Status: auto-obsoleted due to no activity on 2023/12/16 07:29
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+2302c7d7bfcdb6baae34@syzkaller.appspotmail.com
First crash: 171d, last: 171d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [block?] WARNING in floppy_check_events (2) 1 (2) 2023/09/11 13:15
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in floppy_check_events block 2 637d 708d 0/26 auto-obsoleted due to no activity on 2022/09/25 20:23

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 2 PID: 29456 at drivers/block/floppy.c:999 schedule_bh drivers/block/floppy.c:999 [inline]
WARNING: CPU: 2 PID: 29456 at drivers/block/floppy.c:999 process_fd_request drivers/block/floppy.c:2847 [inline]
WARNING: CPU: 2 PID: 29456 at drivers/block/floppy.c:999 floppy_check_events+0x497/0x6f0 drivers/block/floppy.c:4100
Modules linked in:
CPU: 2 PID: 29456 Comm: syz-executor.3 Not tainted 6.5.0-syzkaller-12053-g744a759492b5 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:schedule_bh drivers/block/floppy.c:999 [inline]
RIP: 0010:process_fd_request drivers/block/floppy.c:2847 [inline]
RIP: 0010:floppy_check_events+0x497/0x6f0 drivers/block/floppy.c:4100
Code: ff 48 c1 e0 04 8b 98 34 af 56 92 c1 fb 02 83 e3 1f 89 de e8 0b 72 4a fc 85 db 0f 94 c3 0f b6 db e9 d2 fe ff ff e8 89 76 4a fc <0f> 0b e9 55 ff ff ff e8 7d 73 9f fc e9 c7 fb ff ff 48 89 ef e8 70
RSP: 0018:ffffc900289b77e0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888065b90480 RSI: ffffffff853c2bf7 RDI: 0000000000000001
RBP: ffffffff9256af50 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: 1ffff92005136efc R14: 0000000000000001 R15: 0000000000000000
FS:  00007fdc25bdd6c0(0000) GS:ffff88806b800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75d9df6c98 CR3: 000000010b58f000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 disk_check_events+0xbc/0x400 block/disk-events.c:193
 disk_clear_events block/disk-events.c:248 [inline]
 disk_check_media_change+0x101/0x2b0 block/disk-events.c:279
 floppy_open+0x8ef/0xe00 drivers/block/floppy.c:4058
 blkdev_get_whole+0x93/0x2c0 block/bdev.c:640
 blkdev_get_by_dev.part.0+0x211/0xb20 block/bdev.c:795
 blkdev_get_by_dev+0x75/0x80 block/bdev.c:829
 blkdev_open+0x112/0x380 block/fops.c:589
 do_dentry_open+0x88b/0x1730 fs/open.c:929
 do_open fs/namei.c:3639 [inline]
 path_openat+0x19af/0x29c0 fs/namei.c:3796
 do_filp_open+0x1de/0x430 fs/namei.c:3823
 do_sys_openat2+0x176/0x1e0 fs/open.c:1422
 do_sys_open fs/open.c:1437 [inline]
 __do_sys_openat fs/open.c:1453 [inline]
 __se_sys_openat fs/open.c:1448 [inline]
 __x64_sys_openat+0x175/0x210 fs/open.c:1448
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdc2707b6e0
Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 09 82 02 00 44 8b 54 24 0c 89 da 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 38 44 89 c7 89 44 24 0c e8 5c 82 02 00 8b 44
RSP: 002b:00007fdc25bdcc00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdc2707b6e0
RDX: 0000000000000000 RSI: 00007fdc25bdcca0 RDI: 00000000ffffff9c
RBP: 00007fdc25bdcca0 R08: 0000000000000000 R09: 002364662f766564
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 000000000000000b R14: 00007fdc2719c120 R15: 00007ffd07db9d08
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/07 07:28 upstream 744a759492b5 72324844 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in floppy_check_events
* Struck through repros no longer work on HEAD.