syzbot


WARNING in mark_buffer_dirty (4)

Status: upstream: reported C repro on 2022/07/04 10:22
Reported-by: syzbot+2af3bc9585be7f23f290@syzkaller.appspotmail.com
First crash: 151d, last: 6h30m

Cause bisection: the cause commit could be any of (bisect log):
  a1a98689301b drm: Add privacy-screen class (v4)
  befe5404a00b drm/privacy-screen: Add X86 specific arch init code
  107fe9043020 drm/connector: Add support for privacy-screen properties (v4)
  8a12b170558a drm/privacy-screen: Add notifier support (v2)
  334f74ee85dc drm/connector: Add a drm_connector privacy-screen helper functions (v2)
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in mark_buffer_dirty C error 9 29d 311d 0/1 upstream: reported C repro on 2022/01/20 22:23
android-44 WARNING in mark_buffer_dirty 2 1426d 1324d 0/2 auto-closed as invalid on 2019/07/01 11:44
upstream WARNING in mark_buffer_dirty C 21 1455d 1838d 0/24 closed as invalid on 2019/07/24 04:22
linux-4.14 WARNING in mark_buffer_dirty (2) C error 4 27d 291d 0/1 upstream: reported C repro on 2022/02/10 08:17
upstream WARNING in mark_buffer_dirty (2) 665 957d 1090d 0/24 auto-closed as invalid on 2020/07/14 01:44
upstream WARNING in mark_buffer_dirty (3) 2 639d 652d 0/24 auto-closed as invalid on 2021/06/27 09:01
android-49 WARNING in mark_buffer_dirty 7 1271d 1324d 0/3 auto-closed as invalid on 2019/10/25 08:47
linux-4.14 WARNING in mark_buffer_dirty 1 1051d 1051d 0/1 auto-closed as invalid on 2020/05/11 07:45
Patch testing requests:
Created Duration User Patch Repo Result
2022/08/21 01:44 18m yin31149@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2022/08/20 15:46 18m yin31149@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log
2022/08/20 11:24 18m yin31149@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2022/08/18 15:12 19m yin31149@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3639 at fs/buffer.c:1081 mark_buffer_dirty+0x2c2/0x550
Modules linked in:
CPU: 0 PID: 3639 Comm: syz-executor244 Not tainted 6.1.0-rc5-syzkaller-00008-ge01d50cbd6ee #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:mark_buffer_dirty+0x2c2/0x550 fs/buffer.c:1081
Code: 5d 41 5e 41 5f 5d c3 e8 ac 90 8c ff eb 05 e8 a5 90 8c ff 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 53 79 e7 ff e8 8e 90 8c ff <0f> 0b e9 77 fd ff ff e8 82 90 8c ff 48 ff cb e9 91 fe ff ff e8 75
RSP: 0018:ffffc90003bcf3c8 EFLAGS: 00010293
RAX: ffffffff81fe07c2 RBX: ffff88801f092301 RCX: ffff88801b49d7c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003bcf930 R08: ffffffff81fe0533 R09: ffffed100e3cb075
R10: ffffed100e3cb075 R11: 1ffff1100e3cb074 R12: 1ffff1100e9ae5c4
R13: 1ffff1100e9ae5c2 R14: ffff888071e583a0 R15: ffff888074d72e10
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbf388a21d0 CR3: 000000000d08e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1966 [inline]
 nilfs_segctor_do_construct+0x33a/0x6f80 fs/nilfs2/segment.c:2025
 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2379
 nilfs_segctor_write_out fs/nilfs2/segment.c:2701 [inline]
 nilfs_segctor_destroy fs/nilfs2/segment.c:2734 [inline]
 nilfs_detach_log_writer+0x537/0xbd0 fs/nilfs2/segment.c:2814
 nilfs_put_super+0x4b/0x150 fs/nilfs2/super.c:468
 generic_shutdown_super+0x130/0x310 fs/super.c:492
 kill_block_super+0x79/0xd0 fs/super.c:1428
 deactivate_locked_super+0xa7/0xf0 fs/super.c:332
 cleanup_mnt+0x494/0x520 fs/namespace.c:1186
 task_work_run+0x243/0x300 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0x664/0x2070 kernel/exit.c:820
 do_group_exit+0x1fd/0x2b0 kernel/exit.c:950
 __do_sys_exit_group kernel/exit.c:961 [inline]
 __se_sys_exit_group kernel/exit.c:959 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:959
 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+0x63/0xcd
RIP: 0033:0x7fbf38829c09
Code: Unable to access opcode bytes at 0x7fbf38829bdf.
RSP: 002b:00007ffd21e65458 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fbf388a1330 RCX: 00007fbf38829c09
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007fbf3889be40
R10: 00007fbf3889be40 R11: 0000000000000246 R12: 00007fbf388a1330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/07/30 11:36 upstream e65c6a46df94 1434eec0 .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (638):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-fs 2022/11/15 02:49 upstream e01d50cbd6ee 97de9cfc .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/11/12 10:42 upstream f9bbe0c99e5b 3ead01ad .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/11/04 05:39 upstream f2f32f8af2b0 6d752409 .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/02 19:22 upstream b229b6ca5abb 08977f5d .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/11/02 05:56 upstream b229b6ca5abb edac4fd1 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/11/02 03:38 upstream b229b6ca5abb edac4fd1 .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/01 15:41 upstream b229b6ca5abb a1d8560a .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/10/31 15:00 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/31 03:32 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/30 23:17 upstream b229b6ca5abb 2a71366b .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/24 01:16 upstream d47136c28015 23bf86af .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/23 23:15 upstream d47136c28015 23bf86af .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/22 01:39 upstream 6d36c728bc2e 63e790dd .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/10/19 02:55 upstream 55be6084c8e0 b31320fc .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/17 09:18 upstream 493ffd6605b2 67cb024c .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/09 15:09 upstream a6afa4199d3d aea5da89 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/10/08 18:59 upstream e8bc52cb8df8 aea5da89 .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/03 05:00 upstream a962b54e162c feb56351 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/09/24 04:38 upstream 1707c39ae309 0042f2b4 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/08/03 18:44 upstream e2b542100719 1c9013ac .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-selinux-root 2022/06/30 10:39 upstream d9b2ba67917c 1434eec0 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-linux-next-kasan-gce-root 2022/11/04 06:12 linux-next 81214a573d19 6d752409 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-linux-next-kasan-gce-root 2022/09/13 06:54 linux-next e47eb90a0a9a f371ed7e .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/11/15 04:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 943f4cb8 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/25 10:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/18 12:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/18 11:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/18 02:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/16 20:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config log report syz C WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/10/15 07:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config log report syz C WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/14 20:51 upstream 094226ad94f4 943f4cb8 .config log report syz WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/11/10 02:20 upstream f141df371335 5fa28208 .config log report syz WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/10/28 03:46 upstream b229b6ca5abb 86777b7f .config log report syz WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-root 2022/10/25 03:03 upstream 247f34f7b803 ff2fe65d .config log report syz WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/10/11 14:28 upstream 493ffd6605b2 5bcf0c31 .config log report syz WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/28 12:51 upstream b7b275e60bcd 247de55b .config log report info WARNING in mark_buffer_dirty
ci-qemu-upstream 2022/11/26 10:40 upstream 0b1dcc2cf55a f4470a7b .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/26 05:27 upstream 08ad43d554ba f4470a7b .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/21 18:02 upstream eb7081409f94 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/21 14:22 upstream eb7081409f94 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/21 06:51 upstream eb7081409f94 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/21 04:58 upstream eb7081409f94 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/21 00:36 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/20 15:54 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/20 11:08 upstream fe24a97cf254 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/20 09:49 upstream fe24a97cf254 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/20 07:31 upstream fe24a97cf254 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 23:43 upstream fe24a97cf254 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 20:28 upstream fe24a97cf254 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 18:03 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 13:42 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 10:09 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 08:26 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 03:31 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/19 01:08 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 18:49 upstream 84368d882b96 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 17:36 upstream 84368d882b96 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 15:22 upstream 84368d882b96 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 11:37 upstream 84368d882b96 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 08:08 upstream 84368d882b96 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 02:48 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/18 00:37 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 23:14 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 22:36 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 11:41 upstream cc675d22e422 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 10:18 upstream cc675d22e422 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 02:29 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/17 01:19 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/16 21:32 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/16 20:31 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/16 16:06 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/16 04:12 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/16 00:51 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/15 21:56 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/15 20:20 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/15 13:14 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/15 07:56 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/14 19:47 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/14 16:12 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/14 10:02 upstream 094226ad94f4 7ba4d859 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/13 19:33 upstream af7a05689189 7ba4d859 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/13 12:59 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/13 01:06 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/12 23:49 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/12 22:37 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/12 21:29 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/12 18:52 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci2-upstream-fs 2022/11/12 13:06 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-selinux-root 2022/11/04 22:17 upstream ee6050c8af96 6d752409 .config log report info WARNING in mark_buffer_dirty
ci-qemu-upstream 2022/11/03 05:16 upstream 200204f56f3b b7c72847 .config log report info WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-smack-root 2022/11/01 13:56 upstream b229b6ca5abb a1d8560a .config log report info WARNING in mark_buffer_dirty
ci-upstream-kasan-gce-selinux-root 2022/06/30 10:16 upstream d9b2ba67917c 1434eec0 .config log report info WARNING in mark_buffer_dirty
ci-upstream-linux-next-kasan-gce-root 2022/11/20 19:29 linux-next 15f3bff12cf6 5bb70014 .config log report info WARNING in mark_buffer_dirty
ci-upstream-gce-arm64 2022/11/17 12:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info WARNING in mark_buffer_dirty
* Struck through repros no longer work on HEAD.