syzbot


BUG: unable to handle kernel paging request in evict (2)

Status: moderation: reported on 2024/08/21 10:47
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+65f9282ba28d4b906049@syzkaller.appspotmail.com
First crash: 48d, last: 32d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in evict 2 8d07h 24d 0/3 upstream: reported on 2024/09/10 16:38
upstream BUG: unable to handle kernel paging request in evict exfat C error done 23 696d 741d 22/28 fixed on 2023/02/24 13:50
android-5-15 KASAN: use-after-free Read in evict fat 1 631d 631d 0/2 auto-obsoleted due to no activity on 2023/04/20 02:58

Sample crash report:
loop2: detected capacity change from 0 to 4096
ntfs3: loop2: Different NTFS sector size (1024) and media sector size (512).
BUG: unable to handle page fault for address: ffffffffffffffc8
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD db80067 P4D db80067 PUD db82067 PMD 0 
Oops: Oops: 0002 [#1] PREEMPT SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 7964 Comm: syz.2.554 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:lock_acquire kernel/locking/lockdep.c:5759 [inline]
RIP: 0010:lock_acquire+0x1b0/0x560 kernel/locking/lockdep.c:5724
Code: 02 00 00 4c 89 f7 6a 00 41 0f 94 c1 48 89 c5 6a 00 45 0f b6 c9 ff b4 24 00 01 00 00 41 57 8b 4c 24 2c 8b 74 24 28 e8 3f ad ff <ff> 48 c7 c7 40 da 4c 8b 48 83 c4 28 e8 ff 20 ab 09 b8 ff ff ff ff
RSP: 0018:ffffc900048f7838 EFLAGS: 00010086
RAX: 0000000000000001 RBX: 1ffff9200091ef0e RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff93e3c658
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2d2410d
R10: ffffffff9692086f R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff88805dbae9b8 R15: 0000000000000000
FS:  00007f5a9adc56c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 000000005cc6a000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 inode_wait_for_lru_isolating fs/inode.c:510 [inline]
 evict+0x310/0x8c0 fs/inode.c:693
 iput_final fs/inode.c:1838 [inline]
 iput.part.0+0x5a8/0x7f0 fs/inode.c:1864
 iput+0x5c/0x80 fs/inode.c:1854
 ntfs_fill_super+0x3325/0x41a0 fs/ntfs3/super.c:1467
 get_tree_bdev+0x372/0x610 fs/super.c:1635
 vfs_get_tree+0x92/0x380 fs/super.c:1800
 do_new_mount fs/namespace.c:3472 [inline]
 path_mount+0x14e6/0x1f20 fs/namespace.c:3799
 do_mount fs/namespace.c:3812 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount fs/namespace.c:3997 [inline]
 __x64_sys_mount+0x294/0x320 fs/namespace.c:3997
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5a99f7b65a
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:00007f5a9adc4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5a9adc4ef0 RCX: 00007f5a99f7b65a
RDX: 000000002001f800 RSI: 000000002001f840 RDI: 00007f5a9adc4eb0
RBP: 000000002001f800 R08: 00007f5a9adc4ef0 R09: 0000000000800004
R10: 0000000000800004 R11: 0000000000000246 R12: 000000002001f840
R13: 00007f5a9adc4eb0 R14: 000000000001f802 R15: 0000000020000100
 </TASK>
Modules linked in:
CR2: ffffffffffffffc8
---[ end trace 0000000000000000 ]---
RIP: 0010:lock_acquire kernel/locking/lockdep.c:5759 [inline]
RIP: 0010:lock_acquire+0x1b0/0x560 kernel/locking/lockdep.c:5724
Code: 02 00 00 4c 89 f7 6a 00 41 0f 94 c1 48 89 c5 6a 00 45 0f b6 c9 ff b4 24 00 01 00 00 41 57 8b 4c 24 2c 8b 74 24 28 e8 3f ad ff <ff> 48 c7 c7 40 da 4c 8b 48 83 c4 28 e8 ff 20 ab 09 b8 ff ff ff ff
RSP: 0018:ffffc900048f7838 EFLAGS: 00010086
RAX: 0000000000000001 RBX: 1ffff9200091ef0e RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff93e3c658
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2d2410d
R10: ffffffff9692086f R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff88805dbae9b8 R15: 0000000000000000
FS:  00007f5a9adc56c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 000000005cc6a000 CR4: 0000000000350ef0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/02 16:54 upstream 67784a74e258 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: unable to handle kernel paging request in evict
2024/08/28 22:34 upstream 86987d84b968 940f38c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: unable to handle kernel paging request in evict
2024/08/17 10:38 upstream e5fa841af679 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: unable to handle kernel paging request in evict
* Struck through repros no longer work on HEAD.