syzbot


WARNING in try_to_migrate_one (2)

Status: upstream: reported C repro on 2024/03/09 11:25
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+ddf4b4c0005944105a9e@syzkaller.appspotmail.com
First crash: 39d, last: 3d03h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in try_to_migrate_one (2) 1 (3) 2024/04/11 19:55
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in try_to_migrate_one mm 1 259d 255d 0/26 auto-obsoleted due to no activity on 2023/11/06 07:16

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5134 at arch/x86/include/asm/pgtable.h:404 pte_uffd_wp arch/x86/include/asm/pgtable.h:404 [inline]
WARNING: CPU: 0 PID: 5134 at arch/x86/include/asm/pgtable.h:404 try_to_migrate_one+0x18e9/0x3ae0 mm/rmap.c:2256
Modules linked in:
CPU: 0 PID: 5134 Comm: syz-executor306 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:pte_uffd_wp arch/x86/include/asm/pgtable.h:404 [inline]
RIP: 0010:try_to_migrate_one+0x18e9/0x3ae0 mm/rmap.c:2256
Code: ac ff 41 83 e7 42 bf 40 00 00 00 4c 89 fe e8 9e 74 ac ff 49 83 ff 40 0f 84 91 08 00 00 e8 af 6f ac ff eb 09 e8 a8 6f ac ff 90 <0f> 0b 90 49 83 cd 04 48 8b 3c 24 e8 b7 89 ff ff 89 c3 48 b8 00 00
RSP: 0018:ffffc9000458f1e0 EFLAGS: 00010293
RAX: ffffffff81e885a8 RBX: d000000000000000 RCX: ffff8880177a3c00
RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000000
RBP: ffffc9000458f550 R08: ffffffff81e88560 R09: 1ffffd40003c10d8
R10: dffffc0000000000 R11: fffff940003c10d9 R12: 0000000000000001
R13: d7ffe7fff0fbc802 R14: 0000000000000002 R15: 000000007821bc67
FS:  00007f2b2a0666c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2b2a06b9f0 CR3: 0000000023ffe000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rmap_walk_anon+0x36f/0x680 mm/rmap.c:2599
 try_to_migrate+0x3de/0x4b0
 migrate_folio_unmap mm/migrate.c:1244 [inline]
 migrate_pages_batch+0x10b4/0x3570 mm/migrate.c:1675
 migrate_pages_sync mm/migrate.c:1841 [inline]
 migrate_pages+0x1eaf/0x3320 mm/migrate.c:1950
 do_mbind mm/mempolicy.c:1344 [inline]
 kernel_mbind mm/mempolicy.c:1486 [inline]
 __do_sys_mbind mm/mempolicy.c:1560 [inline]
 __se_sys_mbind+0x11f5/0x1a70 mm/mempolicy.c:1556
 do_syscall_64+0xfb/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f2b2a0af089
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2b2a066228 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 00007f2b2a138408 RCX: 00007f2b2a0af089
RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffd000
RBP: 00007f2b2a138400 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b2a1054f4
R13: 0000000000000011 R14: 00007ffca01beb70 R15: 00007ffca01bec58
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/11 02:03 upstream 480e035fc4c7 56086b24 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in try_to_migrate_one
2024/03/13 03:47 upstream 9187210eee7d c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in try_to_migrate_one
2024/03/11 07:46 upstream e8f897f4afef 6ee49f2e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in try_to_migrate_one
2024/03/08 13:25 upstream 3aaa8ce7a335 8e75c913 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in try_to_migrate_one
2024/03/05 11:21 upstream 90d35da658da 9ed46f64 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in try_to_migrate_one
* Struck through repros no longer work on HEAD.