syzbot


general protection fault in fuse_ctl_remove_conn

Status: fixed on 2018/07/09 18:05
Subsystems: fuse
[Documentation on labels]
Reported-by: syzbot+32c236387d66c4516827@syzkaller.appspotmail.com
Fix commit: 6becdb601bae fuse: fix control dir setup and teardown
First crash: 2400d, last: 2361d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 3.16 000/366] 3.16.61-rc1 review 375 (376) 2019/01/02 17:44
[PATCH 4.9 000/101] 4.9.111-stable review 110 (110) 2018/10/09 06:56
[PATCH 4.4 000/105] 4.4.139-stable review 106 (106) 2018/07/26 15:09
[PATCH 4.17 000/220] 4.17.4-stable review 219 (219) 2018/07/03 06:31
[PATCH 4.14 000/157] 4.14.53-stable review 156 (156) 2018/07/02 16:32
general protection fault in fuse_ctl_remove_conn 2 (3) 2018/05/31 14:27
[PATCH] fuse: don't keep inode-less dentry at fuse_ctl_add_dentry(). 5 (5) 2018/05/11 22:12

Sample crash report:
RBP: 0030656c69662f2e R08: 0000000020000300 R09: 0000000000003833
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe5dea3810
R13: ffffffffffffffff R14: 006c746365737566 R15: 0000000000000044
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)
Modules linked in:
CPU: 0 PID: 4504 Comm: syz-executor777 Not tainted 4.17.0-rc2+ #19
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:fuse_ctl_remove_conn+0xc8/0x1b0 fs/fuse/control.c:286
RSP: 0018:ffff8801b0ee7968 EFLAGS: 00010202
RAX: 0000000000000075 RBX: ffff8801ac6dc2c0 RCX: ffffffff82645bb7
RDX: 0000000000000000 RSI: ffffffff82645bda RDI: 00000000000003a8
RBP: ffff8801b0ee7990 R08: ffff8801b1cd2740 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: 0000000000000001
R13: ffff8801d0bb5410 R14: dffffc0000000000 R15: 0000000000000000
FS:  00000000026bc880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001471000 CR3: 00000001b1137000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fuse_ctl_add_conn+0x261/0x280 fs/fuse/control.c:269
 fuse_ctl_fill_super+0xf7/0x160 fs/fuse/control.c:307
 mount_single+0xfb/0x170 fs/super.c:1236
 fuse_ctl_mount+0x2c/0x40 fs/fuse/control.c:322
 mount_fs+0xae/0x328 fs/super.c:1267
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2848
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440579
RSP: 002b:00007ffe5dea3808 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440579
RDX: 00000000200002c0 RSI: 0000000020000280 RDI: 0000000020000240
RBP: 0030656c69662f2e R08: 0000000020000300 R09: 0000000000003833
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe5dea3810
R13: ffffffffffffffff R14: 006c746365737566 R15: 0000000000000044
Code: 8b 5d 00 48 8d 7b 58 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 cc 00 00 00 4c 8b 7b 58 49 8d bf a8 03 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 a5 00 00 00 48 89 df 41 83 ec 01 49 83 ed 
RIP: fuse_ctl_remove_conn+0xc8/0x1b0 fs/fuse/control.c:286 RSP: ffff8801b0ee7968
---[ end trace d64f1dab46c839a5 ]---

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/27 12:39 upstream 0644f186fc9d 73417389 .config console log report syz C ci-upstream-kasan-gce-root
2018/06/05 15:19 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce-root
2018/06/03 22:50 upstream 325e14f97e0c 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/05/30 22:26 upstream d60d61f36b8f 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/05/30 01:12 upstream 3d661e2a2d1c 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/05/29 23:28 upstream 3d661e2a2d1c e276de77 .config console log report ci-upstream-kasan-gce-root
2018/05/28 09:58 upstream b04e217704b7 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/22 10:01 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/21 20:34 upstream 6741c4bb389d f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/17 00:32 upstream 21b9f1c7e319 a367c1d7 .config console log report ci-upstream-kasan-gce-root
2018/05/13 02:33 upstream 427fbe89261d e726f42b .config console log report ci-upstream-kasan-gce-root
2018/05/02 17:21 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 13:56 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 13:51 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/04/30 22:52 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/04/27 12:22 upstream 0644f186fc9d 73417389 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.