syzbot


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

Status: upstream: reported on 2022/09/15 06:52
Reported-by: syzbot+cbe497b6194ae8171bf8@syzkaller.appspotmail.com
First crash: 83d, last: 56d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in writeback_single_inode 1 162d 158d 0/24 auto-closed as invalid on 2022/08/23 03:43

Sample crash report:
BUG: unable to handle page fault for address: fffffffd89728e26
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD bc8f067 P4D bc8f067 PUD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15610 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
RIP: 0010:writeback_single_inode+0x3b/0x4c0 fs/fs-writeback.c:1677
Code: 8d b5 88 00 00 00 4c 8d ad 08 02 00 00 48 83 ec 08 e8 29 53 98 ff 4c 89 f7 e8 51 ae 9f 07 be 04 00 00 00 4c 89 ef e8 e4 b5 e4 <ff> 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02
RSP: 0018:ffffc900056efa10 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 1ffff92000addf4b RCX: ffffffff81e3b60c
RDX: ffffed1010118b9c RSI: 0000000000000004 RDI: ffff8880808c5cd8
RBP: ffff8880808c5ad0 R08: 0000000000000000 R09: ffff8880808c5cdb
R10: ffffed1010118b9b R11: 0000000000000000 R12: ffffc900056efa88
R13: ffff8880808c5cd8 R14: ffff8880808c5b58 R15: ffff8880808c5ba8
FS:  00007f27ce7d8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffd89728e26 CR3: 000000007e8f2000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 write_inode_now+0x16a/0x1e0 fs/fs-writeback.c:2723
 iput_final fs/inode.c:1735 [inline]
 iput.part.0+0x45b/0x810 fs/inode.c:1774
 iput+0x58/0x70 fs/inode.c:1764
 ntfs_fill_super+0x2e89/0x37f0 fs/ntfs3/super.c:1190
 get_tree_bdev+0x440/0x760 fs/super.c:1323
 vfs_get_tree+0x89/0x2f0 fs/super.c:1530
 do_new_mount fs/namespace.c:3040 [inline]
 path_mount+0x1326/0x1e20 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f27cd68bb9a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f27ce7d7f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f27cd68bb9a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f27ce7d7fe0
RBP: 00007f27ce7d8020 R08: 00007f27ce7d8020 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 00007f27ce7d7fe0 R15: 0000000020003580
 </TASK>
Modules linked in:
CR2: fffffffd89728e26
---[ end trace 0000000000000000 ]---
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
RIP: 0010:writeback_single_inode+0x3b/0x4c0 fs/fs-writeback.c:1677
Code: 8d b5 88 00 00 00 4c 8d ad 08 02 00 00 48 83 ec 08 e8 29 53 98 ff 4c 89 f7 e8 51 ae 9f 07 be 04 00 00 00 4c 89 ef e8 e4 b5 e4 <ff> 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02
RSP: 0018:ffffc900056efa10 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 1ffff92000addf4b RCX: ffffffff81e3b60c
RDX: ffffed1010118b9c RSI: 0000000000000004 RDI: ffff8880808c5cd8
RBP: ffff8880808c5ad0 R08: 0000000000000000 R09: ffff8880808c5cdb
R10: ffffed1010118b9b R11: 0000000000000000 R12: ffffc900056efa88
R13: ffff8880808c5cd8 R14: ffff8880808c5b58 R15: ffff8880808c5ba8
FS:  00007f27ce7d8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffd89728e26 CR3: 000000007e8f2000 CR4: 0000000000350ef0

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/09/26 12:38 upstream f76349cf4145 d59ba983 .config log report info BUG: unable to handle kernel paging request in writeback_single_inode
ci-upstream-kasan-gce-root 2022/09/11 05:50 upstream b96fbd602d35 356d8217 .config log report info BUG: unable to handle kernel paging request in writeback_single_inode
ci-upstream-kasan-gce-root 2022/10/08 03:53 upstream 4c86114194e6 0de35f24 .config log report info general protection fault in writeback_single_inode
* Struck through repros no longer work on HEAD.