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: 1076d, last: 3d01h
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 error 10 102d 1118d 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 5 55d 1045d 0/2 upstream: reported C repro on 2023/09/13 14:58
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/06/26 06:53 14m retest repro android13-5.10-lts log
2026/06/08 02:08 12m retest repro android13-5.10-lts log
2026/05/12 00:09 13m retest repro android13-5.10-lts report log
2026/04/27 01:12 19m retest repro android13-5.10-lts report log
2026/04/07 14:14 8m retest repro android13-5.10-lts report log
2026/04/07 14:14 6m retest repro android13-5.10-lts report log
2026/03/12 00:33 6m retest repro android13-5.10-lts report log
2026/02/25 23:02 1h30m retest repro android13-5.10-lts report log
2026/02/11 21:42 6m retest repro android13-5.10-lts report log
2026/01/27 13:21 8m retest repro android13-5.10-lts report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2026/07/12 04:35 2h41m bisect fix android13-5.10-lts OK (0) job log log
2026/06/11 06:04 1h50m bisect fix android13-5.10-lts OK (0) job log log
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:
RSP: 002b:00007f77b45af028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f77b49f7090 RCX: 00007f77b476ee99
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000200000000080
RBP: 00007f77b45af090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007f77b49f7128 R14: 00007f77b49f7090 R15: 00007ffcff5b9368
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: 413 Comm: syz.2.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x141/0x1700 fs/fuse/file.c:125
Code: c1 6b 28 bf 01 00 00 00 44 89 ee e8 39 56 75 ff 41 83 fd 01 0f 85 48 01 00 00 48 8b 44 24 28 4c 8d 68 28 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 4c 89 f9 74 12 4c 89 ef e8 7d c7 af ff 48 b9 00 00
RSP: 0018:ffffc90000ff7020 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff888110ef5600 RCX: 0000000000000000
RDX: ffff888110c3cf00 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000ff7380 R08: ffff888110ef562b R09: 1ffff110221deac5
R10: dffffc0000000000 R11: ffffed10221deac6 R12: ffff888110ef5628
R13: 0000000000000028 R14: fffff520001fee10 R15: dffffc0000000000
FS:  00007f77b45af6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77b47bc580 CR3: 000000011116b000 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:405
 fuse_create_open fs/fuse/dir.c:801 [inline]
 fuse_atomic_open+0x129b/0x2200 fs/fuse/dir.c:862
 atomic_open fs/namei.c:3122 [inline]
 lookup_open fs/namei.c:3227 [inline]
 open_last_lookups fs/namei.c:3325 [inline]
 path_openat+0x12ca/0x3040 fs/namei.c:3514
 do_filp_open+0x1df/0x400 fs/namei.c:3544
 do_sys_openat2+0x19f/0x750 fs/open.c:1219
 do_sys_open fs/open.c:1235 [inline]
 __do_sys_creat fs/open.c:1311 [inline]
 __se_sys_creat fs/open.c:1305 [inline]
 __x64_sys_creat+0x8e/0xb0 fs/open.c:1305
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f77b476ee99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f77b45af028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f77b49f7090 RCX: 00007f77b476ee99
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000200000000080
RBP: 00007f77b45af090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007f77b49f7128 R14: 00007f77b49f7090 R15: 00007ffcff5b9368
Modules linked in:
---[ end trace da8a70f68569a5f6 ]---
RIP: 0010:get_fuse_mount fs/fuse/fuse_i.h:933 [inline]
RIP: 0010:fuse_file_put+0x141/0x1700 fs/fuse/file.c:125
Code: c1 6b 28 bf 01 00 00 00 44 89 ee e8 39 56 75 ff 41 83 fd 01 0f 85 48 01 00 00 48 8b 44 24 28 4c 8d 68 28 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 4c 89 f9 74 12 4c 89 ef e8 7d c7 af ff 48 b9 00 00
RSP: 0018:ffffc90000ff7020 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff888110ef5600 RCX: 0000000000000000
RDX: ffff888110c3cf00 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000ff7380 R08: ffff888110ef562b R09: 1ffff110221deac5
R10: dffffc0000000000 R11: ffffed10221deac6 R12: ffff888110ef5628
R13: 0000000000000028 R14: fffff520001fee10 R15: dffffc0000000000
FS:  00007f77b45af6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77b45aeff8 CR3: 000000011116b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 6b 28 bf          	shrl   $0xbf,0x28(%rbx)
   4:	01 00                	add    %eax,(%rax)
   6:	00 00                	add    %al,(%rax)
   8:	44 89 ee             	mov    %r13d,%esi
   b:	e8 39 56 75 ff       	call   0xff755649
  10:	41 83 fd 01          	cmp    $0x1,%r13d
  14:	0f 85 48 01 00 00    	jne    0x162
  1a:	48 8b 44 24 28       	mov    0x28(%rsp),%rax
  1f:	4c 8d 68 28          	lea    0x28(%rax),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	4c 89 f9             	mov    %r15,%rcx
  32:	74 12                	je     0x46
  34:	4c 89 ef             	mov    %r13,%rdi
  37:	e8 7d c7 af ff       	call   0xffafc7b9
  3c:	48                   	rex.W
  3d:	b9                   	.byte 0xb9

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/17 19:15 android13-5.10-lts 50b3a256e550 8aaff637 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
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
2026/07/22 01:26 android13-5.10-lts 50b3a256e550 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_file_put
2026/07/17 18:40 android13-5.10-lts 50b3a256e550 8aaff637 .config console log report info [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.