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: 704d, last: 12d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in fuse_file_put origin:downstream 2 C done 8 18d 746d 0/2 upstream: reported C repro on 2023/07/02 13:38
android-5-15 general protection fault in fuse_file_put origin:downstream 2 C error 3 49d 673d 0/2 upstream: reported C repro on 2023/09/13 14:58
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/07/06 01:53 13m retest repro android13-5.10-lts report log
2025/06/22 00:36 13m retest repro android13-5.10-lts report log
2025/06/22 00:36 11m retest repro android13-5.10-lts report log
2025/05/29 10:01 10m retest repro android13-5.10-lts report log
2025/05/01 20:50 5m retest repro android13-5.10-lts report log
2025/04/16 08:51 10m retest repro android13-5.10-lts report log
2025/04/02 07:08 1h01m retest repro android13-5.10-lts report log
2025/02/15 22:11 5m retest repro android13-5.10-lts report log
2025/01/28 08:19 6m retest repro android13-5.10-lts report log
2025/01/06 21:20 57m retest repro android13-5.10-lts report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2025/03/19 01:59 49m bisect fix android13-5.10-lts OK (0) job log log
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:
RAX: ffffffffffffffda RBX: 00007ff6cd8353f8 RCX: 00007ff6cd7abb39
RDX: 0000000000050043 RSI: 0000200000000100 RDI: 00000000ffffff9c
RBP: 00007ff6cd8353f0 R08: 00007ff6cd73ffa6 R09: 0000000000003331
R10: 00000000000001ff R11: 0000000000000246 R12: 00007ff6cd802394
R13: 00007ff6cd740210 R14: 0000000000000002 R15: 0000200000000100
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: 289 Comm: syz-executor263 Not tainted 5.10.237-syzkaller-00010-gcf6ed0f1511d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x11a/0x1470 fs/fuse/file.c:125
Code: 7c 24 28 bf 01 00 00 00 44 89 fe e8 60 48 77 ff 41 83 ff 01 0f 85 df 00 00 00 48 8b 44 24 28 4c 8d 78 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 47 34 b1 ff 4c 8d b4 24 a0 00 00
RSP: 0018:ffffc90000bc7000 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff92000178e10 RCX: 0000000000000000
RDX: ffff8881081f93c0 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000bc7380 R08: dffffc0000000000 R09: ffffed10238d0386
R10: ffffed10238d0386 R11: 1ffff110238d0385 R12: ffff88811c681c00
R13: dffffc0000000000 R14: ffff88811c681c28 R15: 0000000000000028
FS:  00007ff6cd7406c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff6cd7f7bd8 CR3: 00000001055d2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fuse_sync_release+0x84/0xb0 fs/fuse/file.c:393
 fuse_create_open fs/fuse/dir.c:801 [inline]
 fuse_atomic_open+0x17b8/0x1df0 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+0xf80/0x3160 fs/namei.c:3506
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536
 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217
 do_sys_open fs/open.c:1233 [inline]
 __do_sys_openat fs/open.c:1249 [inline]
 __se_sys_openat fs/open.c:1244 [inline]
 __x64_sys_openat+0x136/0x160 fs/open.c:1244
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff6cd7abb39
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:00007ff6cd740208 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ff6cd8353f8 RCX: 00007ff6cd7abb39
RDX: 0000000000050043 RSI: 0000200000000100 RDI: 00000000ffffff9c
RBP: 00007ff6cd8353f0 R08: 00007ff6cd73ffa6 R09: 0000000000003331
R10: 00000000000001ff R11: 0000000000000246 R12: 00007ff6cd802394
R13: 00007ff6cd740210 R14: 0000000000000002 R15: 0000200000000100
Modules linked in:
---[ end trace a0870b1fae317360 ]---
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x11a/0x1470 fs/fuse/file.c:125
Code: 7c 24 28 bf 01 00 00 00 44 89 fe e8 60 48 77 ff 41 83 ff 01 0f 85 df 00 00 00 48 8b 44 24 28 4c 8d 78 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 47 34 b1 ff 4c 8d b4 24 a0 00 00
RSP: 0018:ffffc90000bc7000 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff92000178e10 RCX: 0000000000000000
RDX: ffff8881081f93c0 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000bc7380 R08: dffffc0000000000 R09: ffffed10238d0386
R10: ffffed10238d0386 R11: 1ffff110238d0385 R12: ffff88811c681c00
R13: dffffc0000000000 R14: ffff88811c681c28 R15: 0000000000000028
FS:  00007ff6cd7406c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff6cd7f7bd8 CR3: 00000001055d2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	7c 24                	jl     0x26
   2:	28 bf 01 00 00 00    	sub    %bh,0x1(%rdi)
   8:	44 89 fe             	mov    %r15d,%esi
   b:	e8 60 48 77 ff       	call   0xff774870
  10:	41 83 ff 01          	cmp    $0x1,%r15d
  14:	0f 85 df 00 00 00    	jne    0xf9
  1a:	48 8b 44 24 28       	mov    0x28(%rsp),%rax
  1f:	4c 8d 78 28          	lea    0x28(%rax),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 47 34 b1 ff       	call   0xffb13480
  39:	4c                   	rex.WR
  3a:	8d                   	.byte 0x8d
  3b:	b4 24                	mov    $0x24,%ah
  3d:	a0                   	.byte 0xa0

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/05 10:47 android13-5.10-lts cf6ed0f1511d 6b6b5f21 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/12/23 19:35 android13-5.10-lts 4055d754db6f b4fbdbd4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
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
2025/06/05 10:12 android13-5.10-lts cf6ed0f1511d 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2024/12/23 19:12 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [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.