syzbot


general protection fault in open_or_create_special_dir

Status: upstream: reported C repro on 2024/03/16 07:55
Reported-by: syzbot+0908b298a1b37b13d328@syzkaller.appspotmail.com
First crash: 488d, last: 20d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in open_or_create_special_dir origin:downstream 2 C 4 25d 488d 0/2 upstream: reported C repro on 2024/03/16 08:27
android-6-1 general protection fault in open_or_create_special_dir origin:downstream 2 C error 3 12d 488d 0/2 upstream: reported C repro on 2024/03/16 08:33
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/06/26 16:58 10m retest repro android13-5.10-lts report log
2024/04/21 18:52 7m retest repro android13-5.10-lts report log
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2025/05/19 19:42 1h42m bisect fix android13-5.10-lts OK (0) job log log
2025/04/17 08:29 3h59m bisect fix android13-5.10-lts OK (0) job log log
2025/03/13 07:59 3h42m bisect fix android13-5.10-lts OK (0) job log log
2025/02/10 05:01 48m bisect fix android13-5.10-lts OK (0) job log log
2025/01/08 12:30 1h11m bisect fix android13-5.10-lts OK (0) job log log
2024/11/19 04:24 34m bisect fix android13-5.10-lts OK (0) job log log
2024/10/16 17:34 3h21m bisect fix android13-5.10-lts OK (0) job log log
2024/09/16 08:33 35m bisect fix android13-5.10-lts OK (0) job log log
2024/08/14 19:17 46m bisect fix android13-5.10-lts OK (0) job log log
2024/07/02 18:21 50m bisect fix android13-5.10-lts OK (0) job log log
2024/05/25 09:22 47m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 PID: 285 Comm: syz-executor324 Not tainted 5.10.238-syzkaller-00282-gd76d4cd0623a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline]
RIP: 0010:open_or_create_special_dir+0x89/0x1d0 fs/incfs/vfs.c:474
Code: e8 5c 55 6d ff e9 00 01 00 00 e8 52 55 6d ff 48 c7 c3 ea ff ff ff e9 ef 00 00 00 4c 89 6d d0 4c 8d 6b 30 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 88 45 a7 ff 49 83 7d 00 00 74 26
RSP: 0018:ffffc90000be7b38 EFLAGS: 00010207

RAX: 0000000000000005 RBX: 0000000000000005 RCX: ffff8881059cbb40
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88812186e920
RBP: ffffc90000be7b70 R08: dffffc0000000000 R09: ffffed102430dd25
R10: ffffed102430dd25 R11: 1ffff1102430dd24 R12: ffff88812186e880
R13: 0000000000000035 R14: dffffc0000000000 R15: 0000000000000006
FS:  00007f24ef5d86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f24ef5d8d58 CR3: 000000011f623000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 incfs_mount_fs+0x434/0x8c0 fs/incfs/vfs.c:1867
 legacy_get_tree+0xed/0x190 fs/fs_context.c:593
 vfs_get_tree+0x89/0x260 fs/super.c:1572
 do_new_mount+0x25a/0xa20 fs/namespace.c:2915
 path_mount+0x572/0xc80 fs/namespace.c:3245
 do_mount fs/namespace.c:3258 [inline]
 __do_sys_mount fs/namespace.c:3466 [inline]
 __se_sys_mount+0x318/0x380 fs/namespace.c:3443
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3443
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f24ef637579
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 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:00007f24ef5d8218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f24ef6c4418 RCX: 00007f24ef637579
RDX: 0000200000000180 RSI: 0000200000000080 RDI: 0000200000000000
RBP: 00007f24ef6c4410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f24ef691034
R13: 0000200000008280 R14: 0000200000000000 R15: 00007ffe8e0ee7f8
Modules linked in:
---[ end trace 082f3ee68ae255c0 ]---
RIP: 0010:d_really_is_positive include/linux/dcache.h:499 [inline]
RIP: 0010:open_or_create_special_dir+0x89/0x1d0 fs/incfs/vfs.c:474
Code: e8 5c 55 6d ff e9 00 01 00 00 e8 52 55 6d ff 48 c7 c3 ea ff ff ff e9 ef 00 00 00 4c 89 6d d0 4c 8d 6b 30 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 88 45 a7 ff 49 83 7d 00 00 74 26
RSP: 0018:ffffc90000be7b38 EFLAGS: 00010207
RAX: 0000000000000005 RBX: 0000000000000005 RCX: ffff8881059cbb40
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88812186e920
RBP: ffffc90000be7b70 R08: dffffc0000000000 R09: ffffed102430dd25
R10: ffffed102430dd25 R11: 1ffff1102430dd24 R12: ffff88812186e880
R13: 0000000000000035 R14: dffffc0000000000 R15: 0000000000000006
FS:  00007f24ef5d86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c4ccda0060 CR3: 000000011f623000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 5c 55 6d ff       	call   0xff6d5561
   5:	e9 00 01 00 00       	jmp    0x10a
   a:	e8 52 55 6d ff       	call   0xff6d5561
   f:	48 c7 c3 ea ff ff ff 	mov    $0xffffffffffffffea,%rbx
  16:	e9 ef 00 00 00       	jmp    0x10a
  1b:	4c 89 6d d0          	mov    %r13,-0x30(%rbp)
  1f:	4c 8d 6b 30          	lea    0x30(%rbx),%r13
  23:	4d 89 ef             	mov    %r13,%r15
  26:	49 c1 ef 03          	shr    $0x3,%r15
* 2a:	43 80 3c 37 00       	cmpb   $0x0,(%r15,%r14,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 88 45 a7 ff       	call   0xffa745c1
  39:	49 83 7d 00 00       	cmpq   $0x0,0x0(%r13)
  3e:	74 26                	je     0x66

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/10 12:31 android13-5.10-lts d76d4cd0623a 4826c28e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/03/16 07:52 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 open_or_create_special_dir
2025/06/10 11:35 android13-5.10-lts d76d4cd0623a 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/04/07 18:47 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/04/07 03:38 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/04/06 15:38 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/03/28 04:22 android13-5.10-lts e7daca75b4c3 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/03/24 21:55 android13-5.10-lts e7daca75b4c3 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/03/18 01:55 android13-5.10-lts dd976ecce2ce d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
2024/03/16 07:12 android13-5.10-lts dd976ecce2ce d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in open_or_create_special_dir
* Struck through repros no longer work on HEAD.