syzbot


WARNING in account_page_dirtied

Status: closed as invalid on 2023/08/03 10:03
Subsystems: fs mm
[Documentation on labels]
Reported-by: syzbot+b7772c65a1d88bfd8fca@syzkaller.appspotmail.com
First crash: 2240d, last: 1073d
Cause bisection: failed (error log, bisect log)
  
Fix bisection the fix commit could be any of (bisect log):
  0a50438c8436 Merge branch 'for-5.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
  de5540965853 Merge tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
  
Discussions (1)
Title Replies (including bot) Last reply
WARNING in account_page_dirtied 5 (6) 2018/04/05 11:41
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in account_page_dirtied gfs2 nilfs2 C 10600 439d 1335d 0/1 upstream: reported C repro on 2020/09/22 10:26
linux-4.14 WARNING in account_page_dirtied gfs2 C 1848 440d 1333d 0/1 upstream: reported C repro on 2020/09/24 15:44
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/06/27 01:58 13m retest repro upstream error OK
2023/06/24 03:38 26m retest repro upstream OK log
2023/06/23 12:27 19m retest repro upstream OK log
2023/04/18 01:40 11m retest repro upstream error OK
2023/04/14 23:40 14m retest repro upstream report log
2023/04/14 08:11 16m retest repro upstream report log
2023/04/14 04:11 18m retest repro linux-next OK log
2023/01/07 23:31 14m retest repro upstream error OK
2023/01/04 20:31 17m retest repro upstream report log
2023/01/03 21:31 16m retest repro upstream report log
Fix bisection attempts (13)
Created Duration User Patch Repo Result
2021/07/11 16:31 30m bisect fix upstream job log (2)
2021/04/01 06:28 21m bisect fix upstream job log (0) log
2020/11/07 03:12 15m bisect fix upstream job log (0) log
2020/08/27 04:26 14m bisect fix upstream job log (0) log
2020/07/26 20:12 16m bisect fix upstream job log (0) log
2020/06/16 08:24 16m bisect fix upstream job log (0) log
2020/05/17 01:54 15m bisect fix upstream job log (0) log
2020/04/16 17:12 16m bisect fix upstream job log (0) log
2020/03/17 03:31 17m bisect fix upstream job log (0) log
2020/02/12 05:01 17m bisect fix upstream job log (0) log
2020/01/13 03:21 16m bisect fix upstream job log (0) log
2019/12/11 09:06 17m bisect fix upstream job log (0) log
2019/08/01 02:24 18m bisect fix upstream job log (0) log

Sample crash report:
gfs2: fsid=loop0.0: jid=0, already locked for use
gfs2: fsid=loop0.0: jid=0: Looking at journal...
gfs2: fsid=loop0.0: jid=0: Done
gfs2: fsid=loop0.0: first mount done, others may mount
gfs2: fsid=loop0.0: found 1 quota changes
WARNING: CPU: 0 PID: 4469 at ./include/linux/backing-dev.h:341 inode_to_wb include/linux/backing-dev.h:338 [inline]
WARNING: CPU: 0 PID: 4469 at ./include/linux/backing-dev.h:341 account_page_dirtied+0x8f9/0xcb0 mm/page-writeback.c:2416
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 4469 Comm: syzkaller368843 Not tainted 4.16.0-rc7+ #9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x24d lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x1f4/0x2b0 lib/bug.c:186
 fixup_bug.part.10+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
RIP: 0010:inode_to_wb include/linux/backing-dev.h:338 [inline]
RIP: 0010:account_page_dirtied+0x8f9/0xcb0 mm/page-writeback.c:2416
RSP: 0018:ffff8801d966e5c0 EFLAGS: 00010093
RAX: ffff8801acb7e600 RBX: 1ffff1003b2cdcba RCX: ffffffff818f47a9
RDX: 0000000000000000 RSI: ffff8801d3338148 RDI: 0000000000000082
RBP: ffff8801d966e698 R08: 1ffff1003b2cdc13 R09: 000000000000000c
R10: ffff8801d966e558 R11: 0000000000000002 R12: ffff8801c96f0368
R13: ffffea0006b12780 R14: ffff8801c96f01d8 R15: ffff8801c96f01d8
 __set_page_dirty+0x100/0x4b0 fs/buffer.c:605
 mark_buffer_dirty+0x454/0x5d0 fs/buffer.c:1126
 gfs2_unpin+0x143/0x12c0 fs/gfs2/lops.c:108
 buf_lo_after_commit+0x273/0x430 fs/gfs2/lops.c:512
 lops_after_commit fs/gfs2/lops.h:67 [inline]
 gfs2_log_flush+0xe2a/0x2750 fs/gfs2/log.c:809
 do_sync+0x666/0xe40 fs/gfs2/quota.c:958
 gfs2_quota_sync+0x2cc/0x570 fs/gfs2/quota.c:1301
 gfs2_sync_fs+0x46/0xb0 fs/gfs2/super.c:956
 __sync_filesystem fs/sync.c:39 [inline]
 sync_filesystem+0x188/0x2e0 fs/sync.c:64
 generic_shutdown_super+0xd5/0x540 fs/super.c:425
 kill_block_super+0x9b/0xf0 fs/super.c:1146
 gfs2_kill_sb+0x133/0x1b0 fs/gfs2/ops_fstype.c:1392
 deactivate_locked_super+0x88/0xd0 fs/super.c:312
 deactivate_super+0x141/0x1b0 fs/super.c:343
 cleanup_mnt+0xb2/0x150 fs/namespace.c:1173
 __cleanup_mnt+0x16/0x20 fs/namespace.c:1180
 task_work_run+0x199/0x270 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9bb/0x1ad0 kernel/exit.c:865
 do_group_exit+0x149/0x400 kernel/exit.c:968
 SYSC_exit_group kernel/exit.c:979 [inline]
 SyS_exit_group+0x1d/0x20 kernel/exit.c:977
 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x456c29
RSP: 002b:00007fff74938dc8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000456c29
RDX: 00000000004170e0 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000003 R08: 000000000000000a R09: 0000000000418100
R10: 00000000200a9300 R11: 0000000000000202 R12: 0000000000000004
R13: 0000000000418100 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/01 06:48 upstream 10b84daddbec 0174c6c8 .config console log report syz C ci-upstream-kasan-gce-root
2021/04/06 16:54 upstream 0a50438c8436 6a81331a .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in account_page_dirtied
2021/02/17 09:29 upstream f40ddce88593 052f8d9f .config console log report syz C ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/04/11 06:07 linux-next e99d8a849517 bfeda1b1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in account_page_dirtied
2020/12/22 22:45 upstream 8653b778e454 04201c06 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/12/05 04:25 upstream e87297fa080a 20366b87 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/10/07 10:17 upstream c85fb28b6f99 1880b4a9 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/06/11 16:31 upstream 06af8679449d 1ba81399 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/06/02 12:13 upstream 231bc5390667 0740de69 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/05/19 18:53 upstream c3d0e3fd41b7 a2eb125d .config console log report info ci-qemu-upstream WARNING in account_page_dirtied
2021/05/01 03:04 upstream d2b6f8a17919 77e2b668 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/05/01 02:48 upstream d2b6f8a17919 77e2b668 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/29 22:04 upstream d2b6f8a17919 77e2b668 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/29 19:19 upstream d2b6f8a17919 77e2b668 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/28 05:17 upstream 57fa2369ab17 805b5003 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/28 05:03 upstream 57fa2369ab17 805b5003 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/04/28 05:03 upstream 57fa2369ab17 805b5003 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/04/28 05:02 upstream 57fa2369ab17 805b5003 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in account_page_dirtied
2021/04/28 05:01 upstream 57fa2369ab17 805b5003 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/26 10:43 upstream 9f4ad9e425a1 2a82f1b3 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/04/26 06:39 upstream d2d09fbe33f8 2a82f1b3 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/25 17:01 upstream 2a1d7946fa53 36c88236 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/04/24 13:29 upstream e77a830c8297 17f0b706 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in account_page_dirtied
2021/04/13 02:41 upstream d434405aaab7 bfeda1b1 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/04/12 04:19 upstream 7d900724913c bfeda1b1 .config console log report info ci-upstream-kasan-gce-root WARNING in account_page_dirtied
2021/03/01 03:01 upstream cd278456d4ca 4c37c133 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in account_page_dirtied
2021/02/18 05:33 upstream f40ddce88593 14052202 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/02/14 07:57 upstream ac30d8ce28d6 98682e5e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/02/08 01:24 upstream b75dba7f472c 2ce644fc .config console log report info ci-upstream-kasan-gce-smack-root WARNING in account_page_dirtied
2021/02/12 00:29 upstream 291009f656e8 a5f86b15 .config console log report info ci-qemu2-arm64-compat WARNING in account_page_dirtied
2021/02/07 12:17 upstream 825b5991a46e 2ce644fc .config console log report info ci-qemu2-arm64-compat WARNING in account_page_dirtied
2021/02/01 17:04 upstream 1048ba83fb1c e6b95f32 .config console log report info ci-qemu2-arm64-compat WARNING in account_page_dirtied
2021/01/30 21:01 upstream 8c947645151c fc9fd31e .config console log report info ci-qemu2-arm64-compat WARNING in account_page_dirtied
2021/01/29 03:30 upstream 909b447dcc45 7df34f59 .config console log report info ci-qemu2-arm64 WARNING in account_page_dirtied
2021/05/29 20:35 linux-next a1f92694393a 325a8dab .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in account_page_dirtied
2021/05/09 07:43 linux-next 869a85b925fc bc5434be .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in account_page_dirtied
2021/04/04 23:02 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in account_page_dirtied
2021/04/04 05:50 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in account_page_dirtied
2021/01/03 20:41 upstream 3516bd729358 79264ae3 .config console log report info ci-upstream-kasan-gce-root
2020/12/03 20:42 upstream 34816d20f173 59ad4022 .config console log report info ci-qemu-upstream
2020/11/21 16:04 upstream 27bba9c532a8 2f4d85f4 .config console log report info ci-qemu-upstream
2020/12/06 09:16 upstream 7059c2c00a21 f12ba0c5 .config console log report info ci-qemu-upstream-386
2020/12/29 04:11 linux-next d7a03a44a5e9 8259d56c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/25 03:43 linux-next d1d2220c7f39 54289b08 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.