syzbot


general protection fault in fuse_atomic_open

Status: premoderation: reported C repro on 2025/08/22 12:42
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+008a7b0027bc8ab6c250@syzkaller.appspotmail.com
First crash: 66d, last: 17d
Bug presence (3)
Date Name Commit Repro Result
2025/08/23 android16-6.12 (ToT) c9198633ac9e C [report] general protection fault in fuse_atomic_open
2025/08/23 lts (merge base) 259f4977409c C Didn't crash
2025/08/23 upstream (ToT) 8d245acc1e88 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in fuse_atomic_open origin:downstream 2 C done 17 6d08h 834d 0/2 upstream: reported C repro on 2023/07/17 00:03
android-5-10 general protection fault in fuse_atomic_open 2 C error 77 13d 834d 0/2 upstream: reported C repro on 2023/07/16 23:36
android-5-15 general protection fault in fuse_atomic_open (2) origin:downstream 2 C done 28 1d00h 821d 0/2 upstream: reported C repro on 2023/07/29 15:55
android-5-15 general protection fault in fuse_atomic_open 2 1 939d 939d 0/2 auto-obsoleted due to no activity on 2023/07/01 15:58
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/10/11 06:01 13m retest repro android16-6.12 report log
2025/10/11 06:01 8m retest repro android16-6.12 report log
2025/10/11 06:01 8m retest repro android16-6.12 report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 0 UID: 0 PID: 385 Comm: syz.2.17 Not tainted syzkaller #0 8557b6f4d128b4a4d63f70857eed3e16fdb6808e
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:d_really_is_positive include/linux/dcache.h:514 [inline]
RIP: 0010:fuse_atomic_open+0x1b6/0x440 fs/fuse/dir.c:962
Code: 8b 6d bc 44 89 ee 83 e6 40 31 ff e8 14 74 4b ff 44 89 e8 83 e0 40 75 07 e8 c7 6f 4b ff eb 25 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 ac a3 a1 ff 49 83 7d 00 00 74 26 e8
RSP: 0018:ffffc9000103f990 EFLAGS: 00010202
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888115922600 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc9000103f9f0 R08: ffff888115922600 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: ffff888114472800
R13: 0000000000000040 R14: 0000000000000010 R15: ffff88811daf5200
FS:  00007ff5d4dac6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff5d4dabf98 CR3: 00000001157a4000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 atomic_open fs/namei.c:3455 [inline]
 lookup_open fs/namei.c:3566 [inline]
 open_last_lookups fs/namei.c:3694 [inline]
 path_openat+0x115b/0x34b0 fs/namei.c:3930
 do_filp_open+0x1c6/0x3e0 fs/namei.c:3960
 do_sys_openat2+0x12c/0x1c0 fs/open.c:1438
 do_sys_open fs/open.c:1453 [inline]
 __do_sys_creat fs/open.c:1531 [inline]
 __se_sys_creat fs/open.c:1525 [inline]
 __x64_sys_creat+0x92/0xc0 fs/open.c:1525
 x64_sys_call+0x2710/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:86
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7ff5d3f8eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff5d4dac038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007ff5d41d6090 RCX: 00007ff5d3f8eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007ff5d4011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff5d41d6128 R14: 00007ff5d41d6090 R15: 00007ffcf3f4bdd8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:d_really_is_positive include/linux/dcache.h:514 [inline]
RIP: 0010:fuse_atomic_open+0x1b6/0x440 fs/fuse/dir.c:962
Code: 8b 6d bc 44 89 ee 83 e6 40 31 ff e8 14 74 4b ff 44 89 e8 83 e0 40 75 07 e8 c7 6f 4b ff eb 25 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 ac a3 a1 ff 49 83 7d 00 00 74 26 e8
RSP: 0018:ffffc9000103f990 EFLAGS: 00010202

RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888115922600 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc9000103f9f0 R08: ffff888115922600 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: ffff888114472800
R13: 0000000000000040 R14: 0000000000000010 R15: ffff88811daf5200
FS:  00007ff5d4dac6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff5d4dabf98 CR3: 00000001157a4000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	8b 6d bc             	mov    -0x44(%rbp),%ebp
   3:	44 89 ee             	mov    %r13d,%esi
   6:	83 e6 40             	and    $0x40,%esi
   9:	31 ff                	xor    %edi,%edi
   b:	e8 14 74 4b ff       	call   0xff4b7424
  10:	44 89 e8             	mov    %r13d,%eax
  13:	83 e0 40             	and    $0x40,%eax
  16:	75 07                	jne    0x1f
  18:	e8 c7 6f 4b ff       	call   0xff4b6fe4
  1d:	eb 25                	jmp    0x44
  1f:	4d 8d 6e 30          	lea    0x30(%r14),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ef             	mov    %r13,%rdi
  33:	e8 ac a3 a1 ff       	call   0xffa1a3e4
  38:	49 83 7d 00 00       	cmpq   $0x0,0x0(%r13)
  3d:	74 26                	je     0x65
  3f:	e8                   	.byte 0xe8

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/18 11:23 android16-6.12 1c370e7d1fa3 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/08/22 16:35 android16-6.12 501f58f107ab bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/08/22 15:17 android16-6.12 501f58f107ab bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/08/22 14:00 android16-6.12 501f58f107ab bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/09/25 22:04 android16-6.12 e6f3cb873654 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/09/10 21:07 android16-6.12 c3591bab34ed fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
2025/08/22 12:41 android16-6.12 501f58f107ab bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in fuse_atomic_open
* Struck through repros no longer work on HEAD.