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: 250d, last: 2d13h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in open_or_create_special_dir origin:downstream C 4 26d 250d 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 C 3 28d 250d 0/2 upstream: reported C repro on 2024/03/16 08:33
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/04/21 18:52 7m retest repro android13-5.10-lts report log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
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 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 PID: 305 Comm: syz-executor115 Not tainted 5.10.209-syzkaller-00435-gdd976ecce2ce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
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:453
Code: e8 bc 2d 60 ff e9 00 01 00 00 e8 b2 2d 60 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 a6 9d ff 49 83 7d 00 00 74 26
RSP: 0018:ffffc90000c97ab8 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000008 RCX: ffff88811f5a13c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811c53a920
RBP: ffffc90000c97af0 R08: dffffc0000000000 R09: ffffed10238a7525
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811c53a880
R13: 0000000000000038 R14: dffffc0000000000 R15: 0000000000000007
FS:  00007f303195a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020008fc0 CR3: 000000011f11e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 incfs_mount_fs+0x48d/0xa10 fs/incfs/vfs.c:1839
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:593
 vfs_get_tree+0x88/0x290 fs/super.c:1559
 do_new_mount+0x2ba/0xb30 fs/namespace.c:2910
 path_mount+0x56f/0xcb0 fs/namespace.c:3240
 do_mount fs/namespace.c:3253 [inline]
 __do_sys_mount fs/namespace.c:3461 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3438
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3438
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f30319c5d39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1b 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:00007f303195a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3031a483f8 RCX: 00007f30319c5d39
RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 0000000020000080
RBP: 00007f3031a483f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3031a1516c
R13: 0030656c69662f2e R14: 00007ffecda1aa80 R15: 00007f3031a15184
Modules linked in:
---[ end trace 19f272d91af410a2 ]---
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:453
Code: e8 bc 2d 60 ff e9 00 01 00 00 e8 b2 2d 60 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 a6 9d ff 49 83 7d 00 00 74 26
RSP: 0018:ffffc90000c97ab8 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000008 RCX: ffff88811f5a13c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811c53a920
RBP: ffffc90000c97af0 R08: dffffc0000000000 R09: ffffed10238a7525
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811c53a880
R13: 0000000000000038 R14: dffffc0000000000 R15: 0000000000000007
FS:  00007f303195a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020008fc0 CR3: 000000011f11e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 bc 2d 60 ff       	call   0xff602dc1
   5:	e9 00 01 00 00       	jmp    0x10a
   a:	e8 b2 2d 60 ff       	call   0xff602dc1
   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 a6 9d ff       	call   0xff9da6c1
  39:	49 83 7d 00 00       	cmpq   $0x0,0x0(%r13)
  3e:	74 26                	je     0x66

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