syzbot


BUG: unable to handle kernel paging request in evict

Status: upstream: reported on 2024/09/10 16:38
Reported-by: syzbot+09d8d378d91f0209c759@syzkaller.appspotmail.com
First crash: 31d, last: 15d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in evict exfat C error done 23 703d 747d 22/28 fixed on 2023/02/24 13:50
upstream BUG: unable to handle kernel paging request in evict (2) ntfs3 3 39d 51d 0/28 moderation: reported on 2024/08/21 10:47
android-5-15 KASAN: use-after-free Read in evict fat 1 638d 638d 0/2 auto-obsoleted due to no activity on 2023/04/20 02:58

Sample crash report:
loop1: detected capacity change from 0 to 4096
ntfs3: loop1: Different NTFS' sector size (1024) and media sector size (512)
BUG: unable to handle page fault for address: ffffed110bf2aa6d
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffef067 P4D 23ffef067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4163 Comm: syz.1.164 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:evict+0x54b/0x930 fs/inode.c:627
Code: 32 a3 ff 4c 89 ff ff d3 eb 19 e8 30 32 a3 ff 49 8d bf 28 02 00 00 e8 44 5c d0 ff 4c 89 ff e8 6c 67 ff ff 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 75 03 00 00 41 0f b7 1f 81 e3 00 f0 00
RSP: 0018:ffffc90002ed7980 EFLAGS: 00010a02
RAX: 1ffff1100bf2aa6e RBX: ffffffff82ac0750 RCX: ffffffff81631ae8
RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0
RBP: ffffc90002ed7ab0 R08: dffffc0000000000 R09: fffffbfff20e243c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805f955538
R13: dffffc00ffffffff R14: ffff88805f9553f8 R15: ffff88805f955370
FS:  00007f5f7c4da6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110bf2aa6d CR3: 00000000745b5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_fill_super+0x3b43/0x4340 fs/ntfs3/super.c:1185
 get_tree_bdev+0x3fe/0x620 fs/super.c:1323
 vfs_get_tree+0x88/0x270 fs/super.c:1528
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
 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:0x7f5f7e0636da
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5f7c4d9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5f7c4d9ef0 RCX: 00007f5f7e0636da
RDX: 000000002001f800 RSI: 000000002001f840 RDI: 00007f5f7c4d9eb0
RBP: 000000002001f800 R08: 00007f5f7c4d9ef0 R09: 0000000000800004
R10: 0000000000800004 R11: 0000000000000246 R12: 000000002001f840
R13: 00007f5f7c4d9eb0 R14: 000000000001f80c R15: 0000000020000280
 </TASK>
Modules linked in:
CR2: ffffed110bf2aa6d
---[ end trace ee2996e0a248bf5c ]---
RIP: 0010:evict+0x54b/0x930 fs/inode.c:627
Code: 32 a3 ff 4c 89 ff ff d3 eb 19 e8 30 32 a3 ff 49 8d bf 28 02 00 00 e8 44 5c d0 ff 4c 89 ff e8 6c 67 ff ff 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 75 03 00 00 41 0f b7 1f 81 e3 00 f0 00
RSP: 0018:ffffc90002ed7980 EFLAGS: 00010a02
RAX: 1ffff1100bf2aa6e RBX: ffffffff82ac0750 RCX: ffffffff81631ae8
RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0
RBP: ffffc90002ed7ab0 R08: dffffc0000000000 R09: fffffbfff20e243c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805f955538
R13: dffffc00ffffffff R14: ffff88805f9553f8 R15: ffff88805f955370
FS:  00007f5f7c4da6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110bf2aa6d CR3: 00000000745b5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	32 a3 ff 4c 89 ff    	xor    -0x76b301(%rbx),%ah
   6:	ff d3                	call   *%rbx
   8:	eb 19                	jmp    0x23
   a:	e8 30 32 a3 ff       	call   0xffa3323f
   f:	49 8d bf 28 02 00 00 	lea    0x228(%r15),%rdi
  16:	e8 44 5c d0 ff       	call   0xffd05c5f
  1b:	4c 89 ff             	mov    %r15,%rdi
  1e:	e8 6c 67 ff ff       	call   0xffff678f
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 75 03 00 00    	jne    0x3ac
  37:	41 0f b7 1f          	movzwl (%r15),%ebx
  3b:	81                   	.byte 0x81
  3c:	e3 00                	jrcxz  0x3e
  3e:	f0                   	lock

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/26 18:07 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in evict
2024/09/10 16:38 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in evict
* Struck through repros no longer work on HEAD.