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: 158d, last: 22d
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 830d 875d 22/28 fixed on 2023/02/24 13:50
upstream BUG: unable to handle kernel paging request in evict (2) ntfs3 C inconclusive 8 7d09h 83d 0/28 upstream: reported C repro on 2024/11/25 06:06
android-5-15 KASAN: use-after-free Read in evict fat 1 766d 766d 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: ffffed110d3abd31
#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: 0 PID: 6201 Comm: syz.1.481 Not tainted 5.15.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:evict+0x54b/0x930 fs/inode.c:627
Code: 13 a3 ff 4c 89 ff ff d3 eb 19 e8 90 13 a3 ff 49 8d bf 28 02 00 00 e8 e4 49 d0 ff 4c 89 ff e8 0c 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:ffffc90002f5f980 EFLAGS: 00010a02

RAX: 1ffff1100d3abd32 RBX: ffffffff82b6bef0 RCX: ffffffff81633dd8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f2c0
RBP: ffffc90002f5fab0 R08: dffffc0000000000 R09: fffffbfff2131848
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888069d5eb58
R13: dffffc00ffffffff R14: ffff888069d5ea18 R15: ffff888069d5e990
FS:  00007f35198ac6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110d3abd31 CR3: 000000005ffc8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 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:1325
 vfs_get_tree+0x88/0x270 fs/super.c:1530
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540
 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:0x7f351ba444ca
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:00007f35198abe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f35198abef0 RCX: 00007f351ba444ca
RDX: 0000000020000040 RSI: 0000000020000980 RDI: 00007f35198abeb0
RBP: 0000000020000040 R08: 00007f35198abef0 R09: 0000000000800000
R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000980
R13: 00007f35198abeb0 R14: 000000000001f855 R15: 0000000020000640
 </TASK>
Modules linked in:
CR2: ffffed110d3abd31
---[ end trace 61d3452f42ee6a14 ]---
RIP: 0010:evict+0x54b/0x930 fs/inode.c:627
Code: 13 a3 ff 4c 89 ff ff d3 eb 19 e8 90 13 a3 ff 49 8d bf 28 02 00 00 e8 e4 49 d0 ff 4c 89 ff e8 0c 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:ffffc90002f5f980 EFLAGS: 00010a02
RAX: 1ffff1100d3abd32 RBX: ffffffff82b6bef0 RCX: ffffffff81633dd8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f2c0
RBP: ffffc90002f5fab0 R08: dffffc0000000000 R09: fffffbfff2131848
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888069d5eb58
R13: dffffc00ffffffff R14: ffff888069d5ea18 R15: ffff888069d5e990
FS:  00007f35198ac6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110d3abd31 CR3: 000000005ffc8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	13 a3 ff 4c 89 ff    	adc    -0x76b301(%rbx),%esp
   6:	ff d3                	call   *%rbx
   8:	eb 19                	jmp    0x23
   a:	e8 90 13 a3 ff       	call   0xffa3139f
   f:	49 8d bf 28 02 00 00 	lea    0x228(%r15),%rdi
  16:	e8 e4 49 d0 ff       	call   0xffd049ff
  1b:	4c 89 ff             	mov    %r15,%rdi
  1e:	e8 0c 67 ff ff       	call   0xffff672f
  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 (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/24 18:26 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in evict
2025/01/04 01:31 linux-5.15.y 91786f140358 f3558dbf .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/11/17 14:35 linux-5.15.y d98fd109f827 cfe3a04a .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/10/25 14:04 linux-5.15.y 74cdd62cb470 045e728d .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/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
2024/11/30 14:04 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in evict
2025/01/13 16:29 linux-5.15.y 4735586da88e 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in evict
* Struck through repros no longer work on HEAD.