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:   Mon, 13 Aug 2018 05:39:03 -0700
From:   syzbot <syzbot+854a638985e121990c4c@...kaller.appspotmail.com>
To:     bfields@...ldses.org, jlayton@...nel.org,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        syzkaller-bugs@...glegroups.com, viro@...iv.linux.org.uk
Subject: general protection fault in send_sigio_to_task

Hello,

syzbot found the following crash on:

HEAD commit:    5ed5da74de9e Add linux-next specific files for 20180813
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=164fecc4400000
kernel config:  https://syzkaller.appspot.com/x/.config?x=18edf0289d1b5ab
dashboard link: https://syzkaller.appspot.com/bug?extid=854a638985e121990c4c
compiler:       gcc (GCC) 8.0.1 20180413 (experimental)
syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=1306063c400000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=11eaa122400000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+854a638985e121990c4c@...kaller.appspotmail.com

random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
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: 1 PID: 4500 Comm: syz-executor081 Not tainted 4.18.0-next-20180813+ #37
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline]
RIP: 0010:sigio_perm fs/fcntl.c:715 [inline]
RIP: 0010:send_sigio_to_task+0x1ad/0x910 fs/fcntl.c:734
Code: 4c 8d b3 00 ff ff ff 48 b8 00 00 00 00 00 fc ff df 49 8d bf 58 06 00  
00 4c 89 f2 48 c1 ea 03 c6 04 02 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f  
85 1a 07 00 00 49 8b 87 58 06 00 00 4c 89 f2 48 c1
RSP: 0018:ffff8801d9b5f878 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801d9b5f9f8 RCX: ffffffff81caeb13
RDX: 00000000000000cb RSI: ffffffff81cae4e3 RDI: 0000000000000658
RBP: ffff8801d9b5fa20 R08: ffff8801acfee500 R09: ffffed003b6246d6
R10: ffffed003b6246d6 R11: ffff8801db1236b3 R12: ffff8801d98e3bc8
R13: 0000000000000000 R14: ffff8801d9b5f8f8 R15: 0000000000000000
FS:  00007fcc7bf1e700(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc7bf1de78 CR3: 00000001acdbc000 CR4: 00000000001406e0
Call Trace:
  send_sigio+0x36f/0x4a0 fs/fcntl.c:794
  dnotify_handle_event+0x213/0x360 fs/notify/dnotify/dnotify.c:111
  send_to_group fs/notify/fsnotify.c:234 [inline]
  fsnotify+0x97d/0x14e0 fs/notify/fsnotify.c:374
  fsnotify_access include/linux/fsnotify.h:185 [inline]
  iterate_dir+0x4e3/0x5d0 fs/readdir.c:55
  ksys_getdents64+0x228/0x450 fs/readdir.c:314
  __do_sys_getdents64 fs/readdir.c:333 [inline]
  __se_sys_getdents64 fs/readdir.c:330 [inline]
  __x64_sys_getdents64+0x73/0xb0 fs/readdir.c:330
  do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
  entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4456b9
Code: e8 ec b8 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 8b 12 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fcc7bf1dd18 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00000000006dac48 RCX: 00000000004456b9
RDX: 0000000000001000 RSI: 0000000020001380 RDI: 0000000000000003
RBP: 00000000006dac40 R08: 00007fcc7bf1e700 R09: 0000000000000000
R10: 00007fcc7bf1e700 R11: 0000000000000246 R12: 00000000006dac4c
R13: 00007fcc7bf1dd20 R14: 0000000020000180 R15: 00000000006dad2c
Modules linked in:
Dumping ftrace buffer:
    (ftrace buffer empty)
---[ end trace 9542b2f908ce9cfa ]---
RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline]
RIP: 0010:sigio_perm fs/fcntl.c:715 [inline]
RIP: 0010:send_sigio_to_task+0x1ad/0x910 fs/fcntl.c:734
Code: 4c 8d b3 00 ff ff ff 48 b8 00 00 00 00 00 fc ff df 49 8d bf 58 06 00  
00 4c 89 f2 48 c1 ea 03 c6 04 02 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f  
85 1a 07 00 00 49 8b 87 58 06 00 00 4c 89 f2 48 c1
RSP: 0018:ffff8801d9b5f878 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801d9b5f9f8 RCX: ffffffff81caeb13
RDX: 00000000000000cb RSI: ffffffff81cae4e3 RDI: 0000000000000658
RBP: ffff8801d9b5fa20 R08: ffff8801acfee500 R09: ffffed003b6246d6
R10: ffffed003b6246d6 R11: ffff8801db1236b3 R12: ffff8801d98e3bc8
R13: 0000000000000000 R14: ffff8801d9b5f8f8 R15: 0000000000000000
FS:  00007fcc7bf1e700(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcc7bf1de78 CR3: 00000001acdbc000 CR4: 00000000001406e0


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with  
syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ