syzbot


WARNING in ext4_set_page_dirty

Status: upstream: reported C repro on 2019/06/29 07:29
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+519b64b5f8c220e76caa@syzkaller.appspotmail.com
First crash: 1972d, last: 646d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ext4_set_page_dirty ext4 C error 135 654d 2049d 0/1 upstream: reported C repro on 2019/04/13 10:39
upstream WARNING in ext4_set_page_dirty mm C inconclusive done 18414 972d 2426d 0/28 closed as dup on 2023/04/30 04:56
android-414 WARNING in ext4_set_page_dirty 15 2180d 2049d 0/1 auto-closed as invalid on 2019/06/01 07:06
linux-5.15 WARNING in ext4_set_page_dirty origin:lts-only C done 258 2h52m 624d 0/3 upstream: reported C repro on 2023/03/08 04:46
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2020/06/18 18:16 0m bisect fix linux-4.14.y error job log
2020/05/19 17:38 27m bisect fix linux-4.14.y OK (0) job log log
2020/04/17 07:18 23m bisect fix linux-4.14.y OK (0) job log log
2020/03/18 06:53 24m bisect fix linux-4.14.y OK (0) job log log
2020/02/17 06:29 24m bisect fix linux-4.14.y OK (0) job log log
2020/01/18 06:04 24m bisect fix linux-4.14.y OK (0) job log log
2019/12/19 01:30 23m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
audit: type=1804 audit(1664754055.547:4): pid=7990 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
audit: type=1804 audit(1664754055.547:5): pid=7991 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
audit: type=1804 audit(1664754055.547:6): pid=7990 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
------------[ cut here ]------------
audit: type=1804 audit(1664754055.617:7): pid=7993 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
WARNING: CPU: 0 PID: 7994 at fs/ext4/inode.c:3924 ext4_set_page_dirty+0xe8/0x130 fs/ext4/inode.c:3924
audit: type=1804 audit(1664754055.617:8): pid=7993 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7994 Comm: syz-executor152 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
audit: type=1804 audit(1664754055.617:9): pid=7994 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
 __warn.cold+0x20/0x44 kernel/panic.c:547
audit: type=1804 audit(1664754055.617:10): pid=7993 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor152" name="/root/bus" dev="sda1" ino=13861 res=1
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:ext4_set_page_dirty+0xe8/0x130 fs/ext4/inode.c:3924
RSP: 0018:ffff888095857a58 EFLAGS: 00010297
RAX: ffff8880b3688580 RBX: ffffea00022e5300 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffea00022e5320
RBP: ffffea00022e5300 R08: 0000000000000001 R09: ffffed10117299ff
R10: ffff88808b94cfff R11: 0000000000000000 R12: ffffea00022e5360
R13: ffffea00022e5360 R14: dffffc0000000000 R15: ffffea00022e5300
 set_page_dirty+0x148/0x2a0 mm/page-writeback.c:2586
 set_page_dirty_lock+0x61/0xa0 mm/page-writeback.c:2611
 process_vm_rw_pages mm/process_vm_access.c:51 [inline]
 process_vm_rw_single_vec mm/process_vm_access.c:124 [inline]
 process_vm_rw_core.constprop.0+0x4a1/0xa40 mm/process_vm_access.c:223
 process_vm_rw+0x1c2/0x1f0 mm/process_vm_access.c:290
 SYSC_process_vm_writev mm/process_vm_access.c:312 [inline]
 SyS_process_vm_writev+0x39/0x50 mm/process_vm_access.c:307
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f50f7c58a79
RSP: 002b:00007f50f7be9308 EFLAGS: 00000246 ORIG_RAX: 0000000000000137
RAX: ffffffffffffffda RBX: 00007f50f7ce0438 RCX: 00007f50f7c58a79
RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000001f3a
RBP: 00007f50f7ce0430 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000020c22fa0 R11: 0000000000000246 R12: 00007f50f7cae074
R13: 00007ffd6d2d112f R14: 00007f50f7be9400 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/02 23:42 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/08/23 22:30 linux-4.14.y b641242202ed cea8b0f7 .config console log report syz C ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/07/17 04:00 linux-4.14.y 424a46ea058e 95cb00d1 .config console log report syz C ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/07/01 11:31 linux-4.14.y f051383ef03b 1434eec0 .config console log report syz C ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/02/14 10:43 linux-4.14.y 8034e99d1a01 8b9ca619 .config console log report syz C ci2-linux-4-14 WARNING in ext4_set_page_dirty
2023/02/14 14:48 linux-4.14.y a8ad60f2af58 93ae7e0a .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2021/07/25 18:59 linux-4.14.y 964f3712e6a7 4d1b57d4 .config console log report syz ci2-linux-4-14 WARNING in ext4_set_page_dirty
2019/07/29 00:59 linux-4.14.y ff33472c282e c85e1c5b .config console log report syz ci2-linux-4-14
2019/06/29 15:17 linux-4.14.y f4cc0ed9b2c7 7509bf36 .config console log report syz ci2-linux-4-14
2019/06/29 06:28 linux-4.14.y f4cc0ed9b2c7 7509bf36 .config console log report syz ci2-linux-4-14
2023/02/14 12:58 linux-4.14.y a8ad60f2af58 93ae7e0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2023/02/07 07:11 linux-4.14.y a8ad60f2af58 5bc3be51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2023/01/02 23:50 linux-4.14.y c4215ee4771b ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/10/16 07:50 linux-4.14.y 9d5c0b3a8e1a 67cb024c .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/10/03 11:13 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/05/18 14:16 linux-4.14.y dffb5c6ff09c 50c53f39 .config console log report info ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/04/09 04:00 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/03/04 00:12 linux-4.14.y e853993d29aa 45a13a73 .config console log report info ci2-linux-4-14 WARNING in ext4_set_page_dirty
2022/01/30 13:30 linux-4.14.y b86ee2b7ae42 495e00c5 .config console log report info ci2-linux-4-14 WARNING in ext4_set_page_dirty
2021/08/05 05:06 linux-4.14.y 94cb1fed447a 7f7bb950 .config console log report info ci2-linux-4-14 WARNING in ext4_set_page_dirty
2020/04/19 17:38 linux-4.14.y c10b57a567e4 6dfd45e1 .config console log report ci2-linux-4-14
2019/11/18 02:04 linux-4.14.y 775d01b65b5d d5696d51 .config console log report ci2-linux-4-14
2019/09/24 17:32 linux-4.14.y f6e27dbb1afa f8368f99 .config console log report ci2-linux-4-14
2019/07/29 00:28 linux-4.14.y ff33472c282e c85e1c5b .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.