syzbot


WARNING in __split_huge_page_tail

Status: fixed on 2023/02/24 13:50
Subsystems: arch mm io-uring
[Documentation on labels]
Reported-by: syzbot+273b547b15eb58ea35e8@syzkaller.appspotmail.com
Fix commit: 5aae9265ee1a mm: prep_compound_tail() clear page->private
First crash: 631d, last: 555d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in __split_huge_page_tail 5 (6) 2022/11/13 16:44

Sample crash report:
 tlb_finish_mmu+0xcb/0x200 mm/mmu_gather.c:363
 exit_mmap+0x2b1/0x670 mm/mmap.c:3098
 __mmput+0x114/0x3b0 kernel/fork.c:1185
 exit_mm+0x217/0x2f0 kernel/exit.c:516
 do_exit+0x5e7/0x2070 kernel/exit.c:807
 do_group_exit+0x1fd/0x2b0 kernel/exit.c:950
 __do_sys_exit_group kernel/exit.c:961 [inline]
 __se_sys_exit_group kernel/exit.c:959 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:959
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3908 at mm/huge_memory.c:2465 __split_huge_page_tail+0x81c/0x1080 mm/huge_memory.c:2465
Modules linked in:
CPU: 0 PID: 3908 Comm: syz-executor315 Not tainted 6.1.0-rc1-syzkaller-00249-g4da34b7d175d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:__split_huge_page_tail+0x81c/0x1080 mm/huge_memory.c:2465
Code: ff ff e8 57 a7 a6 ff 48 ff cb e9 1a fd ff ff e8 4a a7 a6 ff 4c 89 ef 48 c7 c6 80 5d bb 8a e8 6b f0 e3 ff c6 05 2f 20 30 0c 01 <0f> 0b e9 cb fb ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 29 f8 ff
RSP: 0018:ffffc900044b6ba8 EFLAGS: 00010046
RAX: beb4e3f6a4108300 RBX: 1ffffd400031ed85 RCX: ffffffff8169255b
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e277d28
RBP: ffffea00018f0008 R08: dffffc0000000000 R09: fffffbfff1c4efa6
R10: fffffbfff1c4efa6 R11: 1ffffffff1c4efa5 R12: ffffea00018f6c00
R13: ffffea00018f0000 R14: 1ffffd400031e001 R15: ffffea00018f6c28
FS:  00005555567b0300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001304 CR3: 000000001d5c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __split_huge_page+0x403/0x1df0 mm/huge_memory.c:2527
 split_huge_page_to_list+0x101d/0x1c90 mm/huge_memory.c:2756
 split_huge_page include/linux/huge_mm.h:188 [inline]
 deferred_split_scan+0x683/0x8b0 mm/huge_memory.c:2882
 do_shrink_slab+0x4e1/0xa00 mm/vmscan.c:842
 shrink_slab_memcg+0x2ec/0x630 mm/vmscan.c:911
 shrink_slab+0xbe/0x340 mm/vmscan.c:990
 shrink_node_memcgs+0x3c3/0x770 mm/vmscan.c:6076
 shrink_node+0x299/0x1050 mm/vmscan.c:6105
 shrink_zones+0x4fb/0xc40 mm/vmscan.c:6343
 do_try_to_free_pages+0x215/0xcd0 mm/vmscan.c:6405
 try_to_free_mem_cgroup_pages+0x3cb/0x6d0 mm/vmscan.c:6720
 try_charge_memcg+0x6a1/0x11f0 mm/memcontrol.c:2681
 try_charge mm/memcontrol.c:2823 [inline]
 mem_cgroup_charge_skmem+0xa7/0x370 mm/memcontrol.c:7209
 sock_reserve_memory+0x105/0x640 net/core/sock.c:1018
 sk_setsockopt+0x16bf/0x32c0 net/core/sock.c:1518
 __sys_setsockopt+0x6ba/0xa00 net/socket.c:2248
 __do_sys_setsockopt net/socket.c:2263 [inline]
 __se_sys_setsockopt net/socket.c:2260 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2260
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff3a2ea8ee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd09efcd08 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff3a2ea8ee9
RDX: 0000000000000049 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000010 R09: 00007ffd09efcd30
R10: 0000000020000040 R11: 0000000000000246 R12: 00007ffd09efcd2c
R13: 00007ffd09efcd40 R14: 00007ffd09efcd80 R15: 0000000000000130
 </TASK>

Crashes (155):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/22 15:29 upstream 4da34b7d175d c0b80a55 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/03 11:20 upstream b229b6ca5abb 7a2ebf95 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/03 09:06 upstream b229b6ca5abb 7a2ebf95 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/03 05:26 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/03 02:41 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 21:01 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 18:38 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 17:39 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 13:59 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 11:40 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 09:12 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 07:29 upstream b229b6ca5abb edac4fd1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/02 05:11 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/02 01:46 upstream b229b6ca5abb edac4fd1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/01 23:22 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/01 22:13 upstream b229b6ca5abb edac4fd1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/01 16:24 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/01 12:17 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/11/01 07:23 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/01 05:54 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/11/01 04:33 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/31 23:16 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/31 21:38 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/31 06:18 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/30 22:06 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/30 16:11 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/30 09:53 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/30 04:31 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/30 03:29 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/29 21:34 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/29 20:42 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/29 14:27 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/29 11:05 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/29 09:44 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/29 08:42 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/29 06:55 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/28 17:23 upstream b229b6ca5abb ea12ae9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/28 15:25 upstream b229b6ca5abb ea12ae9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/28 14:24 upstream b229b6ca5abb ea12ae9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/28 08:07 upstream b229b6ca5abb 5c716ff6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/28 01:22 upstream b229b6ca5abb 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/28 00:10 upstream b229b6ca5abb 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 22:50 upstream b229b6ca5abb 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 21:49 upstream b229b6ca5abb 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 19:16 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 14:04 upstream b229b6ca5abb 5c716ff6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __split_huge_page_tail
2022/10/27 04:11 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 03:05 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/27 02:04 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2022/10/22 06:53 upstream 4da34b7d175d c0b80a55 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in __split_huge_page_tail
2023/01/06 12:15 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 __split_huge_page_tail
2023/01/06 06:47 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 __split_huge_page_tail
2023/01/05 16:54 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 __split_huge_page_tail
2023/01/05 15:40 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 __split_huge_page_tail
* Struck through repros no longer work on HEAD.