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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 01 Nov 2017 11:38:56 -0700
From:   syzbot 
        <bot+31681772ec7a18dde8d3f8caf475f361a89b9514@...kaller.appspotmail.com>
To:     alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
        perex@...ex.cz, syzkaller-bugs@...glegroups.com, tiwai@...e.com
Subject: BUG: unable to handle kernel paging request in snd_seq_oss_readq_puts

Hello,

syzkaller hit the following crash on  
fc2e8b1a47c14b22c33eb087fca0db58e1f4ed0e
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


IP: snd_seq_oss_readq_puts+0x146/0x210  
sound/core/seq/oss/seq_oss_readq.c:112
PGD 1dac75067 P4D 1dac75067 PUD 1dac76067 PMD 1c1cd3067 PTE 0
Oops: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
    (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 3012 Comm: syzkaller659314 Not tainted  
4.14.0-rc1-next-20170918+ #24
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
task: ffff8801ce930000 task.stack: ffff8801ce650000
RIP: 0010:snd_seq_oss_readq_puts+0x146/0x210  
sound/core/seq/oss/seq_oss_readq.c:112
RSP: 0018:ffff8801ce657208 EFLAGS: 00010246
RAX: ffffed0039ccae4a RBX: ffffc900016f4000 RCX: ffff8801ce657251
RDX: 0000000000000000 RSI: 1ffff10039d26117 RDI: 0000000000000282
RBP: ffff8801ce6572b8 R08: ffff8801d807ab50 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 000000003fffffa4
R13: ffff8801ce657290 R14: ffffc900016f4001 R15: dffffc0000000000
FS:  00007f9079b19700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900016f4000 CR3: 00000001ce47d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  send_midi_event sound/core/seq/oss/seq_oss_midi.c:616 [inline]
  snd_seq_oss_midi_input+0xd39/0x1040 sound/core/seq/oss/seq_oss_midi.c:535
  snd_seq_oss_event_input+0x15d/0x220 sound/core/seq/oss/seq_oss_event.c:439
  snd_seq_deliver_single_event.constprop.11+0x2fb/0x940  
sound/core/seq/seq_clientmgr.c:621
  deliver_to_subscribers sound/core/seq/seq_clientmgr.c:676 [inline]
  snd_seq_deliver_event+0x318/0x790 sound/core/seq/seq_clientmgr.c:807
  snd_seq_kernel_client_dispatch+0x11e/0x150  
sound/core/seq/seq_clientmgr.c:2309
  dummy_input+0x2c4/0x400 sound/core/seq/seq_dummy.c:104
  snd_seq_deliver_single_event.constprop.11+0x2fb/0x940  
sound/core/seq/seq_clientmgr.c:621
  snd_seq_deliver_event+0x12c/0x790 sound/core/seq/seq_clientmgr.c:818
  snd_seq_dispatch_event+0x105/0x5b0 sound/core/seq/seq_clientmgr.c:892
  snd_seq_check_queue.part.3+0x38e/0x510 sound/core/seq/seq_queue.c:285
  snd_seq_check_queue sound/core/seq/seq_queue.c:357 [inline]
  snd_seq_enqueue_event+0x32d/0x3d0 sound/core/seq/seq_queue.c:363
  snd_seq_client_enqueue_event+0x21b/0x420 sound/core/seq/seq_clientmgr.c:951
  kernel_client_enqueue.part.10+0xb5/0xd0 sound/core/seq/seq_clientmgr.c:2248
  kernel_client_enqueue sound/core/seq/seq_clientmgr.c:2238 [inline]
  snd_seq_kernel_client_enqueue_blocking+0xcf/0x110  
sound/core/seq/seq_clientmgr.c:2275
  insert_queue sound/core/seq/oss/seq_oss_rw.c:189 [inline]
  snd_seq_oss_write+0x5fe/0xa80 sound/core/seq/oss/seq_oss_rw.c:148
  odev_write+0x64/0x90 sound/core/seq/oss/seq_oss.c:177
  __vfs_write+0xef/0x970 fs/read_write.c:479
  vfs_write+0x18f/0x510 fs/read_write.c:543
  SYSC_write fs/read_write.c:588 [inline]
  SyS_write+0xef/0x220 fs/read_write.c:580
  entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x446469
RSP: 002b:00007f9079b18dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000446469
RDX: 0000000000000150 RSI: 0000000020e7f000 RDI: 0000000000000003
RBP: 0000000000000082 R08: 00007f9079b19700 R09: 00007f9079b19700
R10: 00007f9079b19700 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe543fcc1f R14: 00007f9079b199c0 R15: 0000000000000000
Code: d9 4c 8d 73 01 48 c1 e8 03 83 e1 07 42 0f b6 04 38 38 c8 7f 08 84 c0  
0f 85 bf 00 00 00 48 8b 85 58 ff ff ff 48 8b 8d 68 ff ff ff <41> 0f b6 5e  
ff 0f b6 00 83 e1 07 38 c8 7f 08 84 c0 0f 85 89 00
RIP: snd_seq_oss_readq_puts+0x146/0x210  
sound/core/seq/oss/seq_oss_readq.c:112 RSP: ffff8801ce657208
CR2: ffffc900016f4000
---[ end trace cc8c763aca15dec8 ]---


---
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 <syzkaller@...glegroups.com>

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" (123749 bytes)

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

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

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

Powered by blists - more mailing lists