syzbot


general protection fault in fuse_atomic_open (2)

Status: upstream: reported C repro on 2023/07/29 15:55
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+d5a67f398c870048ac6f@syzkaller.appspotmail.com
First crash: 661d, last: 21h37m
Cause bisection: introduced by (bisect log) :
commit f5f4199c102aa676998b42abff60d071385c1c0c
Author: Daniel Rosenberg <drosen@google.com>
Date: Thu Dec 2 21:50:02 2021 +0000

  ANDROID: fuse-bpf v1.1

Crash: BUG: unable to handle kernel NULL pointer dereference in fuse_atomic_open (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/07/29 android13-5.15-lts (ToT) 748fd0d9ca0f C [report] general protection fault in fuse_atomic_open
2023/07/29 lts (merge base) 26a0ba5d1654 C Didn't crash
2023/07/29 upstream (ToT) ffabf7c73176 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in fuse_atomic_open origin:downstream C done 15 8d08h 673d 0/2 upstream: reported C repro on 2023/07/17 00:03
android-5-10 general protection fault in fuse_atomic_open C error 63 4d01h 673d 0/2 upstream: reported C repro on 2023/07/16 23:36
android-5-15 general protection fault in fuse_atomic_open 1 779d 779d 0/2 auto-obsoleted due to no activity on 2023/07/01 15:58
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/05/08 01:02 5m retest repro android13-5.15-lts report log
2025/04/20 02:40 6m retest repro android13-5.15-lts report log
2025/04/20 02:40 6m retest repro android13-5.15-lts report log
2025/04/20 02:40 8m retest repro android13-5.15-lts report log
2025/03/20 14:26 6m retest repro android13-5.15-lts report log
2025/02/24 17:05 1h02m retest repro android13-5.15-lts report log
2025/01/30 12:09 18m retest repro android13-5.15-lts report log
2025/01/16 11:40 12m retest repro android13-5.15-lts report log
2025/01/16 11:40 12m retest repro android13-5.15-lts report log
2024/12/18 08:45 1h10m retest repro android13-5.15-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/05/01 04:37 2h00m bisect fix android13-5.15-lts OK (0) job log log
2024/01/15 00:48 34m bisect fix android13-5.15-lts OK (0) job log log
2023/09/24 04:32 45m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 PID: 291 Comm: syz-executor369 Not tainted 5.15.182-syzkaller-00462-g57725b368731 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:d_really_is_positive include/linux/dcache.h:503 [inline]
RIP: 0010:fuse_atomic_open+0x238/0x2140 fs/fuse/dir.c:875
Code: 89 de 83 e6 40 31 ff e8 d6 0a 72 ff 89 d8 83 e0 40 75 07 e8 1a 07 72 ff eb 2e 48 8b 44 24 58 48 8d 58 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 29 78 b0 ff 48 83 3b 00 0f 84 9c
RSP: 0018:ffffc90000a77380 EFLAGS: 00010202
RAX: 0000000000000007 RBX: 0000000000000038 RCX: ffff8881047d2780
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc90000a779b0 R08: ffff8881047d2780 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888120f30000 R14: 1ffff9200014ee88 R15: 0000000000000008
FS:  00007ff2827f26c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563f72870eb8 CR3: 000000011ebf5000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 atomic_open fs/namei.c:3325 [inline]
 lookup_open fs/namei.c:3433 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0xe31/0x2f10 fs/namei.c:3739
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_creat fs/open.c:1326 [inline]
 __se_sys_creat fs/open.c:1320 [inline]
 __x64_sys_creat+0x8e/0xb0 fs/open.c:1320
 x64_sys_call+0x94a/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7ff2828555a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007ff2827f2158 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 0030656c69662f30 RCX: 00007ff2828555a9
RDX: 00007ff2828555a9 RSI: 0000000000000000 RDI: 0000200000000080
RBP: 00007ff2828de3f0 R08: 00007ff2827f26c0 R09: 00007ff2828de3f8
R10: 00007ff2828de3f8 R11: 0000000000000246 R12: 00007ff2828de3fc
R13: 000000000000006e R14: 00007ffdf68a8420 R15: 00007ffdf68a8508
 </TASK>
Modules linked in:
---[ end trace f64ae052a90ace03 ]---
RIP: 0010:d_really_is_positive include/linux/dcache.h:503 [inline]
RIP: 0010:fuse_atomic_open+0x238/0x2140 fs/fuse/dir.c:875
Code: 89 de 83 e6 40 31 ff e8 d6 0a 72 ff 89 d8 83 e0 40 75 07 e8 1a 07 72 ff eb 2e 48 8b 44 24 58 48 8d 58 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 29 78 b0 ff 48 83 3b 00 0f 84 9c
RSP: 0018:ffffc90000a77380 EFLAGS: 00010202
RAX: 0000000000000007 RBX: 0000000000000038 RCX: ffff8881047d2780
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc90000a779b0 R08: ffff8881047d2780 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888120f30000 R14: 1ffff9200014ee88 R15: 0000000000000008
FS:  00007ff2827f26c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563f72870eb8 CR3: 000000011ebf5000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 de                	mov    %ebx,%esi
   2:	83 e6 40             	and    $0x40,%esi
   5:	31 ff                	xor    %edi,%edi
   7:	e8 d6 0a 72 ff       	call   0xff720ae2
   c:	89 d8                	mov    %ebx,%eax
   e:	83 e0 40             	and    $0x40,%eax
  11:	75 07                	jne    0x1a
  13:	e8 1a 07 72 ff       	call   0xff720732
  18:	eb 2e                	jmp    0x48
  1a:	48 8b 44 24 58       	mov    0x58(%rsp),%rax
  1f:	48 8d 58 30          	lea    0x30(%rax),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 29 78 b0 ff       	call   0xffb07862
  39:	48 83 3b 00          	cmpq   $0x0,(%rbx)
  3d:	0f                   	.byte 0xf
  3e:	84                   	.byte 0x84
  3f:	9c                   	pushf

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/19 20:20 android13-5.15-lts 57725b368731 b84f0537 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/01/02 08:48 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2024/08/03 21:14 android13-5.15-lts 70e1a731d986 1786a2a8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2024/03/17 16:11 android13-5.15-lts 993bed180178 d615901c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/11/10 02:48 android13-5.15-lts 61cfd264993d 56230772 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/07/29 15:54 android13-5.15-lts 748fd0d9ca0f 92476829 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/05 10:19 android13-5.15-lts 5e1b899f19c3 c53ea9c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/05 10:19 android13-5.15-lts 5e1b899f19c3 c53ea9c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 23:39 android13-5.15-lts 5e1b899f19c3 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 23:39 android13-5.15-lts 5e1b899f19c3 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 23:39 android13-5.15-lts 5e1b899f19c3 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 23:39 android13-5.15-lts 5e1b899f19c3 d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 03:18 android13-5.15-lts 5e1b899f19c3 c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/04/03 03:18 android13-5.15-lts 5e1b899f19c3 c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/03/04 17:19 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/02/10 00:27 android13-5.15-lts 058abb720bd1 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2025/01/02 08:01 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2024/09/20 18:44 android13-5.15-lts b92c0d35d015 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2024/08/19 01:23 android13-5.15-lts da92e689a0c3 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2024/08/03 20:29 android13-5.15-lts 70e1a731d986 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/12/01 10:54 android13-5.15-lts eb99a642b7e6 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/11/19 14:49 android13-5.15-lts 61cfd264993d cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/11/05 18:06 android13-5.15-lts 61cfd264993d 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
2023/10/14 04:45 android13-5.15-lts 754f8cc9b7de f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in fuse_atomic_open
* Struck through repros no longer work on HEAD.