syzbot


general protection fault in snd_pcm_hw_param_near

Status: auto-closed as invalid on 2019/02/22 10:22
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+7770b36b767486c113d3@syzkaller.appspotmail.com
First crash: 2111d, last: 2111d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 0 PID: 1997 Comm: syz-executor1 Not tainted 4.18.0-rc4-next-20180713+ #7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:snd_pcm_hw_param_near.constprop.35+0x7aa/0xb20 sound/core/oss/pcm_oss.c:444
Code: 9e c0 84 c2 0f 85 ef 02 00 00 48 8b 85 30 ff ff ff 4c 89 f1 48 ba 00 00 00 00 00 fc ff df 41 83 e6 07 48 c1 e9 03 48 c1 e8 03 <0f> b6 04 10 0f b6 14 11 44 38 f2 0f 9e c1 84 d2 0f 95 c2 84 d1 0f 
RSP: 0018:ffff880161786f08 EFLAGS: 00010247
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 1ffff100391e7913
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffff8801617870f8 R08: ffff8801aa826200 R09: ffffed003ae492c8
R10: ffffed003ae492c8 R11: ffff8801d7249647 R12: ffff880161787188
R13: 0000000085e23bf7 R14: 0000000000000000 R15: ffffffff85e318a7
FS:  00007f926ffc2700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff2f75cfa8 CR3: 00000001ae6f2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 shrink_slab_memcg mm/vmscan.c:598 [inline]
 shrink_slab+0x861/0xa60 mm/vmscan.c:671
 shrink_node+0x429/0x16a0 mm/vmscan.c:2735
 shrink_zones mm/vmscan.c:2964 [inline]
 do_try_to_free_pages+0x3e7/0x1290 mm/vmscan.c:3026
 try_to_free_mem_cgroup_pages+0x49d/0xc90 mm/vmscan.c:3324
 memory_high_write+0x283/0x310 mm/memcontrol.c:5611
 cgroup_file_write+0x31f/0x840 kernel/cgroup/cgroup.c:3502
 kernfs_fop_write+0x2ba/0x480 fs/kernfs/file.c:316
 __vfs_write+0x117/0x9d0 fs/read_write.c:485
 vfs_write+0x1fc/0x560 fs/read_write.c:549
 ksys_write+0x101/0x260 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455ab9
Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f926ffc1c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f926ffc26d4 RCX: 0000000000455ab9
RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000017
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c2c77 R14: 00000000004d4c80 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace 86a5419804e9c967 ]---
RIP: 0010:snd_pcm_hw_param_near.constprop.35+0x7aa/0xb20 sound/core/oss/pcm_oss.c:444
Code: 9e c0 84 c2 0f 85 ef 02 00 00 48 8b 85 30 ff ff ff 4c 89 f1 48 ba 00 00 00 00 00 fc ff df 41 83 e6 07 48 c1 e9 03 48 c1 e8 03 <0f> b6 04 10 0f b6 14 11 44 38 f2 0f 9e c1 84 d2 0f 95 c2 84 d1 0f 
RSP: 0018:ffff880161786f08 EFLAGS: 00010247
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 1ffff100391e7913
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffff8801617870f8 R08: ffff8801aa826200 R09: ffffed003ae492c8
R10: ffffed003ae492c8 R11: ffff8801d7249647 R12: ffff880161787188
R13: 0000000085e23bf7 R14: 0000000000000000 R15: ffffffff85e318a7
FS:  00007f926ffc2700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff2f75cfa8 CR3: 00000001ae6f2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/15 00:50 linux-next 483d835c8189 92a49505 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.