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]
Message-ID: <001a11426eae20adb5056655e0f1@google.com>
Date:   Thu, 01 Mar 2018 00:45:02 -0800
From:   syzbot <syzbot+9045fc589fcd196ef522@...kaller.appspotmail.com>
To:     davem@...emloft.net, linux-kernel@...r.kernel.org,
        linux-s390@...r.kernel.org, netdev@...r.kernel.org,
        syzkaller-bugs@...glegroups.com, ubraun@...ux.vnet.ibm.com
Subject: general protection fault in smc_setsockopt

Hello,

syzbot hit the following crash on upstream commit
c89be5242607d8aa08a6fa45a887c68b2d4a2a2c (Sun Feb 25 21:43:18 2018 +0000)
Merge tag 'nfs-for-4.16-3' of  
git://git.linux-nfs.org/projects/trondmy/linux-nfs

So far this crash happened 21 times on net-next, upstream.
Unfortunately, I don't have any reproducer for this crash yet.
Raw console output is attached.
compiler: gcc (GCC) 7.1.1 20170620
.config is attached.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+9045fc589fcd196ef522@...kaller.appspotmail.com
It will help syzbot understand when the bug is fixed. See footer for  
details.
If you forward the report, please keep this part and the footer.

net_ratelimit: 10 callbacks suppressed
IPv6: veth1: IPv6 duplicate address fe80::6:10 used by aa:aa:aa:aa:06:10  
detected!
xt_connbytes: Forcing CT accounting to be enabled
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
Dumping ftrace buffer:
    (ftrace buffer empty)
kasan: CONFIG_KASAN_INLINE enabled
Modules linked in:
CPU: 0 PID: 8593 Comm: syz-executor3 Not tainted 4.16.0-rc2+ #329
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
RIP: 0010:smc_setsockopt+0x8b/0x110 net/smc/af_smc.c:1288
kasan: GPF could be caused by NULL-ptr deref or user memory access
RSP: 0018:ffff8801d363fcd0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85a42516
RDX: 0000000000000005 RSI: ffffc900044fa000 RDI: 0000000000000028
RBP: ffff8801d363fd00 R08: 0000000000000160 R09: 1ffff1003a6c7f1f
R10: 0000000000000003 R11: 0000000000000000 R12: ffff8801d363fdd8
R13: 0000000000000006 R14: 000000000000000e R15: 0000000020000000
FS:  00007fb430913700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006fa0f8 CR3: 00000001b4275004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  SYSC_setsockopt net/socket.c:1849 [inline]
  SyS_setsockopt+0x189/0x360 net/socket.c:1828
  do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287
  entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x453de9
RSP: 002b:00007fb430912c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fb4309136d4 RCX: 0000000000453de9
RDX: 000000000000000e RSI: 0000000000000006 RDI: 0000000000000013
RBP: 000000000072bf58 R08: 0000000000000160 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000057f R14: 00000000006f8488 R15: 0000000000000001
Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 8e 00 00 00 48 8b 9b 48 04 00 00 48  
b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00  
75 5d 4c 8b 63 28 48 b8 00 00 00 00 00 fc ff df 49
RIP: smc_setsockopt+0x8b/0x110 net/smc/af_smc.c:1288 RSP: ffff8801d363fcd0
general protection fault: 0000 [#2] SMP KASAN
---[ end trace 5b5d74758268dff6 ]---
Dumping ftrace buffer:
    (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 8598 Comm: syz-executor3 Tainted: G      D          4.16.0-rc2+  
#329
Kernel panic - not syncing: Fatal exception
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
RIP: 0010:smc_setsockopt+0x8b/0x110 net/smc/af_smc.c:1288
RSP: 0018:ffff8801aae57cd0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85a42516
RDX: 0000000000000005 RSI: ffffc9000457b000 RDI: 0000000000000028
RBP: ffff8801aae57d00 R08: 0000000000000004 R09: 1ffff100355caf1f
R10: 0000000000000003 R11: ffffed00355caf59 R12: ffff8801aae57dd8
R13: 0000000000000000 R14: 000000000000003f R15: 0000000020000180
FS:  00007fb4308f2700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe7014ddb0 CR3: 00000001b4275004 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  SYSC_setsockopt net/socket.c:1849 [inline]
  SyS_setsockopt+0x189/0x360 net/socket.c:1828
  do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287
  entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x453de9
RSP: 002b:00007fb4308f1c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fb4308f26d4 RCX: 0000000000453de9
RDX: 000000000000003f RSI: 0000000000000000 RDI: 0000000000000013
RBP: 000000000072c010 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000180 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000521 R14: 00000000006f7bb8 R15: 0000000000000002
Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 8e 00 00 00 48 8b 9b 48 04 00 00 48  
b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00  
75 5d 4c 8b 63 28 48 b8 00 00 00 00 00 fc ff df 49
RIP: smc_setsockopt+0x8b/0x110 net/smc/af_smc.c:1288 RSP: ffff8801aae57cd0
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.

syzbot will keep track of this bug report.
If you forgot to add the Reported-by tag, once the fix for this bug is  
merged
into any tree, 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 in the email body.

View attachment "raw.log.txt" of type "text/plain" (1048576 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ