syzbot


WARNING in __floppy_read_block_0 (2)

Status: auto-obsoleted due to no activity on 2023/09/29 18:15
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+4bc99b8be4d209da97f2@syzkaller.appspotmail.com
First crash: 370d, last: 307d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [block?] WARNING in __floppy_read_block_0 (2) 0 (1) 2023/04/23 03:39
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __floppy_read_block_0 (3) block 1 206d 202d 0/26 auto-obsoleted due to no activity on 2024/01/09 18:17
upstream WARNING in __floppy_read_block_0 block C 4 687d 732d 0/26 auto-obsoleted due to no activity on 2022/10/04 11:27

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 2 PID: 9911 at drivers/block/floppy.c:999 schedule_bh drivers/block/floppy.c:999 [inline]
WARNING: CPU: 2 PID: 9911 at drivers/block/floppy.c:999 process_fd_request drivers/block/floppy.c:2847 [inline]
WARNING: CPU: 2 PID: 9911 at drivers/block/floppy.c:999 __floppy_read_block_0.isra.0+0x291/0x320 drivers/block/floppy.c:4160
Modules linked in:
CPU: 2 PID: 9911 Comm: syz-executor.0 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #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:process_fd_request drivers/block/floppy.c:2847 [inline]
RIP: 0010:__floppy_read_block_0.isra.0+0x291/0x320 drivers/block/floppy.c:4160
Code: 84 24 b8 01 00 00 65 48 2b 04 25 28 00 00 00 0f 85 9e 00 00 00 48 81 c4 c0 01 00 00 5b 5d 41 5c 41 5d 41 5e c3 e8 df cc 5f fc <0f> 0b e9 5a ff ff ff e8 23 98 b2 fc e9 80 fe ff ff e8 c9 cc 5f fc
RSP: 0018:ffffc90022f5f6c8 EFLAGS: 00010216
RAX: 0000000000000c36 RBX: 0000000000000001 RCX: ffffc90007319000
RDX: 0000000000040000 RSI: ffffffff85247a01 RDI: 0000000000000001
RBP: ffffea000196a540 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff920045ebed9
R13: ffffc90022f5f798 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:00000000f7f78b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f7f9cdb0 CR3: 0000000062000000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 floppy_revalidate.isra.0+0x7ed/0xbf0 drivers/block/floppy.c:4206
 floppy_open+0xac3/0xe90 drivers/block/floppy.c:4058
 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_compat_sys_openat fs/open.c:1432 [inline]
 __se_compat_sys_openat fs/open.c:1430 [inline]
 __ia32_compat_sys_openat+0x143/0x1f0 fs/open.c:1430
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7f7d579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7f78170 EFLAGS: 00000286 ORIG_RAX: 0000000000000127
RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f7f781c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f734e000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	retq
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/21 18:14 upstream e660abd551f1 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __floppy_read_block_0
2023/04/19 03:28 upstream af67688dca57 d931e9f0 .config console log report info ci-qemu-upstream-386 WARNING in __floppy_read_block_0
* Struck through repros no longer work on HEAD.