syzbot


general protection fault in fuse_atomic_open

Status: upstream: reported C repro on 2023/07/16 23:36
Reported-by: syzbot+8e06855e2fa000e0c107@syzkaller.appspotmail.com
First crash: 493d, last: 16d
Cause bisection: failed (error log, bisect log)
  
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 5 15d 493d 0/2 upstream: reported C repro on 2023/07/17 00:03
android-5-15 general protection fault in fuse_atomic_open (2) origin:downstream C done 11 10d 481d 0/2 upstream: reported C repro on 2023/07/29 15:55
android-5-15 general protection fault in fuse_atomic_open 1 599d 599d 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
2024/11/04 19:49 6m retest repro android13-5.10-lts report log
2024/10/16 20:08 6m retest repro android13-5.10-lts report log
2024/10/16 20:08 6m retest repro android13-5.10-lts report log
2024/09/17 22:08 5m retest repro android13-5.10-lts report log
2024/09/17 22:08 6m retest repro android13-5.10-lts report log
2024/07/27 09:22 1h06m retest repro android13-5.10-lts report log
2024/07/27 09:22 24m retest repro android13-5.10-lts report log
2024/06/22 19:34 6m retest repro android13-5.10-lts report log
2024/06/22 19:34 4m retest repro android13-5.10-lts report log
2024/05/15 14:20 5m retest repro android13-5.10-lts error
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/03/06 12:22 33m bisect fix android13-5.10-lts OK (0) job log log
2023/10/26 04:01 44m bisect fix android13-5.10-lts OK (0) job log log
2023/09/26 01:12 33m bisect fix android13-5.10-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: 0 PID: 292 Comm: syz-executor100 Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline]
RIP: 0010:fuse_atomic_open+0x27f/0x34e0 fs/fuse/dir.c:853
Code: e0 40 4c 8b 64 24 20 75 07 e8 2d 69 6c ff eb 37 48 8b 44 24 60 48 8d 58 30 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 e3 02 aa ff 48 83 3b 00 0f 84 a9 00
RSP: 0018:ffffc90000b17320 EFLAGS: 00010202
RAX: 0000000000000007 RBX: 0000000000000038 RCX: dffffc0000000000
RDX: ffff8881214ea780 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc90000b17950 R08: ffffffff81fe43b2 R09: ffffed102395cc5c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811cae5fa8
R13: ffff8881079bf000 R14: 1ffff92000162e7c R15: 0000000000000008
FS:  00007fdcfd7ab6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdcfd7abd58 CR3: 0000000121393000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 atomic_open fs/namei.c:3114 [inline]
 lookup_open fs/namei.c:3219 [inline]
 open_last_lookups fs/namei.c:3317 [inline]
 path_openat+0xff0/0x3000 fs/namei.c:3506
 do_filp_open+0x21c/0x460 fs/namei.c:3536
 do_sys_openat2+0x13f/0x710 fs/open.c:1217
 do_sys_open fs/open.c:1233 [inline]
 __do_sys_creat fs/open.c:1307 [inline]
 __se_sys_creat fs/open.c:1301 [inline]
 __x64_sys_creat+0x11f/0x160 fs/open.c:1301
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fdcfd80e429
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:00007fdcfd7ab168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007fdcfd8973f8 RCX: 00007fdcfd80e429
RDX: 00007fdcfd80e429 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 00007fdcfd8973f0 R08: 00007fdcfd7ab6c0 R09: 00007fdcfd8973f8
R10: 00007fdcfd8973f8 R11: 0000000000000246 R12: 00007fdcfd8973fc
R13: 000000000000006e R14: 00007ffd2a000de0 R15: 00007ffd2a000ec8
Modules linked in:
---[ end trace 6298d6c7f9b6f954 ]---
RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline]
RIP: 0010:fuse_atomic_open+0x27f/0x34e0 fs/fuse/dir.c:853
Code: e0 40 4c 8b 64 24 20 75 07 e8 2d 69 6c ff eb 37 48 8b 44 24 60 48 8d 58 30 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 e3 02 aa ff 48 83 3b 00 0f 84 a9 00
RSP: 0018:ffffc90000b17320 EFLAGS: 00010202
RAX: 0000000000000007 RBX: 0000000000000038 RCX: dffffc0000000000
RDX: ffff8881214ea780 RSI: 0000000000000040 RDI: 0000000000000000
RBP: ffffc90000b17950 R08: ffffffff81fe43b2 R09: ffffed102395cc5c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811cae5fa8
R13: ffff8881079bf000 R14: 1ffff92000162e7c R15: 0000000000000008
FS:  00007fdcfd7ab6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdcfd7abd58 CR3: 0000000121393000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e0 40                	loopne 0x42
   2:	4c 8b 64 24 20       	mov    0x20(%rsp),%r12
   7:	75 07                	jne    0x10
   9:	e8 2d 69 6c ff       	call   0xff6c693b
   e:	eb 37                	jmp    0x47
  10:	48 8b 44 24 60       	mov    0x60(%rsp),%rax
  15:	48 8d 58 30          	lea    0x30(%rax),%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 e3 02 aa ff       	call   0xffaa031b
  38:	48 83 3b 00          	cmpq   $0x0,(%rbx)
  3c:	0f                   	.byte 0xf
  3d:	84                   	.byte 0x84
  3e:	a9                   	.byte 0xa9

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/21 09:49 android13-5.10-lts e5e5644ea27f cd6fc0a3 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/07/07 04:57 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_atomic_open
2024/03/17 16:26 android13-5.10-lts dd976ecce2ce d615901c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/11/07 06:04 android13-5.10-lts d30b996835c0 83211397 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/07/16 23:27 android13-5.10-lts 59b65efafe20 35d9ecc5 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/10/21 09:28 android13-5.10-lts e5e5644ea27f cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/10/02 15:42 android13-5.10-lts 1e85e7850fed 02f9582a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/09/28 05:42 android13-5.10-lts 8d23314f588a 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/09/23 00:09 android13-5.10-lts 8d23314f588a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/09/19 05:46 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/09/03 22:02 android13-5.10-lts 1c5354a314ea 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/09/01 07:56 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/25 15:29 android13-5.10-lts 0890c03b8b7d d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/21 03:10 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_atomic_open
2024/08/15 13:40 android13-5.10-lts 0890c03b8b7d e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/11 14:05 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/10 12:06 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/04 20:54 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/04 20:40 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/02 22:05 android13-5.10-lts fd58936f3c1f 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/08/01 19:25 android13-5.10-lts fd58936f3c1f 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/07/30 02:22 android13-5.10-lts fd58936f3c1f 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/07/13 09:17 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/07/13 08:15 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/07/07 04:34 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_atomic_open
2024/06/07 14:52 android13-5.10-lts d3c4d815bf09 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/06/02 22:54 android13-5.10-lts 22b064ea5cbc 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/05/25 11:31 android13-5.10-lts a8e7f812fbc1 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/05/25 10:51 android13-5.10-lts a8e7f812fbc1 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/05/25 10:51 android13-5.10-lts a8e7f812fbc1 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/05/15 22:01 android13-5.10-lts 70b6ab09a34b 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/25 12:29 android13-5.10-lts 70b6ab09a34b 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/18 01:44 android13-5.10-lts 3c981dac49d9 acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/16 22:46 android13-5.10-lts 4e1bc8d8e8ae 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/14 18:44 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/14 16:23 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/08 23:16 android13-5.10-lts 4e1bc8d8e8ae 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/07 18:13 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2024/04/03 01:12 android13-5.10-lts e7daca75b4c3 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/12/30 13:23 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_atomic_open
2023/12/06 12:19 android13-5.10-lts 02a4d4a11d37 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/11/07 05:39 android13-5.10-lts d30b996835c0 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/08/11 00:03 android13-5.10-lts 8a427269c016 da3c3ef8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
2023/07/16 23:08 android13-5.10-lts 59b65efafe20 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in fuse_atomic_open
* Struck through repros no longer work on HEAD.