syzbot


WARNING in __gup_longterm_locked (2)

Status: auto-obsoleted due to no activity on 2024/09/03 04:39
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+f2577d8071a92e596253@syzkaller.appspotmail.com
First crash: 381d, last: 170d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly mm report (Jan 2024) 0 (1) 2024/01/17 09:21
[syzbot] [mm?] WARNING in __gup_longterm_locked (2) 0 (1) 2023/10/31 21:28
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __gup_longterm_locked mm C error 90 495d 497d 23/28 fixed on 2023/10/12 12:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 18294 at mm/gup.c:1647 __get_user_pages+0x508/0x5f0 mm/gup.c:1647
Modules linked in:
CPU: 0 PID: 18294 Comm: syz-executor.0 Tainted: G        W          6.9.0-syzkaller-12333-g54f71b0369c9 #0
Hardware name: linux,dummy-virt (DT)
pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __get_user_pages+0x508/0x5f0 mm/gup.c:1647
lr : __get_user_pages+0x500/0x5f0 mm/gup.c:1645
sp : ffff80008b8672f0
x29: ffff80008b8672f0 x28: 0000000000290101 x27: ffff0000112d8000
x26: 0000000000000000 x25: 0000000000000001 x24: ffff00000e3233e0
x23: 0000000020002000 x22: ffff00000b4f8800 x21: ffff00000e53ed40
x20: 1ffff0001170ce74 x19: 0000000000000003 x18: ffff0000112d8a80
x17: 0000000000000000 x16: 0000000000000006 x15: 1fffe0000225b14f
x14: 0000000000000000 x13: 0000000000000004 x12: ffff7fbff83ec007
x11: 1fffffbff83ec006 x10: ffff7fbff83ec006 x9 : dfff800000000000
x8 : fffffdffc1f60037 x7 : 0000000000000001 x6 : ffff7fbff83ec006
x5 : fffffdffc1f60034 x4 : ffff7fbff83ec007 x3 : fffffdffc1f60080
x2 : fffffdffc1f60034 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __get_user_pages+0x508/0x5f0 mm/gup.c:1647
 __get_user_pages_locked mm/gup.c:1857 [inline]
 __gup_longterm_locked+0x3f4/0x19cc mm/gup.c:2561
 gup_fast_fallback+0xe04/0x16e0 mm/gup.c:3473
 pin_user_pages_fast+0xb0/0xf4 mm/gup.c:3579
 io_pin_pages+0x64/0x12c io_uring/memmap.c:148
 io_sqe_buffer_register+0x108/0xe04 io_uring/rsrc.c:890
 __io_sqe_buffers_update io_uring/rsrc.c:451 [inline]
 __io_register_rsrc_update+0x218/0xf74 io_uring/rsrc.c:487
 io_register_rsrc_update+0x17c/0x1d4 io_uring/rsrc.c:518
 __io_uring_register io_uring/register.c:496 [inline]
 __do_sys_io_uring_register io_uring/register.c:612 [inline]
 __se_sys_io_uring_register io_uring/register.c:573 [inline]
 __arm64_sys_io_uring_register+0xa9c/0x20ec io_uring/register.c:573
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x6c/0x25c arch/arm64/kernel/syscall.c:48
 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x50/0x180 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
irq event stamp: 660
hardirqs last  enabled at (659): [<ffff800080220374>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline]
hardirqs last  enabled at (659): [<ffff800080220374>] finish_lock_switch kernel/sched/core.c:5162 [inline]
hardirqs last  enabled at (659): [<ffff800080220374>] finish_task_switch.isra.0+0x1a8/0x8e8 kernel/sched/core.c:5280
hardirqs last disabled at (660): [<ffff800084f01c58>] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (648): [<ffff80008001c7bc>] fpsimd_restore_current_state+0x44/0xe4 arch/arm64/kernel/fpsimd.c:1805
softirqs last disabled at (646): [<ffff80008001c78c>] alternative_has_cap_likely arch/arm64/include/asm/alternative-macros.h:232 [inline]
softirqs last disabled at (646): [<ffff80008001c78c>] system_supports_fpsimd arch/arm64/include/asm/cpufeature.h:734 [inline]
softirqs last disabled at (646): [<ffff80008001c78c>] fpsimd_restore_current_state+0x14/0xe4 arch/arm64/kernel/fpsimd.c:1798
---[ end trace 0000000000000000 ]---

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/26 04:38 upstream 54f71b0369c9 a10a183e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in __gup_longterm_locked
2024/05/13 08:39 upstream a38297e3fb01 9026e142 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in __gup_longterm_locked
2024/04/27 20:08 upstream 5eb4573ea63d 07b455f9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in __gup_longterm_locked
2024/04/22 17:15 upstream ed30a4a51bb1 36c961ad .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in __gup_longterm_locked
2024/04/13 07:31 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in __gup_longterm_locked
2024/01/19 07:40 upstream b0d326da462e 21772ce4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2024/01/13 23:19 upstream 052d534373b7 551587c1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2024/01/11 10:16 upstream acc657692aed 00f3cc59 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2024/01/08 05:40 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2024/01/04 07:52 upstream ac865f00af29 28c42cff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2024/01/04 07:39 upstream ac865f00af29 28c42cff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/12/23 14:45 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/12/23 14:14 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/12/13 04:48 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/12/06 19:47 upstream bee0e7762ad2 95293603 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/11/18 02:37 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
2023/10/27 21:23 upstream 750b95887e56 d0fab643 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __gup_longterm_locked
* Struck through repros no longer work on HEAD.