syzbot


general protection fault in klist_put (2)

Status: auto-closed as invalid on 2019/03/05 21:42
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+22995b06a543d8f61a59@syzkaller.appspotmail.com
First crash: 2032d, last: 2029d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in klist_put (2) 0 (1) 2018/09/05 07:14
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in klist_put kernel 2 2332d 2335d 0/26 closed as invalid on 2018/02/14 14:49

Sample crash report:
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: 0 PID: 13591 Comm: syz-executor2 Not tainted 4.19.0-rc2+ #220
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:klist_put+0x50/0x180 lib/klist.c:213
Code: c1 ea 03 80 3c 02 00 0f 85 2b 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 1c 24 48 83 e3 fe 48 8d 7b 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fa 00 00 00 48 89 df 4c 8b 73 50 e8 fa e8 06 00
RSP: 0018:ffff880184867228 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001e8c000
RDX: 000000000000000a RSI: ffffffff86cdb528 RDI: 0000000000000050
RBP: ffff880184867250 R08: fffffbfff1151e35 R09: fffffbfff1151e34
R10: fffffbfff1151e34 R11: ffffffff88a8f1a3 R12: ffff8801ce520ef8
R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff86cdb9ad
FS:  00007f2dc774f700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f766e67d0 CR3: 00000001c8958000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 klist_del lib/klist.c:231 [inline]
 klist_remove+0x241/0x460 lib/klist.c:250
 __device_release_driver drivers/base/dd.c:979 [inline]
 device_release_driver_internal+0x589/0x750 drivers/base/dd.c:999
 device_release_driver+0x19/0x20 drivers/base/dd.c:1024
 usb_driver_release_interface+0x110/0x190 drivers/usb/core/driver.c:604
 proc_disconnect_claim+0x288/0x410 drivers/usb/core/devio.c:2281
 usbdev_do_ioctl+0x17ee/0x3b30 drivers/usb/core/devio.c:2523
 usbdev_ioctl+0x25/0x30 drivers/usb/core/devio.c:2551
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685
 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702
 __do_sys_ioctl fs/ioctl.c:709 [inline]
 __se_sys_ioctl fs/ioctl.c:707 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457099
Code: fd 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f2dc774ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2dc774f6d4 RCX: 0000000000457099
RDX: 0000000020000080 RSI: 000000008108551b RDI: 0000000000000003
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004ce8f0 R14: 00000000004c4e0b R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace d19413fa3dcc6123 ]---
RIP: 0010:klist_put+0x50/0x180 lib/klist.c:213
Code: c1 ea 03 80 3c 02 00 0f 85 2b 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 1c 24 48 83 e3 fe 48 8d 7b 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fa 00 00 00 48 89 df 4c 8b 73 50 e8 fa e8 06 00
RSP: 0018:ffff880184867228 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001e8c000
IPVS: ftp: loaded support on port[0] = 21
RDX: 000000000000000a RSI: ffffffff86cdb528 RDI: 0000000000000050
RBP: ffff880184867250 R08: fffffbfff1151e35 R09: fffffbfff1151e34
R10: fffffbfff1151e34 R11: ffffffff88a8f1a3 R12: ffff8801ce520ef8
R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff86cdb9ad
FS:  00007f2dc774f700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f766e67d0 CR3: 00000001c8958000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/04 04:52 upstream 60c1f89241d4 a4718693 .config console log report ci-upstream-kasan-gce
2018/09/06 21:41 linux-next f2b6e66e9885 0bb7a7eb .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.