general protection fault in sock_close

11 views
Skip to first unread message

syzbot

unread,
Aug 27, 2020, 3:06:14 PM8/27/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4915c32a ANDROID: GKI: update xml due change of SCSI_UFS_Q..
git tree: android-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=11798299900000
kernel config: https://syzkaller.appspot.com/x/.config?x=b5e85a4a81932633
dashboard link: https://syzkaller.appspot.com/bug?extid=6be5dc02975f2dbd76cd
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=157202f2900000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6be5dc...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2191 Comm: syz-executor.0 Not tainted 5.4.61-syzkaller-00800-g4915c32a2f6b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sock_release net/socket.c:591 [inline]
RIP: 0010:sock_close+0xbf/0x250 net/socket.c:1269
Code: fc ff df 41 80 3c 04 00 74 08 4c 89 ff e8 49 88 4a fe 49 8b 1f 48 83 c3 10 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 23 88 4a fe 4c 89 f7 ff 13 49 8d 5e
RSP: 0018:ffff8881c18bfe20 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881cb79aa70
RBP: ffffffff8474ffc0 R08: dffffc0000000000 R09: ffffed10396f354f
R10: ffffed10396f354f R11: 0000000000000000 R12: 1ffff110396f352c
R13: ffff8881cb79aa60 R14: ffff8881cb79a940 R15: ffff8881cb79a960
FS: 00007f88fd499700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001ce64d001 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__fput+0x27d/0x6c0 fs/file_table.c:280
task_work_run+0x176/0x1a0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_usermode_loop arch/x86/entry/common.c:163 [inline]
prepare_exit_to_usermode+0x286/0x2e0 arch/x86/entry/common.c:194
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5b9
Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f88fd498c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9
RAX: 0000000000000000 RBX: 0000000000002ac0 RCX: 000000000045d5b9
RDX: 0000000000000004 RSI: 0000000000000001 RDI: 0000000000000005
RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000200003c0 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffc7f323a1f R14: 00007f88fd4999c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace 56f0c2dbc8d1a3b1 ]---
RIP: 0010:__sock_release net/socket.c:591 [inline]
RIP: 0010:sock_close+0xbf/0x250 net/socket.c:1269
Code: fc ff df 41 80 3c 04 00 74 08 4c 89 ff e8 49 88 4a fe 49 8b 1f 48 83 c3 10 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 23 88 4a fe 4c 89 f7 ff 13 49 8d 5e
RSP: 0018:ffff8881c18bfe20 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881cb79aa70
RBP: ffffffff8474ffc0 R08: dffffc0000000000 R09: ffffed10396f354f
R10: ffffed10396f354f R11: 0000000000000000 R12: 1ffff110396f352c
R13: ffff8881cb79aa60 R14: ffff8881cb79a940 R15: ffff8881cb79a960
FS: 00007f88fd499700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001ce64d001 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report 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 syzk...@googlegroups.com.

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

syzbot

unread,
Apr 15, 2023, 9:53:38 PM4/15/23
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages