lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 31 Oct 2017 03:06:35 -0700
From:   syzbot 
        <bot+2f69ca28df61bdfc77cd36af2e789850355a221e@...kaller.appspotmail.com>
To:     linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
        syzkaller-bugs@...glegroups.com, tj@...nel.org
Subject: WARNING in ata_bmdma_qc_issue

Hello,

syzkaller hit the following crash on  
91dfed74eabcdae9378131546c446442c29bf769
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.
C reproducer is attached
syzkaller reproducer is attached. See https://goo.gl/kgGztJ
for information about syzkaller reproducers


WARNING: CPU: 0 PID: 2929 at drivers/ata/libata-sff.c:2799  
ata_bmdma_qc_issue+0x2a5/0x550 drivers/ata/libata-sff.c:2799
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2929 Comm: syzkaller698056 Not tainted 4.13.0-rc4-next-20170811  
#1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:16 [inline]
  dump_stack+0x194/0x257 lib/dump_stack.c:52
  panic+0x1e4/0x417 kernel/panic.c:180
  __warn+0x1c4/0x1d9 kernel/panic.c:541
  report_bug+0x211/0x2d0 lib/bug.c:183
  fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:190
  do_trap_no_signal arch/x86/kernel/traps.c:224 [inline]
  do_trap+0x260/0x390 arch/x86/kernel/traps.c:273
  do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:310
  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:323
  invalid_op+0x1e/0x30 arch/x86/entry/entry_64.S:930
RIP: 0010:ata_bmdma_qc_issue+0x2a5/0x550 drivers/ata/libata-sff.c:2799
RSP: 0018:ffff88006ab868b0 EFLAGS: 00010097
RAX: ffff88006970c640 RBX: ffff88003c6b01f8 RCX: 0000001422da621a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000101f7
RBP: ffff88006ab868e8 R08: 00000000ffffffff R09: 000000003daf805b
R10: 0000000000000004 R11: ffffed00078d6046 R12: ffff88003c6b0080
R13: ffff88003c6b0220 R14: ffff88003c6b0200 R15: ffff88003c6b1f40
  ata_qc_issue+0x698/0xea0 drivers/ata/libata-core.c:5409
  ata_scsi_translate+0x34a/0x5e0 drivers/ata/libata-scsi.c:2023
  __ata_scsi_queuecmd drivers/ata/libata-scsi.c:4325 [inline]
  ata_scsi_queuecmd+0x2ae/0x6b0 drivers/ata/libata-scsi.c:4374
  scsi_dispatch_cmd+0x432/0xb60 drivers/scsi/scsi_lib.c:1686
  scsi_queue_rq+0x155a/0x1e00 drivers/scsi/scsi_lib.c:1962
  blk_mq_dispatch_rq_list+0x8bc/0x1720 block/blk-mq.c:1073
  blk_mq_sched_dispatch_requests+0x752/0xb40 block/blk-mq-sched.c:147
  __blk_mq_run_hw_queue+0x1aa/0x280 block/blk-mq.c:1155
  __blk_mq_delay_run_hw_queue+0x175/0x1b0 block/blk-mq.c:1203
  blk_mq_run_hw_queue+0x1e/0x30 block/blk-mq.c:1224
  blk_mq_sched_insert_request+0x275/0x890 block/blk-mq-sched.c:386
  blk_execute_rq_nowait+0x16d/0x310 block/blk-exec.c:64
  sg_common_write.isra.17+0xf80/0x1c10 drivers/scsi/sg.c:806
  sg_write+0x7a0/0xc90 drivers/scsi/sg.c:677
  __vfs_write+0xef/0x970 fs/read_write.c:468
  vfs_write+0x189/0x510 fs/read_write.c:518
  SYSC_write fs/read_write.c:565 [inline]
  SyS_write+0xef/0x220 fs/read_write.c:557
  entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x439159
RSP: 002b:00007fff352c9f28 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000439159
RDX: 0000000000000090 RSI: 0000000020012000 RDI: 0000000000000003
RBP: 0000000000000086 R08: 00000000000000fe R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000401db0 R14: 0000000000401e40 R15: 0000000000000000
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a dumb bot. It may contain errors.
See https://goo.gl/tpsmEJ for details.
Direct all questions to syzkaller@...glegroups.com.
Please credit me with: Reported-by: syzbot

syzbot will keep track of this bug report.
Once a fix for this bug is committed, please reply to this email with:
#syz fix: exact-commit-title
To mark this as a duplicate of another syzbot report, please reply with:
#syz dup: exact-subject-of-another-report
If it's a one-off invalid bug report, please reply with:
#syz invalid
Note: if the crash happens again, it will cause creation of a new bug  
report.
Note: all commands must start from beginning of the line.

View attachment "config.txt" of type "text/plain" (123373 bytes)

Download attachment "raw.log" of type "application/octet-stream" (8975 bytes)

View attachment "repro.txt" of type "text/plain" (870 bytes)

Download attachment "repro.c" of type "application/octet-stream" (3293 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ