syzbot


WARNING in ext4_set_page_dirty
Status: upstream: reported C repro on 2018/04/01 08:05
Reported-by: syzbot+9a44753ac327c557796a@syzkaller.appspotmail.com
First crash: 1517d, last: 63d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG at fs/ext4/inode.c:LINE! (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 7dfbf8a07cf8c936b0d6cc810df6ae7923954d5b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Tue Jun 30 15:27:24 2020 +0000

  drm/i915: Skip stale object handle for debugfs per-file-stats

similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ext4_set_page_dirty C error 67 1d01h 1139d 0/1 upstream: reported C repro on 2019/04/13 10:39
linux-4.14 WARNING in ext4_set_page_dirty C error 14 8d15h 1062d 0/1 upstream: reported C repro on 2019/06/29 07:29
android-414 WARNING in ext4_set_page_dirty 15 1270d 1140d 0/1 auto-closed as invalid on 2019/06/01 07:06

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3631 at fs/ext4/inode.c:3565 ext4_set_page_dirty+0x303/0x3f0 fs/ext4/inode.c:3565
Modules linked in:
CPU: 1 PID: 3631 Comm: syz-executor111 Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ext4_set_page_dirty+0x303/0x3f0 fs/ext4/inode.c:3565
Code: ff e8 b1 40 65 ff 48 83 eb 01 e9 d2 fd ff ff e8 a3 40 65 ff 48 c7 c6 40 9a c1 89 48 89 ef e8 24 ee 98 ff 0f 0b e8 8d 40 65 ff <0f> 0b e9 72 ff ff ff e8 81 40 65 ff 4c 8b 65 08 31 ff 4c 89 e3 83
RSP: 0018:ffffc9000279fa20 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801dc39d00 RSI: ffffffff82136c13 RDI: 0000000000000003
RBP: ffffea0001baed80 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff82136b84 R11: 0000000000000000 R12: ffffea0001baed88
R13: 0000000000000000 R14: ffffea0001baed80 R15: 0000000000000000
FS:  00007ffa387b3700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffa387b3718 CR3: 00000000740a2000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 folio_mark_dirty+0xc4/0x1c0 mm/page-writeback.c:2643
 set_page_dirty_lock+0xa2/0xe0 mm/page-writeback.c:2668
 unpin_user_pages_dirty_lock+0x3f7/0x550 mm/gup.c:365
 process_vm_rw_single_vec mm/process_vm_access.c:126 [inline]
 process_vm_rw_core.constprop.0+0x7bb/0x990 mm/process_vm_access.c:215
 process_vm_rw+0x29c/0x300 mm/process_vm_access.c:283
 __do_sys_process_vm_writev mm/process_vm_access.c:303 [inline]
 __se_sys_process_vm_writev mm/process_vm_access.c:298 [inline]
 __x64_sys_process_vm_writev+0xdf/0x1b0 mm/process_vm_access.c:298
 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+0x44/0xae
RIP: 0033:0x7ffa38822a79
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ffa387b32f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137
RAX: ffffffffffffffda RBX: 00007ffa388aa438 RCX: 00007ffa38822a79
RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000000e2f
RBP: 00007ffa388aa430 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000020c22fa0 R11: 0000000000000246 R12: 00007ffa388aa43c
R13: 00007ffa38878074 R14: 65732f636f72702f R15: 0000000000022000
 </TASK>

Crashes (18414):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/03/02 04:28 upstream 575115360652 45a13a73 .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 00:25 net 0caf6d992219 e2d91b1d .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/02/23 22:35 net 0228d37bd1a4 6e821dbf .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/02/03 02:36 net 3aa430d33b8d 4ebb2798 .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2021/12/11 20:52 net ab443c539167 49ca1f59 .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/20 23:54 net-next d96657dc9238 e2d91b1d .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/02/23 22:03 net-next 922ea87ff6f2 6e821dbf .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/02/03 02:00 net-next 000fe940e51f 4ebb2798 .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2021/12/11 20:26 net-next be3158290db8 49ca1f59 .config log report syz C WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-root 2019/12/23 22:48 upstream 46cf053efec6 be5c2c81 .config log report syz C
ci-upstream-kasan-gce-root 2019/08/10 06:12 upstream 7f20fd23377a acb51638 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/06/24 03:36 upstream 241e39004581 472f0082 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/06/23 23:41 upstream 241e39004581 472f0082 .config log report syz C
ci-upstream-kasan-gce-root 2018/05/21 06:06 upstream 771c577c23ba f48c20b8 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/30 22:02 linux-next 7ddd09fc4b74 af6b8ef8 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/07/01 02:50 linux-next 48568d8c7f47 699d6448 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/09/08 14:08 upstream f4d51dffc6c0 abf9ba4f .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/12/23 09:43 upstream c60174717544 8b967267 .config log report syz
ci-upstream-kasan-gce-root 2019/07/29 05:18 upstream a9815a4fa2fd c85e1c5b .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/07/29 04:26 upstream a9815a4fa2fd c85e1c5b .config log report syz
ci-upstream-kasan-gce-smack-root 2019/07/29 04:23 upstream a9815a4fa2fd c85e1c5b .config log report syz
ci-upstream-kasan-gce-smack-root 2019/06/23 02:46 upstream abf02e2964b3 34bf9440 .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/06/22 21:46 upstream abf02e2964b3 34bf9440 .config log report syz
ci-upstream-kasan-gce-root 2019/06/22 20:34 upstream abf02e2964b3 34bf9440 .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/04/14 00:47 upstream 6d0a598489ca c402d8f1 .config log report syz
ci-upstream-kasan-gce-smack-root 2019/04/13 02:14 upstream 8ee15f324866 c402d8f1 .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/04/12 23:24 upstream 8ee15f324866 c402d8f1 .config log report syz
ci-upstream-kasan-gce-root 2019/04/12 22:44 upstream 8ee15f324866 c402d8f1 .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/02/25 02:38 upstream c3619a482e15 7a06e792 .config log report syz
ci-upstream-kasan-gce-smack-root 2019/02/24 21:56 upstream c3619a482e15 7a06e792 .config log report syz
ci-upstream-kasan-gce-root 2019/02/24 21:51 upstream c3619a482e15 7a06e792 .config log report syz
ci-upstream-kasan-gce-smack-root 2018/12/03 17:13 upstream 2595646791c3 819002b0 .config log report syz
ci-upstream-kasan-gce-root 2018/12/03 09:53 upstream 6a512726090a 7dcaeaf3 .config log report syz
ci-upstream-kasan-gce-selinux-root 2018/12/03 08:48 upstream 6a512726090a 7dcaeaf3 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2020/09/21 10:21 linux-next b652d2a5f2a4 9564d2e9 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/07/30 10:21 linux-next 70f4b4ac1655 f28bf2a5 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/06/30 07:38 linux-next 48568d8c7f47 7509bf36 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/04/14 19:49 linux-next bcb67f0fbce9 505ab413 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/04/13 01:02 linux-next bcb67f0fbce9 c402d8f1 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/02/24 21:46 linux-next 94a47529a645 7a06e792 .config log report syz
ci-upstream-linux-next-kasan-gce-root 2019/01/15 11:21 linux-next 5aa6589e17bd ebacf5cb .config log report syz
ci-upstream-linux-next-kasan-gce-root 2018/12/03 08:54 linux-next 442b8cea2477 7dcaeaf3 .config log report syz
ci-upstream-kasan-gce-selinux-root 2022/03/20 22:50 upstream f443e374ae13 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-root 2022/03/20 10:21 upstream 14702b3b2438 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-smack-root 2022/03/20 04:27 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-selinux-root 2022/03/19 23:22 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-smack-root 2022/03/19 20:30 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-selinux-root 2022/03/19 18:07 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-root 2022/03/19 17:06 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-root 2022/03/19 00:55 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-qemu-upstream 2022/03/18 00:48 upstream 551acdc3c3d2 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce 2021/10/30 00:10 upstream f25a5481af12 098b5d53 .config log report info WARNING in ext4_set_page_dirty
ci-qemu-upstream-386 2022/03/20 00:31 upstream 97e9c8eb4bb1 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-386 2021/07/17 05:48 upstream d980cc0620ae f115ae98 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/24 10:58 net f92fcb5c00dc 89bc8608 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/24 09:38 net f92fcb5c00dc 89bc8608 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/23 06:25 net 6a7d8cff4a33 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/23 04:10 net 6a7d8cff4a33 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/22 14:53 net 6a7d8cff4a33 d88ef0c5 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/22 13:38 net ed0c99dc0f49 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/22 09:13 net ed0c99dc0f49 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/22 07:49 net ed0c99dc0f49 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/22 01:23 net ed32641e06c6 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 18:56 net ed32641e06c6 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 14:26 net ed32641e06c6 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 11:54 net ed32641e06c6 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 09:53 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/21 07:38 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/20 08:07 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/19 14:38 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/19 11:14 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/19 08:31 net 0caf6d992219 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-this-kasan-gce 2022/03/19 04:36 net 6bd0c76bd704 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 21:38 net-next 89695196f0ba 89bc8608 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 17:46 net-next 89695196f0ba 89bc8608 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 08:34 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 05:53 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 04:51 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/24 02:58 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/23 21:25 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/23 20:55 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/23 19:51 net-next 36c2e31ad25b 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/23 10:49 net-next 2af7e566a861 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/23 05:14 net-next 2af7e566a861 5ff41e94 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/22 20:26 net-next 4a0cb83ba6e0 d88ef0c5 .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/22 12:26 net-next 351bdbb6419c e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/22 05:54 net-next 351bdbb6419c e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/22 04:29 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/22 02:41 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/21 20:16 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/21 13:00 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/20 12:02 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/19 21:43 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-net-kasan-gce 2022/03/19 01:34 net-next d96657dc9238 e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-linux-next-kasan-gce-root 2022/03/21 05:28 linux-next 91265a6da44d e2d91b1d .config log report info WARNING in ext4_set_page_dirty
ci-upstream-kasan-gce-root 2020/12/12 21:30 upstream 7b1b868e1d91 bca53db9 .config log report info
ci-upstream-kasan-gce-root 2018/03/31 21:22 upstream 10b84daddbec 0174c6c8 .config log report