syzbot


WARNING in __gup_longterm_locked

Status: fixed on 2023/10/12 12:47
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+6cf44e127903fdf9d929@syzkaller.appspotmail.com
Fix commit: 6cd06ab12d1a gup: make the stack expansion warning a bit more targeted
First crash: 497d, last: 492d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in __gup_longterm_locked 4 (5) 2023/07/04 17:13
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __gup_longterm_locked (2) mm 17 166d 374d 0/28 auto-obsoleted due to no activity on 2024/09/03 04:39

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5001 at mm/gup.c:1173 __get_user_pages+0xd49/0x1080 mm/gup.c:1173
Modules linked in:
CPU: 1 PID: 5001 Comm: syz-executor229 Not tainted 6.4.0-syzkaller-10062-gf8566aa4f176 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:__get_user_pages+0xd49/0x1080 mm/gup.c:1173
Code: 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 bc 02 00 00 48 8b 44 24 20 48 8b 80 c0 00 00 00 48 8d 1c e8 e9 ad f7 ff ff e8 37 19 c3 ff <0f> 0b e9 32 f6 ff ff e8 2b 19 c3 ff 0f 0b e8 24 19 c3 ff 44 89 ed
RSP: 0018:ffffc90003a3f558 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000100 RCX: 0000000000000000
RDX: ffff888020630000 RSI: ffffffff81c1b599 RDI: 0000000000000007
RBP: 0000000020006000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000001 R12: ffff888018796100
R13: 0000000000210002 R14: ffff888076f55580 R15: 0000000000000000
FS:  0000555556272300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000664740 CR3: 0000000029be1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __get_user_pages_locked mm/gup.c:1456 [inline]
 __gup_longterm_locked+0x6f9/0x23e0 mm/gup.c:2150
 internal_get_user_pages_fast+0x16e6/0x32f0 mm/gup.c:3148
 get_user_pages_fast+0xa8/0xf0 mm/gup.c:3226
 __iov_iter_get_pages_alloc+0x28c/0x1950 lib/iov_iter.c:1111
 iov_iter_get_pages2+0xa8/0x100 lib/iov_iter.c:1151
 iter_to_pipe fs/splice.c:1402 [inline]
 vmsplice_to_pipe fs/splice.c:1492 [inline]
 __do_sys_vmsplice+0x50c/0xaa0 fs/splice.c:1556
 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:0x7f2a6e4e4b69
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdb0cc72d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000116
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2a6e4e4b69
RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00007f2a6e4a8d10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 00007f2a6e4a8da0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (90):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/02 07:04 upstream f8566aa4f176 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/07/02 03:49 upstream f8566aa4f176 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/07/02 02:10 upstream f8566aa4f176 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/07/01 02:58 upstream 533925cb7604 01298212 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/07/01 01:00 upstream 533925cb7604 01298212 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 22:50 upstream 533925cb7604 af3053d2 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/06/30 22:03 upstream 533925cb7604 01298212 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 19:32 linux-next 6352a698ca5b 01298212 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __gup_longterm_locked
2023/07/05 21:10 upstream d528014517f2 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __gup_longterm_locked
2023/07/04 23:18 upstream 03275585cabd 80298b6f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/07/04 21:49 upstream b5641a5d8b8b 17a98177 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/07/03 10:42 upstream a901a3568fd2 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/07/01 08:50 upstream b25f62ccb490 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 23:59 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/06/30 21:23 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __gup_longterm_locked
2023/06/30 21:10 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __gup_longterm_locked
2023/06/30 21:02 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/06/30 20:54 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/06/30 20:53 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 20:51 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 20:45 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 20:44 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/06/30 20:43 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 20:37 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/06/30 20:36 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 20:18 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 20:14 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/06/30 20:07 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __gup_longterm_locked
2023/06/30 20:07 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 19:55 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/06/30 19:53 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 19:34 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/06/30 19:25 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __gup_longterm_locked
2023/06/30 19:10 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __gup_longterm_locked
2023/06/30 18:53 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 18:36 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __gup_longterm_locked
2023/06/30 18:23 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __gup_longterm_locked
2023/07/04 21:47 upstream b5641a5d8b8b 17a98177 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/07/02 22:30 upstream 995b406c7e97 bfc47836 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/07/01 18:16 upstream b25f62ccb490 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 21:24 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 21:15 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 20:36 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 20:22 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 20:20 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 20:04 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 19:58 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 19:48 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 19:31 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 19:15 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 18:57 upstream 533925cb7604 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __gup_longterm_locked
2023/06/30 18:45 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 18:37 upstream 533925cb7604 af3053d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __gup_longterm_locked
2023/06/30 16:53 linux-next 6352a698ca5b 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 15:50 linux-next 6352a698ca5b 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __gup_longterm_locked
2023/06/30 11:33 linux-next 6352a698ca5b 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __gup_longterm_locked
* Struck through repros no longer work on HEAD.