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: 48d, last: 13d

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 3 48d 208d 0/1 upstream: reported C repro on 2022/01/20 22:23
android-44 WARNING in mark_buffer_dirty 2 1323d 1221d 0/2 auto-closed as invalid on 2019/07/01 11:44
upstream WARNING in mark_buffer_dirty C 21 1352d 1735d 0/23 closed as invalid on 2019/07/24 04:22
linux-4.14 WARNING in mark_buffer_dirty (2) C 2 18d 188d 0/1 upstream: reported C repro on 2022/02/10 08:17
upstream WARNING in mark_buffer_dirty (2) 665 854d 987d 0/23 auto-closed as invalid on 2020/07/14 01:44
upstream WARNING in mark_buffer_dirty (3) 2 536d 548d 0/23 auto-closed as invalid on 2021/06/27 09:01
android-49 WARNING in mark_buffer_dirty 7 1168d 1221d 0/3 auto-closed as invalid on 2019/10/25 08:47
linux-4.14 WARNING in mark_buffer_dirty 1 948d 948d 0/1 auto-closed as invalid on 2020/05/11 07:45

Sample crash report:
WARNING: CPU: 0 PID: 3684 at fs/buffer.c:1081 mark_buffer_dirty+0x59d/0xa20 fs/buffer.c:1081
Modules linked in:
CPU: 0 PID: 3684 Comm: syz-executor209 Not tainted 5.19.0-syzkaller-02858-ge2b542100719 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:mark_buffer_dirty+0x59d/0xa20 fs/buffer.c:1081
Code: 89 ee 41 83 e6 01 4c 89 f6 e8 2f e9 93 ff 4d 85 f6 0f 84 7a fe ff ff e8 c1 ec 93 ff 49 8d 5d ff e9 6c fe ff ff e8 b3 ec 93 ff <0f> 0b e9 ac fa ff ff e8 a7 ec 93 ff 0f 0b e9 d0 fa ff ff e8 9b ec
RSP: 0018:ffffc900035dfd20 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888072a7b570 RCX: 0000000000000000
RDX: ffff88801ef00000 RSI: ffffffff81e6e57d RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807682e7d8
R13: 0000000000000000 R14: 0000000000000000 R15: ffffed100fdb3b3a
FS:  00007fdd283b3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd28491243 CR3: 000000001c3ee000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 minix_put_super+0x199/0x500 fs/minix/inode.c:49
 generic_shutdown_super+0x14c/0x400 fs/super.c:462
 kill_block_super+0x97/0xf0 fs/super.c:1394
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 deactivate_super+0xad/0xd0 fs/super.c:363
 cleanup_mnt+0x3a2/0x540 fs/namespace.c:1186
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 ptrace_notify+0x114/0x140 kernel/signal.c:2353
 ptrace_report_syscall include/linux/ptrace.h:420 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline]
 syscall_exit_work kernel/entry/common.c:249 [inline]
 syscall_exit_to_user_mode_prepare+0x129/0x280 kernel/entry/common.c:276
 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline]
 syscall_exit_to_user_mode+0x9/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdd284274c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fdd283b32f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffec RBX: 00007fdd284ac3f0 RCX: 00007fdd284274c9
RDX: 0000000020000140 RSI: 00000000200000c0 RDI: 00000000200002c0
RBP: 00007fdd284790a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6f6c2f7665642f R14: 000000807fffffff R15: 00007fdd284ac3f8
 </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
Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
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-kasan-gce-selinux-root 2022/06/30 10:16 upstream d9b2ba67917c 1434eec0 .config log report info WARNING in mark_buffer_dirty