syzbot


WARNING in alloc_charge_hpage

Status: fixed on 2023/02/24 14:17
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+0044b22d177870ee974f@syzkaller.appspotmail.com
Fix commit: e031ff96b334 mm: khugepaged: allow page allocation fallback to eligible nodes dec1d352de5c mm: replace VM_WARN_ON to pr_warn if the node is offline with __GFP_THISNODE
First crash: 582d, last: 508d
Cause bisection: failed (error log, bisect log)
  
Discussions (4)
Title Replies (including bot) Last reply
[mm-unstable v3 PATCH 1/3] Revert "mm: don't warn if the node is offlined" 8 (8) 2022/11/23 19:30
[v2 PATCH 1/2] mm: khugepaged: allow page allocation fallback to eligible nodes 16 (16) 2022/11/08 00:58
[PATCH] mm: don't warn if the node is offlined 25 (25) 2022/11/03 17:13
[syzbot] WARNING in alloc_charge_hpage 4 (5) 2022/10/31 21:13
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/10/28 09:49 11m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a70385240892 report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3646 at include/linux/gfp.h:221 __alloc_pages_node include/linux/gfp.h:221 [inline]
WARNING: CPU: 1 PID: 3646 at include/linux/gfp.h:221 hpage_collapse_alloc_page mm/khugepaged.c:807 [inline]
WARNING: CPU: 1 PID: 3646 at include/linux/gfp.h:221 alloc_charge_hpage+0x802/0xaa0 mm/khugepaged.c:963
Modules linked in:
CPU: 1 PID: 3646 Comm: syz-executor210 Not tainted 6.1.0-rc1-syzkaller-00454-ga70385240892 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:__alloc_pages_node include/linux/gfp.h:221 [inline]
RIP: 0010:hpage_collapse_alloc_page mm/khugepaged.c:807 [inline]
RIP: 0010:alloc_charge_hpage+0x802/0xaa0 mm/khugepaged.c:963
Code: e5 01 4c 89 ee e8 6e f9 ae ff 4d 85 ed 0f 84 28 fc ff ff e8 70 fc ae ff 48 8d 6b ff 4c 8d 63 07 e9 16 fc ff ff e8 5e fc ae ff <0f> 0b e9 96 fa ff ff 41 bc 1a 00 00 00 e9 86 fd ff ff e8 47 fc ae
RSP: 0018:ffffc90003fdf7d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888077f457c0 RSI: ffffffff81cd8f42 RDI: 0000000000000001
RBP: ffff888079388c0c R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f6b48ccf700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6b48a819f0 CR3: 00000000171e7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 collapse_file+0x1ca/0x5780 mm/khugepaged.c:1715
 hpage_collapse_scan_file+0xd6c/0x17a0 mm/khugepaged.c:2156
 madvise_collapse+0x53a/0xb40 mm/khugepaged.c:2611
 madvise_vma_behavior+0xd0a/0x1cc0 mm/madvise.c:1066
 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1240
 do_madvise.part.0+0x24a/0x340 mm/madvise.c:1419
 do_madvise mm/madvise.c:1432 [inline]
 __do_sys_madvise mm/madvise.c:1432 [inline]
 __se_sys_madvise mm/madvise.c:1430 [inline]
 __x64_sys_madvise+0x113/0x150 mm/madvise.c:1430
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6b48a4eef9
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:00007f6b48ccf318 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007f6b48af0048 RCX: 00007f6b48a4eef9
RDX: 0000000000000019 RSI: 0000000000600003 RDI: 0000000020000000
RBP: 00007f6b48af0040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b48aa53a4
R13: 00007f6b48bffcbf R14: 00007f6b48ccf400 R15: 0000000000022000
 </TASK>

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/24 09:08 upstream a70385240892 23bf86af .config strace log report syz C ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/11 21:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/25 16:33 upstream 08ad43d554ba 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/22 15:38 upstream eb7081409f94 1c576c23 .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/21 18:34 upstream eb7081409f94 1c576c23 .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/21 13:09 upstream 77c51ba552a1 5bb70014 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in alloc_charge_hpage
2022/11/20 07:25 upstream b6e7fdfd6f6a 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in alloc_charge_hpage
2022/11/18 16:20 upstream 84368d882b96 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/17 03:58 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/16 23:01 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/14 19:56 upstream 094226ad94f4 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/09 17:47 upstream f141df371335 5fa28208 .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/06 23:07 upstream 089d1c31224e 6d752409 .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/06 04:15 upstream b208b9fbbcba 6d752409 .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/03 09:52 upstream b229b6ca5abb 7a2ebf95 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in alloc_charge_hpage
2022/10/31 13:59 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in alloc_charge_hpage
2022/10/31 00:46 upstream 200204f56f3b 2a71366b .config console log report info ci-qemu-upstream WARNING in alloc_charge_hpage
2022/10/24 07:44 upstream a70385240892 23bf86af .config console log report info ci-upstream-kasan-gce WARNING in alloc_charge_hpage
2022/11/08 18:35 upstream 59f2f4b8a757 060f945e .config console log report info ci-qemu-upstream-386 WARNING in alloc_charge_hpage
2022/10/26 22:25 upstream 4dc12f37a8e9 2159e4d2 .config console log report info ci-upstream-kasan-gce-386 WARNING in alloc_charge_hpage
2022/10/27 02:36 linux-next 4d48f589d294 86777b7f .config console log report info [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in alloc_charge_hpage
2023/01/06 17:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/06 13:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/06 08:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/06 01:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/05 17:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/05 16:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/05 15:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2023/01/05 15:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/29 11:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f ca9683b8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/25 23:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/25 21:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/25 04:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 62e26685 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/24 05:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 12c66417 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/21 10:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/21 00:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/20 02:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/19 04:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/19 01:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/18 23:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/18 22:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/18 03:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/16 05:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/15 09:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/14 08:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/14 04:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/14 03:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/14 01:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/13 17:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/13 09:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/12 16:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/12 12:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/12 00:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
2022/11/08 12:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3577a7611842 881db35d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in alloc_charge_hpage
* Struck through repros no longer work on HEAD.