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: 6d20h, last: 5d11h
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 16 1d07h 774d 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 68 15d 774d 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 27 18d 761d 0/2 upstream: reported C repro on 2023/07/29 15:55
android-5-15 general protection fault in fuse_atomic_open 2 1 879d 879d 0/2 auto-obsoleted due to no activity on 2023/07/01 15:58

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: 382 Comm: syz.2.17 Not tainted syzkaller #0 00ad55236d4531c7fb9f608a968d4071287717d4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 94 83 4b ff 44 89 e8 83 e0 40 75 07 e8 47 7f 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 bc a6 a1 ff 49 83 7d 00 00 74 26 e8
RSP: 0018:ffffc900010ff990 EFLAGS: 00010203
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888113fb2600 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc900010ff9f0 R08: ffff888113fb2600 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: ffff888115931800
R13: 0000000000000047 R14: 0000000000000017 R15: ffff88811d3c4d80
FS:  00007f84e81ca6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f84e81c9f98 CR3: 000000011573c000 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+0x1158/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:0x7f84e838ebe9
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:00007f84e81ca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f84e85b6090 RCX: 00007f84e838ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007f84e8411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f84e85b6128 R14: 00007f84e85b6090 R15: 00007ffce2ad9f28
 </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 94 83 4b ff 44 89 e8 83 e0 40 75 07 e8 47 7f 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 bc a6 a1 ff 49 83 7d 00 00 74 26 e8
RSP: 0018:ffffc900010ff990 EFLAGS: 00010203

RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888113fb2600 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc900010ff9f0 R08: ffff888113fb2600 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000000 R12: ffff888115931800
R13: 0000000000000047 R14: 0000000000000017 R15: ffff88811d3c4d80
FS:  00007f84e81ca6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f84e81c9f98 CR3: 000000011573c000 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 94 83 4b ff       	call   0xff4b83a4
  10:	44 89 e8             	mov    %r13d,%eax
  13:	83 e0 40             	and    $0x40,%eax
  16:	75 07                	jne    0x1f
  18:	e8 47 7f 4b ff       	call   0xff4b7f64
  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 bc a6 a1 ff       	call   0xffa1a6f4
  38:	49 83 7d 00 00       	cmpq   $0x0,0x0(%r13)
  3d:	74 26                	je     0x65
  3f:	e8                   	.byte 0xe8

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.