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: 190d, last: 17m

Cause bisection: failed (bisect log)
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: 3664 at fs/ext4/inode.c:3628 ext4_dirty_folio+0x16d/0x340
Modules linked in:
CPU: 1 PID: 3664 Comm: syz-executor134 Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:ext4_dirty_folio+0x16d/0x340 fs/ext4/inode.c:3628
Code: 48 83 3b 00 74 1f e8 e2 7f 52 ff 48 8b 3c 24 4c 89 ee 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 78 49 c5 ff e8 c3 7f 52 ff <0f> 0b eb dd e8 ba 7f 52 ff 0f 0b eb af e8 b1 7f 52 ff e9 3d 01 00
RSP: 0018:ffffc90003a1fb58 EFLAGS: 00010293
RAX: ffffffff8237183d RBX: ffffea0001c7ade8 RCX: ffff8880763d1d80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 1ffffd400038f5b8 R08: ffffffff82371772 R09: fffff9400038f5b9
R10: fffff9400038f5b9 R11: 1ffffd400038f5b8 R12: dffffc0000000000
R13: ffffea0001c7adc0 R14: 0000000000000001 R15: ffffea0001c7adc8
FS:  00007fe4f0509700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe4f0529c18 CR3: 000000007aa8a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 unpin_user_pages_dirty_lock+0x3d5/0x710 mm/gup.c:336
 xdp_umem_unpin_pages net/xdp/xdp_umem.c:28 [inline]
 xdp_umem_pin_pages+0x1df/0x330 net/xdp/xdp_umem.c:123
 xdp_umem_reg net/xdp/xdp_umem.c:219 [inline]
 xdp_umem_create+0x804/0xba0 net/xdp/xdp_umem.c:252
 xsk_setsockopt+0x7dc/0x9f0 net/xdp/xsk.c:1100
 __sys_setsockopt+0x65d/0xa00 net/socket.c:2252
 __do_sys_setsockopt net/socket.c:2263 [inline]
 __se_sys_setsockopt net/socket.c:2260 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2260
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe4f0579b89
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:00007fe4f0509308 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fe4f06034f8 RCX: 00007fe4f0579b89
RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000006
RBP: 00007fe4f06034f0 R08: 0000000000200d6f R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00007fe4f06034fc
R13: 00007fe4f05d02b8 R14: 652e79726f6d656d R15: 0000000000022000
 </TASK>

Crashes (1879):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/09/17 21:04 upstream a335366bad13 dd9a85ff .config log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/13 18:22 upstream e839a756012b a08652b0 .config log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/07/22 17:07 upstream 68e77ffbfd06 22343af4 .config log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/07/19 02:46 upstream 80e19f34c288 ff988920 .config log report syz C WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/06/08 11:36 net cf67838c4422 b2706118 .config log report syz C WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/06/08 12:10 net-next ba36c5b7ac93 b2706118 .config 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 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 log report syz C WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/09/28 15:13 upstream 49c13ed0316d e2556bc3 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/28 13:49 upstream 49c13ed0316d e2556bc3 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/28 04:31 upstream 46452d3786a8 75c78242 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/27 16:54 upstream a1375562c0a8 87840e00 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/27 12:42 upstream a1375562c0a8 87840e00 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/27 00:44 upstream 3800a713b607 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/26 15:16 upstream f76349cf4145 d59ba983 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/26 09:02 upstream f76349cf4145 d59ba983 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/26 05:22 upstream f76349cf4145 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/26 03:43 upstream f76349cf4145 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/26 02:35 upstream f76349cf4145 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/09/26 00:00 upstream f76349cf4145 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-selinux-root 2022/09/25 20:34 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/25 16:00 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/09/25 14:37 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/09/25 12:18 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/09/25 11:14 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/25 04:16 upstream 1a61b828566f 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/24 22:28 upstream 1a61b828566f 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/24 21:14 upstream 1a61b828566f 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/24 13:28 upstream a63f2e7cb110 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream 2022/09/23 12:23 upstream bf682942cd26 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-smack-root 2022/09/23 09:14 upstream bf682942cd26 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-kasan-gce-root 2022/03/25 16:10 upstream 34af78c4e616 89bc8608 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/28 16:30 upstream 49c13ed0316d e2556bc3 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/28 02:46 upstream 46452d3786a8 75c78242 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/27 23:56 upstream 46452d3786a8 75c78242 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/27 20:36 upstream a1375562c0a8 87840e00 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/27 14:14 upstream a1375562c0a8 87840e00 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/27 04:35 upstream 3800a713b607 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/27 03:16 upstream 3800a713b607 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/26 20:28 upstream f76349cf4145 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/25 22:04 upstream 5e049663f678 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/25 19:52 upstream 5e049663f678 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/25 17:54 upstream 5e049663f678 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/24 08:03 upstream a63f2e7cb110 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-qemu-upstream-386 2022/09/23 21:52 upstream 1707c39ae309 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/09/26 13:16 net b7ca8d5f56e6 d59ba983 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/09/25 07:50 net b7ca8d5f56e6 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/09/24 14:31 net b7ca8d5f56e6 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-this-kasan-gce 2022/09/24 09:12 net b7ca8d5f56e6 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/28 07:45 net-next 7bcd9683e515 75c78242 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/28 00:46 net-next 7bcd9683e515 75c78242 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/27 10:16 net-next 6627a2074d5c 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/27 05:44 net-next d6e3b27cbd2d 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/25 00:32 net-next 9258b8b1be2e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/24 10:52 net-next 9258b8b1be2e 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/23 20:28 net-next 4dfa5f05fffa 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-net-kasan-gce 2022/09/23 19:06 net-next 4dfa5f05fffa 0042f2b4 .config log report info WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/28 12:40 linux-next aaa11ce2ffc8 e2556bc3 .config log report info WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/27 11:37 linux-next aaa11ce2ffc8 87840e00 .config log report info WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/26 20:58 linux-next aaa11ce2ffc8 10323ddf .config log report info WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/09/26 10:18 linux-next aaa11ce2ffc8 d59ba983 .config log report info WARNING in ext4_dirty_folio
ci-upstream-linux-next-kasan-gce-root 2022/03/22 15:22 linux-next f8833a2b2356 d88ef0c5 .config log report info WARNING in ext4_dirty_folio
* Struck through repros no longer work on HEAD.