syzbot


general protection fault in inode_wait_for_writeback

Status: auto-obsoleted due to no activity on 2024/01/19 05:43
Reported-by: syzbot+dc57bb1e9bf0f095f7a5@syzkaller.appspotmail.com
First crash: 490d, last: 424d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in inode_wait_for_writeback (2) missing-backport origin:upstream C 5 33d 289d 0/3 upstream: reported C repro on 2024/02/23 17:33
upstream BUG: unable to handle kernel paging request in inode_wait_for_writeback ntfs3 1 946d 946d 0/28 auto-obsoleted due to no activity on 2022/09/04 00:33

Sample crash report:
loop1: detected capacity change from 0 to 4096
general protection fault, probably for non-canonical address 0xc7cab0c896bd3683: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8318 Comm: syz-executor.1 Not tainted 5.15.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
RIP: 0010:_raw_spin_lock+0x29/0x40 kernel/locking/spinlock.c:154
Code: 00 53 48 89 fb bf 01 00 00 00 e8 22 5c 31 f7 48 8d 7b 18 31 f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 74 24 08 e8 16 a6 3c <f7> 48 83 c4 08 48 89 df 5b e9 29 1a 3e f7 66 0f 1f 84 00 00 00 00
RSP: 0018:ffffc90002f7f928 EFLAGS: 00010246
RAX: c7cab0c896bd3700 RBX: ffff888071dc27b8 RCX: ffffffff81633562
RDX: dffffc0000000000 RSI: ffffffff8a8b1e00 RDI: ffffffff8ad87980
RBP: ffffc90002f7fa40 R08: dffffc0000000000 R09: fffffbfff1f7b25e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888071dc27b8
R13: dffffc0000000000 R14: ffff888071dc2730 R15: ffffc90002f7f980
FS:  00007f91d7af36c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f91cf8d2e00 CR3: 0000000079b52000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 spin_lock include/linux/spinlock.h:363 [inline]
 inode_wait_for_writeback+0x89/0x280 fs/fs-writeback.c:1510
 evict+0x277/0x620 fs/inode.c:584
 ntfs_fill_super+0x3c3f/0x4450 fs/ntfs3/super.c:1185
 get_tree_bdev+0x3fe/0x620 fs/super.c:1312
 vfs_get_tree+0x88/0x270 fs/super.c:1517
 do_new_mount+0x28b/0xae0 fs/namespace.c:2994
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f91d95731ea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f91d7af2ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f91d7af2f80 RCX: 00007f91d95731ea
RDX: 000000002001f6c0 RSI: 000000002001f700 RDI: 00007f91d7af2f40
RBP: 000000002001f6c0 R08: 00007f91d7af2f80 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f700
R13: 00007f91d7af2f40 R14: 000000000001f6bf R15: 000000002001f740
 </TASK>
Modules linked in:
---[ end trace 3fb315f27fb2a97a ]---
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
RIP: 0010:_raw_spin_lock+0x29/0x40 kernel/locking/spinlock.c:154
Code: 00 53 48 89 fb bf 01 00 00 00 e8 22 5c 31 f7 48 8d 7b 18 31 f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 74 24 08 e8 16 a6 3c <f7> 48 83 c4 08 48 89 df 5b e9 29 1a 3e f7 66 0f 1f 84 00 00 00 00
RSP: 0018:ffffc90002f7f928 EFLAGS: 00010246
RAX: c7cab0c896bd3700 RBX: ffff888071dc27b8 RCX: ffffffff81633562
RDX: dffffc0000000000 RSI: ffffffff8a8b1e00 RDI: ffffffff8ad87980
RBP: ffffc90002f7fa40 R08: dffffc0000000000 R09: fffffbfff1f7b25e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888071dc27b8
R13: dffffc0000000000 R14: ffff888071dc2730 R15: ffffc90002f7f980
FS:  00007f91d7af36c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f91cf8d2e00 CR3: 0000000079b52000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/11 05:42 linux-5.15.y 02e21884dcf2 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in inode_wait_for_writeback
2023/08/11 15:41 linux-5.15.y 24c4de4069cb 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in inode_wait_for_writeback
2023/08/06 22:30 linux-5.15.y 38d4ca22a528 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in inode_wait_for_writeback
* Struck through repros no longer work on HEAD.