syzbot


general protection fault in fuse_file_put

Status: upstream: reported C repro on 2023/08/14 01:55
Reported-by: syzbot+b77a26994d98fd499901@syzkaller.appspotmail.com
First crash: 465d, last: 2d09h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in fuse_file_put origin:downstream C done 8 29d 508d 0/2 upstream: reported C repro on 2023/07/02 13:38
android-5-15 general protection fault in fuse_file_put origin:downstream C error 1 33d 435d 0/2 upstream: reported C repro on 2023/09/13 14:58
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/11/19 07:59 11m retest repro android13-5.10-lts report log
2024/09/28 12:07 11m retest repro android13-5.10-lts report log
2024/09/28 12:07 58m retest repro android13-5.10-lts report log
2024/09/10 07:17 33m retest repro android13-5.10-lts report log
2024/07/20 11:25 14m retest repro android13-5.10-lts report log
2024/07/20 11:25 11m retest repro android13-5.10-lts report log
2024/05/05 02:44 2m retest repro android13-5.10-lts error
2024/02/12 23:45 12m retest repro android13-5.10-lts report log
2024/01/15 19:34 6m retest repro android13-5.10-lts report log
2023/08/29 18:46 9m retest repro android13-5.10-lts report log
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/10/28 14:52 2h49m bisect fix android13-5.10-lts OK (0) job log log
2024/07/02 06:10 36m bisect fix android13-5.10-lts OK (0) job log log
2024/05/25 04:52 32m bisect fix android13-5.10-lts OK (0) job log log
2024/04/20 22:36 1h01m bisect fix android13-5.10-lts OK (0) job log log
2024/03/20 09:04 36m bisect fix android13-5.10-lts OK (0) job log log
2023/12/04 23:03 35m bisect fix android13-5.10-lts OK (0) job log log
2023/11/03 19:04 1h47m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 0000000000000002 R08: 00007f53bb254ee6 R09: 0000000000003531
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f53bb3463fc
R13: 000000000000006e R14: 00007ffe314b3400 R15: 00007ffe314b34e8
general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 1 PID: 295 Comm: syz-executor322 Not tainted 5.10.218-syzkaller-00638-g3feee789f446 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x11b/0x2420 fs/fuse/file.c:125
Code: f0 41 0f c1 5e 28 bf 01 00 00 00 89 de e8 6d a4 6b ff 83 fb 01 0f 85 e4 00 00 00 4c 89 e9 4d 8d 6c 24 28 4c 89 e8 48 c1 e8 03 <80> 3c 08 00 74 08 4c 89 ef e8 47 34 a9 ff 4c 8d bc 24 c0 00 00 00
RSP: 0018:ffffc90000b56f20 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff88811f3aa780 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000b572c0 R08: ffffffff81ff09c3 R09: ffffed1023ea7b06
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000028 R14: ffff88811f53d800 R15: ffff88811f53d828
FS:  00007f53bb2556c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020009000 CR3: 0000000119719000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fuse_sync_release+0x81/0xb0 fs/fuse/file.c:393
 fuse_create_open fs/fuse/dir.c:801 [inline]
 fuse_atomic_open+0x2914/0x34e0 fs/fuse/dir.c:862
 atomic_open fs/namei.c:3114 [inline]
 lookup_open fs/namei.c:3219 [inline]
 open_last_lookups fs/namei.c:3317 [inline]
 path_openat+0xff0/0x3000 fs/namei.c:3506
 do_filp_open+0x21c/0x460 fs/namei.c:3536
 do_sys_openat2+0x13f/0x6f0 fs/open.c:1217
 do_sys_open fs/open.c:1233 [inline]
 __do_sys_creat fs/open.c:1307 [inline]
 __se_sys_creat fs/open.c:1301 [inline]
 __x64_sys_creat+0x11f/0x160 fs/open.c:1301
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f53bb2c2589
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1b 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f53bb255148 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f53bb255150 RCX: 00007f53bb2c2589
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 0000000000000002 R08: 00007f53bb254ee6 R09: 0000000000003531
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f53bb3463fc
R13: 000000000000006e R14: 00007ffe314b3400 R15: 00007ffe314b34e8
Modules linked in:
---[ end trace 0c349ce88b6a35f7 ]---
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x11b/0x2420 fs/fuse/file.c:125
Code: f0 41 0f c1 5e 28 bf 01 00 00 00 89 de e8 6d a4 6b ff 83 fb 01 0f 85 e4 00 00 00 4c 89 e9 4d 8d 6c 24 28 4c 89 e8 48 c1 e8 03 <80> 3c 08 00 74 08 4c 89 ef e8 47 34 a9 ff 4c 8d bc 24 c0 00 00 00
RSP: 0018:ffffc90000b56f20 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff88811f3aa780 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000b572c0 R08: ffffffff81ff09c3 R09: ffffed1023ea7b06
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000028 R14: ffff88811f53d800 R15: ffff88811f53d828
FS:  00007f53bb2556c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020009000 CR3: 0000000119719000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	f0 41 0f c1 5e 28    	lock xadd %ebx,0x28(%r14)
   6:	bf 01 00 00 00       	mov    $0x1,%edi
   b:	89 de                	mov    %ebx,%esi
   d:	e8 6d a4 6b ff       	call   0xff6ba47f
  12:	83 fb 01             	cmp    $0x1,%ebx
  15:	0f 85 e4 00 00 00    	jne    0xff
  1b:	4c 89 e9             	mov    %r13,%rcx
  1e:	4d 8d 6c 24 28       	lea    0x28(%r12),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ef             	mov    %r13,%rdi
  33:	e8 47 34 a9 ff       	call   0xffa9347f
  38:	4c 8d bc 24 c0 00 00 	lea    0xc0(%rsp),%r15
  3f:	00

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/06 04:40 android13-5.10-lts 3feee789f446 2a40360c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/01/01 13:52 android13-5.10-lts f7977422e132 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/08/14 01:50 android13-5.10-lts 8a427269c016 39990d51 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/08/19 17:19 android13-5.10-lts 0890c03b8b7d 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/07/06 04:20 android13-5.10-lts 3feee789f446 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/02/18 23:21 android13-5.10-lts dd976ecce2ce 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/01/01 13:31 android13-5.10-lts f7977422e132 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/10/03 14:18 android13-5.10-lts a27512601c2d 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/09/16 22:41 android13-5.10-lts a27512601c2d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/09/12 00:27 android13-5.10-lts a27512601c2d 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/09/08 11:47 android13-5.10-lts a27512601c2d 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2023/08/14 01:28 android13-5.10-lts 8a427269c016 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
* Struck through repros no longer work on HEAD.