syzbot


general protection fault in sock_close

Status: auto-obsoleted due to no activity on 2023/04/16 01:53
Reported-by: syzbot+6be5dc02975f2dbd76cd@syzkaller.appspotmail.com
First crash: 1338d, last: 1326d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in sock_close net syz done unreliable 2 1337d 1334d 20/26 fixed on 2022/05/26 00:19
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/04/16 00:40 18m retest repro android12-5.4 OK log
2023/04/15 23:40 17m retest repro android12-5.4 OK log
2023/04/15 22:40 18m retest repro android12-5.4 OK log
2023/04/15 20:40 17m retest repro android12-5.4 OK log
2023/04/15 19:40 18m retest repro android12-5.4 OK log
2023/04/15 18:40 15m retest repro android12-5.4 OK log
2023/04/15 16:40 18m retest repro android12-5.4 OK log
2023/04/15 15:40 19m retest repro android12-5.4 OK log
2023/04/15 14:40 18m retest repro android12-5.4 OK log
2023/04/15 13:40 13m retest repro android12-5.4 OK log

Sample crash report:
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2375 Comm: syz-executor.0 Not tainted 5.4.63-syzkaller-01131-g40c744888652 #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 79 4f 4f 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 53 4f 4f fe 4c 89 f7 ff 13 49 8d 5e
RSP: 0018:ffff8881c873fe20 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881cb3e62f0
RBP: ffffffff8474bcc0 R08: dffffc0000000000 R09: ffffed103967cc5f
R10: ffffed103967cc5f R11: 0000000000000000 R12: 1ffff1103967cc3c
R13: ffff8881cb3e62e0 R14: ffff8881cb3e61c0 R15: ffff8881cb3e61e0
FS:  00007f65b38f4700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001cd73b004 CR4: 00000000001606f0
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:00007f65b38f3c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9
RAX: 0000000000000000 RBX: 0000000000002ac0 RCX: 000000000045d5b9
RDX: 0000000000000005 RSI: 0000000000000001 RDI: 0000000000000008
RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000200001c0 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007fff1e16750f R14: 00007f65b38f49c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace 04227244b5027602 ]---
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 79 4f 4f 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 53 4f 4f fe 4c 89 f7 ff 13 49 8d 5e
RSP: 0018:ffff8881c873fe20 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881cb3e62f0
RBP: ffffffff8474bcc0 R08: dffffc0000000000 R09: ffffed103967cc5f
R10: ffffed103967cc5f R11: 0000000000000000 R12: 1ffff1103967cc3c
R13: ffff8881cb3e62e0 R14: ffff8881cb3e61c0 R15: ffff8881cb3e61e0
FS:  00007f65b38f4700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001cd73b004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/09 01:51 https://android.googlesource.com/kernel/common android-5.4 40c744888652 abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/08 17:55 https://android.googlesource.com/kernel/common android-5.4 98fda21f54f7 abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/07 20:38 https://android.googlesource.com/kernel/common android-5.4 c99fd3bf1076 abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/07 09:58 https://android.googlesource.com/kernel/common android-5.4 0ef1db7b69dd abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/04 03:42 https://android.googlesource.com/kernel/common android-5.4 0ddc717be4a9 abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/03 22:28 https://android.googlesource.com/kernel/common android-5.4 0ede4657b27f abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/09/03 19:39 https://android.googlesource.com/kernel/common android-5.4 0ede4657b27f abf9ba4f .config console log report syz ci2-android-5-4-kasan
2020/08/30 09:02 https://android.googlesource.com/kernel/common android-5.4 e15cc541b749 d5a3ae1f .config console log report syz ci2-android-5-4-kasan
2020/08/29 13:59 https://android.googlesource.com/kernel/common android-5.4 e15cc541b749 d5a3ae1f .config console log report syz ci2-android-5-4-kasan
2020/08/27 21:10 https://android.googlesource.com/kernel/common android-5.4 1bd2e4c18e44 816e0689 .config console log report syz ci2-android-5-4-kasan
2020/08/27 19:05 https://android.googlesource.com/kernel/common android-5.4 4915c32a2f6b 816e0689 .config console log report syz ci2-android-5-4-kasan
2020/09/04 01:54 https://android.googlesource.com/kernel/common android-5.4 0ddc717be4a9 abf9ba4f .config console log report ci2-android-5-4-kasan
2020/08/29 13:47 https://android.googlesource.com/kernel/common android-5.4 e15cc541b749 d5a3ae1f .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.