syzbot


general protection fault in fuse_opt_fd

Status: upstream: reported C repro on 2026/03/19 07:31
Subsystems: fuse
[Documentation on labels]
Reported-by: syzbot+3c38f696edf9e331cd53@syzkaller.appspotmail.com
First crash: 5d15h, last: 1d19h
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [fuse?] general protection fault in fuse_opt_fd 0 (1) 2026/03/19 07:31
[PATCH] fuse: check for NULL file returned by fget 1 (1) 2026/03/16 22:56

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f]
CPU: 1 UID: 0 PID: 6045 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:fuse_opt_fd+0x49/0x220 fs/fuse/inode.c:807
Code: 4c 8d bb 98 00 00 00 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 15 f7 e4 fe 4d 8b 3f 4d 8d 66 48 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 f9 f6 e4 fe 49 81 3c 24 00 2b 29 8c
RSP: 0018:ffffc90002dd7a68 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff88807a954a00 RCX: ffff888031dbdb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807a954a00
RBP: dffffc0000000000 R08: ffffffff824b518a R09: ffffffff8eb5d6a0
R10: 0000000000000009 R11: 0000000000000000 R12: 0000000000000048
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88801ebe3080
FS:  00005555945e4500(0000) GS:ffff888124ee2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 000000007ae84000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 fuse_parse_param+0x69b/0xa80 fs/fuse/inode.c:865
 vfs_parse_fs_param+0x1a9/0x420 fs/fs_context.c:132
 vfs_parse_fs_qstr fs/fs_context.c:173 [inline]
 vfs_parse_fs_string include/linux/fs_context.h:142 [inline]
 vfs_parse_monolithic_sep+0x283/0x360 fs/fs_context.c:213
 do_new_mount+0x304/0xd30 fs/namespace.c:3836
 do_mount fs/namespace.c:4173 [inline]
 __do_sys_mount fs/namespace.c:4372 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4349
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0932d9c799
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:00007fffbe74bc28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0933015fa0 RCX: 00007f0932d9c799
RDX: 0000200000002100 RSI: 00002000000020c0 RDI: 0000000000000000
RBP: 00007f0932e32c99 R08: 0000200000002140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0933015fac R14: 00007f0933015fa0 R15: 00007f0933015fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:fuse_opt_fd+0x49/0x220 fs/fuse/inode.c:807
Code: 4c 8d bb 98 00 00 00 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 15 f7 e4 fe 4d 8b 3f 4d 8d 66 48 4c 89 e0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 e7 e8 f9 f6 e4 fe 49 81 3c 24 00 2b 29 8c
RSP: 0018:ffffc90002dd7a68 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff88807a954a00 RCX: ffff888031dbdb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807a954a00
RBP: dffffc0000000000 R08: ffffffff824b518a R09: ffffffff8eb5d6a0
R10: 0000000000000009 R11: 0000000000000000 R12: 0000000000000048
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88801ebe3080
FS:  00005555945e4500(0000) GS:ffff888124ee2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 000000007ae84000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	4c 8d bb 98 00 00 00 	lea    0x98(%rbx),%r15
   7:	4c 89 f8             	mov    %r15,%rax
   a:	48 c1 e8 03          	shr    $0x3,%rax
   e:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1)
  12:	74 08                	je     0x1c
  14:	4c 89 ff             	mov    %r15,%rdi
  17:	e8 15 f7 e4 fe       	call   0xfee4f731
  1c:	4d 8b 3f             	mov    (%r15),%r15
  1f:	4d 8d 66 48          	lea    0x48(%r14),%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 e7             	mov    %r12,%rdi
  33:	e8 f9 f6 e4 fe       	call   0xfee4f731
  38:	49 81 3c 24 00 2b 29 	cmpq   $0xffffffff8c292b00,(%r12)
  3f:	8c

Crashes (71):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/17 03:27 linux-next 95c541ddfb08 0737c18f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 02:32 linux-next 95c541ddfb08 0737c18f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 01:34 linux-next 95c541ddfb08 0737c18f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 16:00 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 14:54 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 13:21 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/20 10:53 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 10:36 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/20 09:13 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 08:12 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 03:11 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 02:01 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/20 00:27 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 22:49 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 19:33 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 15:54 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 12:16 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 09:36 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 08:49 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 04:20 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/19 02:07 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 14:14 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 13:43 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 13:43 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 11:57 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 11:57 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 11:56 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 11:56 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 10:16 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 05:25 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 04:20 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 04:20 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/18 03:35 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 03:26 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 02:51 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 00:11 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/18 00:03 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 23:36 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 16:21 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 16:20 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 12:54 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 12:54 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 10:23 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 09:41 linux-next 95c541ddfb08 c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 08:33 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/17 02:53 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 02:53 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 02:49 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 02:49 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 00:56 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/17 00:35 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/16 21:44 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/16 21:44 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in fuse_opt_fd
2026/03/16 21:24 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
2026/03/16 21:24 linux-next 95c541ddfb08 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in fuse_opt_fd
* Struck through repros no longer work on HEAD.