syzbot


WARNING in ext4_dirty_folio

Status: upstream: reported C repro on 2022/03/26 15:24
Reported-by: syzbot+ecab51a4a5b9f26eeaa1@syzkaller.appspotmail.com
First crash: 321d, last: 48m

Cause bisection: failed (bisect log)
Last patch testing requests:
Created Duration User Patch Repo Result
2022/06/11 04:34 17m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git cf67838c4422 OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5102 at fs/ext4/inode.c:3714 ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3714
Modules linked in:
CPU: 1 PID: 5102 Comm: syz-executor389 Not tainted 6.2.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ext4_dirty_folio+0xf8/0x120 fs/ext4/inode.c:3714
Code: 1b 31 ff 48 c1 eb 03 83 e3 01 89 de e8 51 9d 5e ff 84 db 0f 85 72 ff ff ff e8 d4 a0 5e ff 0f 0b e9 66 ff ff ff e8 c8 a0 5e ff <0f> 0b eb 88 48 89 df e8 fc a2 ac ff e9 3d ff ff ff e8 f2 a2 ac ff
RSP: 0018:ffffc9000401fbd8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88807bdc0000 RSI: ffffffff8222c1e8 RDI: ffffea0001db17e8
RBP: ffffea0001db17c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88807316acf8
R13: dffffc0000000000 R14: ffffea0001db1700 R15: ffffea0001db17c0
FS:  00007fb704ad4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffb0addf48 CR3: 000000007367c000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 folio_mark_dirty+0xc5/0x140 mm/page-writeback.c:2861
 unpin_user_pages_dirty_lock mm/gup.c:351 [inline]
 unpin_user_pages_dirty_lock+0x414/0x4d0 mm/gup.c:314
 xdp_umem_unpin_pages net/xdp/xdp_umem.c:26 [inline]
 xdp_umem_pin_pages net/xdp/xdp_umem.c:121 [inline]
 xdp_umem_reg net/xdp/xdp_umem.c:217 [inline]
 xdp_umem_create+0xc0a/0x1180 net/xdp/xdp_umem.c:250
 xsk_setsockopt+0x742/0x9f0 net/xdp/xsk.c:1100
 __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2246
 __do_sys_setsockopt net/socket.c:2257 [inline]
 __se_sys_setsockopt net/socket.c:2254 [inline]
 __x64_sys_setsockopt+0xbe/0x160 net/socket.c:2254
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb704b44b99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 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:00007fb704ad4308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fb704bce4f8 RCX: 00007fb704b44b99
RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000006
RBP: 00007fb704bce4f0 R08: 0000000000000020 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00007fb704bce4fc
R13: 00007fb704b9b2b8 R14: 652e79726f6d656d R15: 0000000000022000
 </TASK>

Crashes (6048):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2023/01/16 17:09 upstream 5dc4c995db9e a63719e7 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2023/01/09 12:46 upstream 1fe4fd6f5cad 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-selinux-root 2022/10/08 16:11 upstream e8bc52cb8df8 aea5da89 .config console log report syz C [disk image] [vmlinux] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/17 21:04 upstream a335366bad13 dd9a85ff .config console log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/13 18:22 upstream e839a756012b a08652b0 .config console log report syz C [disk image] [vmlinux] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/07/22 17:07 upstream 68e77ffbfd06 22343af4 .config console log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/07/19 02:46 upstream 80e19f34c288 ff988920 .config console log report syz C WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/12/14 14:47 net 7ae9888d6e1c f6511626 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/06/08 11:36 net cf67838c4422 b2706118 .config strace log report syz C WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/12/14 07:41 net-next 7c4a6309e27f e660de91 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/06/08 12:10 net-next ba36c5b7ac93 b2706118 .config strace log report syz C WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/08/31 05:47 linux-next 282342f2dc97 4a380809 .config console log report syz C WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/08/28 05:21 linux-next 8d0c42c9e807 07177916 .config console log report syz C WARNING in ext4_dirty_folio
ci-upstream-gce-arm64 2022/11/28 20:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 247de55b .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/10/27 14:21 upstream 98555239e4c3 86777b7f .config console log report syz [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-gce-arm64 2022/12/31 10:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report syz [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-qemu-upstream 2023/02/06 04:38 upstream 4ec5183ec486 be607b78 .config console log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2023/02/05 23:40 upstream 837c07cf68fe be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-qemu-upstream 2023/02/05 09:12 upstream db27c22251e7 be607b78 .config console log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2023/02/04 23:08 upstream db27c22251e7 be607b78 .config console log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2023/02/04 21:56 upstream db27c22251e7 be607b78 .config console log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-selinux-root 2023/02/04 00:20 upstream 7b753a909f42 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-qemu-upstream 2023/02/03 22:56 upstream 0136d86b7852 1b2f701a .config console log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2023/02/03 20:53 upstream 7b753a909f42 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2023/02/02 15:49 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/03/25 16:10 upstream 34af78c4e616 89bc8608 .config console log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2023/01/22 22:47 upstream 2475bf0250de 7374c4e5 .config console log report info WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/06 19:27 net 811d581194f7 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/06 17:26 net 811d581194f7 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/06 09:56 net 03702d4d29be be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/05 18:32 net a05e7a67986c be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/05 15:13 net a05e7a67986c be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/05 06:12 net a05e7a67986c be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/05 02:46 net a05e7a67986c be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/04 14:44 net a05e7a67986c be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/04 12:18 net cbe83191d40d 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/04 07:00 net cbe83191d40d 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/03 17:16 net ce93fdb5f2ca 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/03 09:13 net edb9b8f380c3 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/03 08:05 net edb9b8f380c3 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/03 07:01 net edb9b8f380c3 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/02 19:09 net 329c9cd769c2 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2023/02/02 12:39 net 99f1c46011cc 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/06 13:20 net-next 8b7018fa7177 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/06 11:41 net-next 8b7018fa7177 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/06 07:08 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/06 01:40 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/05 12:42 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/05 11:39 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/05 10:32 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/05 04:52 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/05 00:22 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 20:23 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 17:52 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 15:56 net-next 042b7858d50f be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 09:31 net-next dfefcb0c0417 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 05:37 net-next dfefcb0c0417 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 04:35 net-next dfefcb0c0417 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/04 03:19 net-next 8065c0e13f98 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 16:29 net-next 8065c0e13f98 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 13:11 net-next 82b4a9412b4d 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 11:13 net-next 82b4a9412b4d 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 05:42 net-next 82b4a9412b4d 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 05:18 net-next 82b4a9412b4d 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/03 02:10 net-next 8b6f322e47ba 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2023/02/02 16:57 net-next 8b6f322e47ba 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2023/02/03 15:28 linux-next 4fafd96910ad 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2023/02/02 22:00 linux-next ea4dabbb4ad7 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/03/22 15:22 linux-next f8833a2b2356 d88ef0c5 .config console log report info WARNING in ext4_dirty_folio
* Struck through repros no longer work on HEAD.