syzbot


general protection fault in klist_put

Status: closed as invalid on 2018/02/14 14:49
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+f841f737eaae84758e88c9d3c5aaf4275c1ce556@syzkaller.appspotmail.com
First crash: 2373d, last: 2359d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in klist_put (2) kernel 2 2056d 2058d 0/26 auto-closed as invalid on 2019/03/05 21:42

Sample crash report:
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)
Modules linked in:
CPU: 2 PID: 9011 Comm: syz-executor0 Not tainted 4.14.0-rc7-next-20171103+ #10
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
task: ffff88003c324440 task.stack: ffff880033658000
RIP: 0010:klist_put+0x4e/0x160 lib/klist.c:213
RSP: 0018:ffff88003365f390 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85023a26
RDX: 000000000000000b RSI: ffffc90000f53000 RDI: 0000000000000058
RBP: ffff88003365f3b0 R08: ffffffff86579938 R09: 1ffff100066cbe4e
R10: ffff88003c324440 R11: 0000000000000002 R12: ffff88006a89ac80
R13: 0000000000000001 R14: ffffffff85023f0b R15: ffff88006a9fe320
FS:  00007f6ad6fc4700(0000) GS:ffff88006de00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c7984 CR3: 0000000056cda000 CR4: 00000000000006e0
DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 klist_del lib/klist.c:231 [inline]
 klist_remove+0x220/0x4e0 lib/klist.c:250
 __device_release_driver drivers/base/dd.c:875 [inline]
 device_release_driver_internal+0x469/0x600 drivers/base/dd.c:895
 device_release_driver+0x19/0x20 drivers/base/dd.c:920
 usb_driver_release_interface+0x138/0x160 drivers/usb/core/driver.c:604
 proc_disconnect_claim+0x221/0x380 drivers/usb/core/devio.c:2282
 usbdev_do_ioctl+0x16a5/0x3670 drivers/usb/core/devio.c:2524
 usbdev_ioctl+0x25/0x30 drivers/usb/core/devio.c:2552
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x447c89
RSP: 002b:00007f6ad6fc3bd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6ad6fc46cc RCX: 0000000000447c89
RDX: 0000000020101ffa RSI: 000000008108551b RDI: 0000000000000014
RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a96f0
R13: 0000000000000000 R14: 00007f6ad6fc39c8 R15: 00007f6ad6fc3b38
Code: 48 c1 ea 03 80 3c 02 00 0f 85 1b 01 00 00 49 8b 1c 24 48 b8 00 00 00 00 00 fc ff df 48 83 e3 fe 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ea 00 00 00 48 89 df 4c 8b 73 58 e8 0c 42 06 
RIP: klist_put+0x4e/0x160 lib/klist.c:213 RSP: ffff88003365f390
---[ end trace 3ee45d54d414f2b8 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/11/08 05:42 linux-next 5a3517e009e9 e0a2b195 .config console log report ci-upstream-next-kasan-gce
2017/10/25 03:34 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.