syzbot


general protection fault in step_into

Status: upstream: reported C repro on 2024/04/13 08:21
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+6ec068ed1982a8402704@syzkaller.appspotmail.com
First crash: 21d, last: 4d03h
Bug presence (2)
Date Name Commit Repro Result
2024/04/29 linux-5.15.y (ToT) b925f60c6ee7 C [report] general protection fault in step_into
2024/04/29 upstream (ToT) e67572cd2204 C Didn't crash
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in step_into fs 1 1343d 1339d 0/26 auto-closed as invalid on 2020/11/28 01:59
android-5-10 general protection fault in step_into C done 152 5d01h 355d 0/2 upstream: reported C repro on 2023/05/14 14:12
linux-6.1 KASAN: null-ptr-deref Read in step_into origin:lts-only C 7 13d 28d 0/3 upstream: reported C repro on 2024/04/06 11:08
android-5-15 general protection fault in step_into origin:downstream C done 68 2d06h 355d 0/2 upstream: reported C repro on 2023/05/14 14:01
android-6-1 general protection fault in step_into origin:downstream C done 65 12d 355d 0/2 upstream: reported C repro on 2023/05/14 14:12
upstream BUG: unable to handle kernel paging request in step_into ntfs3 C error done 5 119d 486d 0/26 upstream: reported C repro on 2023/01/04 08:32

Sample crash report:
ntfs: (device loop0): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set macinuit.  You might want to try to use the mount option nls=utf8.
ntfs: (device loop0): ntfs_filldir(): Skipping unrepresentable inode 0x4.
ntfs: (device loop0): ntfs_lookup(): ntfs_lookup_ino_by_name() failed with error code -24.
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 PID: 3499 Comm: syz-executor198 Not tainted 5.15.154-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:traverse_mounts fs/namei.c:1378 [inline]
RIP: 0010:handle_mounts fs/namei.c:1498 [inline]
RIP: 0010:step_into+0x1c0/0xe90 fs/namei.c:1806
Code: 48 0f 85 b1 0a 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 20 e8 ef 9a f0 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 9e 0a 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc900011df980 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888018b4bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011dfad0 R08: ffffffff81d98369 R09: ffffed100e3338c1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200023bf4b
R13: ffffc900011dfcc0 R14: dffffc0000000000 R15: 0000000000000080
FS:  0000555555aef380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe8a620f88 CR3: 000000007a08c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 walk_component+0x359/0x610 fs/namei.c:1982
 lookup_last fs/namei.c:2431 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2455
 filename_lookup+0x230/0x5c0 fs/namei.c:2484
 user_path_at_empty+0x40/0x180 fs/namei.c:2883
 user_path_at include/linux/namei.h:57 [inline]
 ksys_umount fs/namespace.c:1779 [inline]
 __do_sys_umount fs/namespace.c:1787 [inline]
 __se_sys_umount fs/namespace.c:1785 [inline]
 __x64_sys_umount+0xf0/0x170 fs/namespace.c:1785
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd944192587
Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe8a6211e8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd944192587
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe8a6212a0
RBP: 00007ffe8a6212a0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe8a622390
R13: 0000555555b00740 R14: 0000555555aef338 R15: 00007ffe8a624510
 </TASK>
Modules linked in:
---[ end trace 1a01f4b99999cb77 ]---
RIP: 0010:traverse_mounts fs/namei.c:1378 [inline]
RIP: 0010:handle_mounts fs/namei.c:1498 [inline]
RIP: 0010:step_into+0x1c0/0xe90 fs/namei.c:1806
Code: 48 0f 85 b1 0a 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 20 e8 ef 9a f0 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 9e 0a 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc900011df980 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888018b4bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011dfad0 R08: ffffffff81d98369 R09: ffffed100e3338c1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200023bf4b
R13: ffffc900011dfcc0 R14: dffffc0000000000 R15: 0000000000000080
FS:  0000555555aef380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b017e5f9a8 CR3: 000000007a08c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 0f 85 b1 0a 00 00 	rex.W jne 0xab8
   7:	44 8b 3b             	mov    (%rbx),%r15d
   a:	43 80 3c 34 00       	cmpb   $0x0,(%r12,%r14,1)
   f:	74 0a                	je     0x1b
  11:	48 8b 7c 24 20       	mov    0x20(%rsp),%rdi
  16:	e8 ef 9a f0 ff       	call   0xfff09b0a
  1b:	48 8b 9c 24 d8 00 00 	mov    0xd8(%rsp),%rbx
  22:	00
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 30       	movzbl (%rax,%r14,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 9e 0a 00 00    	jne    0xad5
  37:	8b 1b                	mov    (%rbx),%ebx
  39:	89 de                	mov    %ebx,%esi
  3b:	81                   	.byte 0x81
  3c:	e6 00                	out    %al,$0x0
  3e:	00 07                	add    %al,(%rdi)

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/13 10:12 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/28 22:43 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/28 22:42 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/28 22:40 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/28 22:40 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/27 00:14 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/21 23:31 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/15 08:21 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/14 20:02 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/13 21:13 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/13 08:21 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/13 08:21 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in step_into
2024/04/30 08:02 linux-5.15.y b925f60c6ee7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
2024/04/27 00:29 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
2024/04/27 00:27 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
2024/04/27 00:25 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
2024/04/27 00:23 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
2024/04/27 00:20 linux-5.15.y c52b9710c83d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: null-ptr-deref Read in step_into
* Struck through repros no longer work on HEAD.