syzbot


WARNING in page_vma_mapped_walk

Status: auto-obsoleted due to no activity on 2023/11/18 02:35
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+dcf3f48f4bfe47a2f80a@syzkaller.appspotmail.com
First crash: 384d, last: 373d
Cause bisection: introduced by (bisect log) :
commit 446503572dc452fc544d6898113feb0f3801477b
Author: Rik van Riel <riel@surriel.com>
Date: Sun Oct 1 00:55:50 2023 +0000

  hugetlbfs: replace hugetlb_vma_lock with invalidate_lock

Crash: WARNING in page_vma_mapped_walk (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in page_vma_mapped_walk 0 (3) 2023/10/04 22:00
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/10/23 04:17 27m retest repro linux-next OK log
2023/10/15 18:28 23m mukattreyee@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2023/10/04 10:50 15m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git c9f2baaa18b5 report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5058 at include/linux/hugetlb.h:1289 hugetlb_walk include/linux/hugetlb.h:1289 [inline]
WARNING: CPU: 0 PID: 5058 at include/linux/hugetlb.h:1289 page_vma_mapped_walk+0x1eb6/0x27d0 mm/page_vma_mapped.c:199
Modules linked in:
CPU: 0 PID: 5058 Comm: syz-executor350 Not tainted 6.6.0-rc4-next-20231003-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:hugetlb_walk include/linux/hugetlb.h:1289 [inline]
RIP: 0010:page_vma_mapped_walk+0x1eb6/0x27d0 mm/page_vma_mapped.c:199
Code: 00 be ff ff ff ff 48 81 c7 a0 01 00 00 e8 72 64 77 08 31 ff 89 c5 89 c6 e8 27 ac b9 ff 85 ed 0f 85 95 f6 ff ff e8 aa b0 b9 ff <0f> 0b e9 89 f6 ff ff e8 9e b0 b9 ff 48 89 ef 48 81 e7 00 f0 ff ff
RSP: 0018:ffffc90003a5f6c0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802184b310 RCX: ffffffff81cea839
RDX: ffff88801d870000 RSI: ffffffff81cea846 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000009 R12: 0000000000200000
R13: ffffffff92315af8 R14: ffffc90003a5f8c0 R15: ffffffff92315b90
FS:  00005555564ba380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 0000000078ecd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 try_to_migrate_one+0x4a2/0x28b0 mm/rmap.c:1950
 rmap_walk_anon+0x225/0x570 mm/rmap.c:2522
 rmap_walk mm/rmap.c:2599 [inline]
 rmap_walk mm/rmap.c:2594 [inline]
 try_to_migrate+0x2b6/0x300 mm/rmap.c:2251
 unmap_and_move_huge_page mm/migrate.c:1421 [inline]
 migrate_hugetlbs mm/migrate.c:1547 [inline]
 migrate_pages+0xa42/0x27c0 mm/migrate.c:1901
 migrate_to_node mm/mempolicy.c:1097 [inline]
 do_migrate_pages+0x2e9/0x670 mm/mempolicy.c:1196
 kernel_migrate_pages+0x59b/0x780 mm/mempolicy.c:1681
 __do_sys_migrate_pages mm/mempolicy.c:1700 [inline]
 __se_sys_migrate_pages mm/mempolicy.c:1696 [inline]
 __x64_sys_migrate_pages+0x96/0x100 mm/mempolicy.c:1696
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7a6faa32e9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed8e03b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000100
RAX: ffffffffffffffda RBX: 00007ffed8e03d18 RCX: 00007f7a6faa32e9
RDX: 0000000020000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: 00007f7a6fb16610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffed8e03d08 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/04 04:37 linux-next c9f2baaa18b5 65faba36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/09 02:34 linux-next 7d730f1bf6f3 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/08 17:30 linux-next 7d730f1bf6f3 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/04 04:46 linux-next c9f2baaa18b5 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/04 04:41 linux-next c9f2baaa18b5 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/04 04:23 linux-next c9f2baaa18b5 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/04 03:54 linux-next c9f2baaa18b5 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/02 07:44 linux-next df964ce9ef9f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/10/01 18:17 linux-next df964ce9ef9f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/30 03:02 linux-next df964ce9ef9f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/30 02:59 linux-next df964ce9ef9f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/29 02:27 linux-next 719136e5c247 c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/29 01:05 linux-next 719136e5c247 c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/28 02:13 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/28 02:11 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/28 02:07 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/28 02:03 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/28 01:42 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/27 10:29 linux-next 18030226a48d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/27 09:57 linux-next 18030226a48d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/27 09:37 linux-next 18030226a48d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/27 05:30 linux-next 18030226a48d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
2023/09/27 05:13 linux-next 18030226a48d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in page_vma_mapped_walk
* Struck through repros no longer work on HEAD.