syzbot


general protection fault in ovl_init_uuid_xattr

Status: auto-obsoleted due to no activity on 2023/08/22 11:01
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+b592c1f562f0da80ce2c@syzkaller.appspotmail.com
First crash: 505d, last: 502d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [overlayfs?] general protection fault in ovl_init_uuid_xattr 1 (3) 2023/07/11 09:55
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/08/22 10:27 33m retest repro linux-next OK log
2023/07/11 08:35 55m (2) amir73il@gmail.com git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git overlayfs-next OK log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/08/02 17:00 0m bisect linux-next error job log
2023/07/07 22:35 12h17m bisect linux-next error job log
marked invalid by nogikh@google.com

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000001c: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000e0-0x00000000000000e7]
CPU: 1 PID: 5024 Comm: syz-executor280 Not tainted 6.4.0-next-20230707-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:ovl_do_getxattr fs/overlayfs/overlayfs.h:263 [inline]
RIP: 0010:ovl_path_getxattr fs/overlayfs/overlayfs.h:292 [inline]
RIP: 0010:ovl_init_uuid_xattr+0x1f6/0xa90 fs/overlayfs/util.c:695
Code: c1 ea 03 80 3c 02 00 0f 85 54 08 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 74 24 08 48 8d be e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 07 00 00 4c 89 e1 48 8b 86 e0 00 00 00 48 ba
RSP: 0018:ffffc90003aafab8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888014e67c00 RCX: 0000000000000005
RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0
RBP: ffff888029c04678 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801927c480
R13: ffff888014e67c79 R14: ffff888014e67c60 R15: 0000000000000000
FS:  0000555556b13300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 0000000022580000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ovl_fill_super+0x1f94/0x5d70 fs/overlayfs/super.c:1437
 vfs_get_super+0xea/0x280 fs/super.c:1152
 vfs_get_tree+0x8d/0x350 fs/super.c:1519
 do_new_mount fs/namespace.c:3335 [inline]
 path_mount+0x136e/0x1e70 fs/namespace.c:3662
 do_mount fs/namespace.c:3675 [inline]
 __do_sys_mount fs/namespace.c:3884 [inline]
 __se_sys_mount fs/namespace.c:3861 [inline]
 __x64_sys_mount+0x283/0x300 fs/namespace.c:3861
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f60c9bc0b09
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc22c0ccf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f60c9bc0b09
RDX: 00000000200000c0 RSI: 0000000020000200 RDI: 0000000000000000
RBP: 00007f60c9b84cb0 R08: 0000000020000480 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f60c9b84d40
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ovl_do_getxattr fs/overlayfs/overlayfs.h:263 [inline]
RIP: 0010:ovl_path_getxattr fs/overlayfs/overlayfs.h:292 [inline]
RIP: 0010:ovl_init_uuid_xattr+0x1f6/0xa90 fs/overlayfs/util.c:695
Code: c1 ea 03 80 3c 02 00 0f 85 54 08 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 74 24 08 48 8d be e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 07 00 00 4c 89 e1 48 8b 86 e0 00 00 00 48 ba
RSP: 0018:ffffc90003aafab8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888014e67c00 RCX: 0000000000000005
RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0
RBP: ffff888029c04678 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801927c480
R13: ffff888014e67c79 R14: ffff888014e67c60 R15: 0000000000000000
FS:  0000555556b13300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 0000000022580000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 ea 03             	shr    $0x3,%edx
   3:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   7:	0f 85 54 08 00 00    	jne    0x861
   d:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  14:	fc ff df
  17:	49 8b 74 24 08       	mov    0x8(%r12),%rsi
  1c:	48 8d be e0 00 00 00 	lea    0xe0(%rsi),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 f2 07 00 00    	jne    0x826
  34:	4c 89 e1             	mov    %r12,%rcx
  37:	48 8b 86 e0 00 00 00 	mov    0xe0(%rsi),%rax
  3e:	48                   	rex.W
  3f:	ba                   	.byte 0xba

Crashes (405):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/07 14:40 linux-next 123212f53f3e 22ae5830 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/10 01:28 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 23:59 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 22:42 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 21:34 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 21:23 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 13:32 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 07:39 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 07:26 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 04:46 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 03:35 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 01:53 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 00:13 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/09 00:11 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 23:02 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 22:00 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 21:49 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 20:31 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 19:27 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 16:22 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 12:37 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 05:59 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 04:45 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 04:37 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 03:31 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 02:26 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/08 01:02 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 23:42 linux-next 123212f53f3e 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 22:12 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 21:30 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 19:44 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 13:14 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 12:13 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 11:05 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 10:36 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 10:07 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 09:42 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 09:11 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 08:34 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 08:05 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 07:22 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 06:43 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 05:48 linux-next 123212f53f3e 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
2023/07/07 04:50 linux-next 123212f53f3e 1a2f6297 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in ovl_init_uuid_xattr
* Struck through repros no longer work on HEAD.