syzbot


BUG: unable to handle kernel NULL pointer dereference in linear_transfer

Status: closed as invalid on 2018/06/27 15:08
Subsystems: sound
[Documentation on labels]
First crash: 2782d, last: 2782d

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:53
PGD 80000001c199f067 P4D 80000001c199f067 PUD 19911f067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 5091 Comm: syz-executor0 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:53
RSP: 0018:ffff8801949ff628 EFLAGS: 00010286
RAX: ffff8801949ff7c8 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8801949ff7c8
RBP: ffff8801949ff670 R08: 0000000001080000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff8801c309a000 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801949ff7c8
FS:  00007f6ff5e11700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001bf430000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_convert sound/core/oss/linear.c:48 [inline]
 convert sound/core/oss/linear.c:81 [inline]
 linear_transfer+0x6a1/0xbe0 sound/core/oss/linear.c:110
 snd_pcm_plug_write_transfer+0x586/0xc00 sound/core/oss/pcm_plugin.c:619
 snd_pcm_oss_write2+0x29c/0xa70 sound/core/oss/pcm_oss.c:1310
 snd_pcm_oss_sync1+0x223/0x650 sound/core/oss/pcm_oss.c:1543
 snd_pcm_oss_sync+0x7b1/0x1540 sound/core/oss/pcm_oss.c:1604
 snd_pcm_oss_release+0x13a/0x4c0 sound/core/oss/pcm_oss.c:2446
 __fput+0x49e/0xa10 fs/file_table.c:209
 ____fput+0x37/0x40 fs/file_table.c:243
 task_work_run+0x243/0x2c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:166 [inline]
 prepare_exit_to_usermode+0x33c/0x3a0 arch/x86/entry/common.c:196
 syscall_return_slowpath+0xe9/0x700 arch/x86/entry/common.c:265
 do_syscall_64+0x36d/0x430 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x455979
RSP: 002b:00007f6ff5e10c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: 0000000000000001 RBX: 00007f6ff5e116d4 RCX: 0000000000455979
RDX: 0000000000000001 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 000000000072bf50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000713 R14: 00000000006fea68 R15: 0000000000000001
Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 
RIP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:53 RSP: ffff8801949ff628
CR2: 0000000000000000
---[ end trace 991288c89b8138b9 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/05 17:22 https://github.com/google/kmsan.git master d2d741e5d189 6a0382b5 .config console log report syz ci-upstream-kmsan-gce
2018/05/05 16:40 https://github.com/google/kmsan.git master d2d741e5d189 6a0382b5 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.