bisecting fixing commit since 14cfdbd39e316efd91ae6e403ef8211f0b022603 building syzkaller on 84f999d6319b21d9567132bf7ed26507f6d24310 testing commit 14cfdbd39e316efd91ae6e403ef8211f0b022603 with gcc (GCC) 8.1.0 kernel signature: dd5617dfe10dd77cefd2e8c7c5ac2b90075d59fe3700806ce8ed8bbb83b778df all runs: crashed: kernel BUG at mm/hugetlb.c:LINE! testing current HEAD 1bab61d3e8cd96f2badf515dcb06e4e1029bc017 testing commit 1bab61d3e8cd96f2badf515dcb06e4e1029bc017 with gcc (GCC) 8.1.0 kernel signature: 83e831042d929563b12f873d8cf7e18989a7529dc1bb2d41266fe02bb037b922 all runs: crashed: kernel BUG at mm/hugetlb.c:LINE! revisions tested: 2, total time: 26m28.026196005s (build: 17m46.597351744s, test: 8m8.139100281s) the crash still happens on HEAD commit msg: Linux 4.19.124 crash: kernel BUG at mm/hugetlb.c:LINE! overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: failed to resolve './bus': -2 ------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:3371! overlayfs: upper fs does not support tmpfile. invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7909 Comm: syz-executor.2 Not tainted 4.19.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371 Code: 75 7f 48 83 3d bc c0 9b 06 00 74 22 4c 89 ff 48 89 da e8 f7 c2 9b ff 66 90 4c 89 e7 e8 2d a2 46 05 e9 82 fb ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 0f 0b 48 89 cf e8 06 e3 02 00 e9 d5 fb ff ff 48 89 df overlayfs: upper fs does not support tmpfile. RSP: 0018:ffff888090bcf708 EFLAGS: 00010206 RAX: 00000000001fffff RBX: 0000000020000000 RCX: 0000000000000009 RDX: 1ffffffff1432b60 RSI: ffff88808befed68 RDI: ffffffff8a195b00 RBP: ffff888090bcf870 R08: 0000000000000000 R09: fffffbfff14280e0 R10: fffffbfff14280e0 R11: 0000000000000001 R12: ffff8880a8f19e40 R13: ffff888090bcf848 R14: ffffffff8a195af0 R15: ffff8880a9248b00 FS: 00007f34080b2700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563d8245ed28 CR3: 00000000a02bb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unmap_hugepage_range_final+0xd/0x40 mm/hugetlb.c:3460 unmap_single_vma+0x1c1/0x300 mm/memory.c:1552 unmap_vmas+0xe7/0x1a0 mm/memory.c:1586 overlayfs: upper fs does not support tmpfile. exit_mmap+0x251/0x450 mm/mmap.c:3091 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. __mmput kernel/fork.c:1015 [inline] mmput+0x107/0x3f0 kernel/fork.c:1036 exit_mm kernel/exit.c:546 [inline] do_exit+0x9c5/0x2dc0 kernel/exit.c:867 do_group_exit+0xf4/0x2f0 kernel/exit.c:983 get_signal+0x313/0x1a00 kernel/signal.c:2588 do_signal+0x87/0x1960 arch/x86/kernel/signal.c:821 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. exit_to_usermode_loop+0x114/0x200 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 overlayfs: failed to resolve './bus': -2 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f34080b1cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 000000000076bf08 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000076bf08 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000076bf0c R13: 00007ffed79fd38f R14: 00007f34080b29c0 R15: 000000000076bf0c Modules linked in: overlayfs: failed to resolve './bus': -2 ------------[ cut here ]------------ ---[ end trace 3fc9c0496a547854 ]--- kernel BUG at mm/hugetlb.c:3371! invalid opcode: 0000 [#2] PREEMPT SMP KASAN overlayfs: upper fs does not support tmpfile. CPU: 1 PID: 7940 Comm: syz-executor.4 Tainted: G D 4.19.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. Code: 75 7f 48 83 3d bc c0 9b 06 00 74 22 4c 89 ff 48 89 da e8 f7 c2 9b ff 66 90 4c 89 e7 e8 2d a2 46 05 e9 82 fb ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 0f 0b 48 89 cf e8 06 e3 02 00 e9 d5 fb ff ff 48 89 df RSP: 0018:ffff888081c4f708 EFLAGS: 00010206 RAX: 00000000001fffff RBX: 0000000020000000 RCX: 0000000000000009 RDX: 1ffffffff1432b60 RSI: ffff8880a90f1210 RDI: ffffffff8a195b00 RBP: ffff888081c4f870 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed10114ebc84 R11: 0000000000000000 R12: ffff88808c8c8180 R13: ffff888081c4f848 R14: ffffffff8a195af0 R15: ffff8880a857c5c0 FS: 00007f0a0c603700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055709a423b30 CR3: 00000000a02bb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ------------[ cut here ]------------ __unmap_hugepage_range_final+0xd/0x40 mm/hugetlb.c:3460 kernel BUG at mm/hugetlb.c:3371! unmap_single_vma+0x1c1/0x300 mm/memory.c:1552 unmap_vmas+0xe7/0x1a0 mm/memory.c:1586 exit_mmap+0x251/0x450 mm/mmap.c:3091 __mmput kernel/fork.c:1015 [inline] mmput+0x107/0x3f0 kernel/fork.c:1036 exit_mm kernel/exit.c:546 [inline] do_exit+0x9c5/0x2dc0 kernel/exit.c:867 do_group_exit+0xf4/0x2f0 kernel/exit.c:983 get_signal+0x313/0x1a00 kernel/signal.c:2588 do_signal+0x87/0x1960 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x114/0x200 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0a0c602cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000076bfa8 RCX: 000000000045c849 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000076bfac RBP: 000000000076bfa0 R08: 000000000000000e R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000076bfac R13: 00007ffc6390cf3f R14: 00007f0a0c6039c0 R15: 000000000076bfac Modules linked in: invalid opcode: 0000 [#3] PREEMPT SMP KASAN CPU: 0 PID: 7950 Comm: syz-executor.0 Tainted: G D 4.19.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ---[ end trace 3fc9c0496a547855 ]--- RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371 Code: 75 7f 48 83 3d bc c0 9b 06 00 74 22 4c 89 ff 48 89 da e8 f7 c2 9b ff 66 90 4c 89 e7 e8 2d a2 46 05 e9 82 fb ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 0f 0b 48 89 cf e8 06 e3 02 00 e9 d5 fb ff ff 48 89 df RSP: 0018:ffff888089eaf708 EFLAGS: 00010206 RAX: 00000000001fffff RBX: 0000000020000000 RCX: 0000000000000009 RDX: 1ffffffff1432b60 RSI: ffff88808a1c4e70 RDI: ffffffff8a195b00 RBP: ffff888089eaf870 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed10114f4dd9 R11: 0000000000000000 R12: ffff8880a85239c0 R13: ffff888089eaf848 R14: ffffffff8a195af0 R15: ffff8880a7ab33c0 FS: 00007fbc744ac700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055709a4dd269 CR3: 0000000091436000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Code: 75 7f 48 83 3d bc c0 9b 06 00 74 22 4c 89 ff 48 89 da e8 f7 c2 9b ff 66 90 4c 89 e7 e8 2d a2 46 05 e9 82 fb ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 0f 0b 48 89 cf e8 06 e3 02 00 e9 d5 fb ff ff 48 89 df __unmap_hugepage_range_final+0xd/0x40 mm/hugetlb.c:3460 unmap_single_vma+0x1c1/0x300 mm/memory.c:1552 RSP: 0018:ffff888090bcf708 EFLAGS: 00010206 unmap_vmas+0xe7/0x1a0 mm/memory.c:1586 exit_mmap+0x251/0x450 mm/mmap.c:3091 RAX: 00000000001fffff RBX: 0000000020000000 RCX: 0000000000000009 __mmput kernel/fork.c:1015 [inline] mmput+0x107/0x3f0 kernel/fork.c:1036 exit_mm kernel/exit.c:546 [inline] do_exit+0x9c5/0x2dc0 kernel/exit.c:867 RDX: 1ffffffff1432b60 RSI: ffff88808befed68 RDI: ffffffff8a195b00 RBP: ffff888090bcf870 R08: 0000000000000000 R09: fffffbfff14280e0 do_group_exit+0xf4/0x2f0 kernel/exit.c:983 get_signal+0x313/0x1a00 kernel/signal.c:2588 do_signal+0x87/0x1960 arch/x86/kernel/signal.c:821 R10: fffffbfff14280e0 R11: 0000000000000001 R12: ffff8880a8f19e40 R13: ffff888090bcf848 R14: ffffffff8a195af0 R15: ffff8880a9248b00 FS: 00007f0a0c603700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 exit_to_usermode_loop+0x114/0x200 arch/x86/entry/common.c:163 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: Bad RIP value. CR2: 00007ffde39c5c70 CR3: 00000000a02bb000 CR4: 00000000001406e0 RSP: 002b:00007fbc744abcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000076bfa8 RCX: 000000000045c849 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000076bfac RBP: 000000000076bfa0 R08: 000000000000000e R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000076bfac R13: 00007fff862aa75f R14: 00007fbc744ac9c0 R15: 000000000076bfac Modules linked in: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 overlayfs: upper fs does not support tmpfile. RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371 overlayfs: upper fs does not support tmpfile. Code: 75 7f 48 83 3d bc c0 9b 06 00 74 22 4c 89 ff 48 89 da e8 f7 c2 9b ff 66 90 4c 89 e7 e8 2d a2 46 05 e9 82 fb ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 0f 0b 48 89 cf e8 06 e3 02 00 e9 d5 fb ff ff 48 89 df overlayfs: upper fs does not support tmpfile. RSP: 0018:ffff888090bcf708 EFLAGS: 00010206 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. RAX: 00000000001fffff RBX: 0000000020000000 RCX: 0000000000000009 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. RDX: 1ffffffff1432b60 RSI: ffff88808befed68 RDI: ffffffff8a195b00 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. RBP: ffff888090bcf870 R08: 0000000000000000 R09: fffffbfff14280e0 overlayfs: failed to resolve './bus': -2 R10: fffffbfff14280e0 R11: 0000000000000001 R12: ffff8880a8f19e40 overlayfs: failed to resolve './bus': -2 R13: ffff888090bcf848 R14: ffffffff8a195af0 R15: ffff8880a9248b00 overlayfs: failed to resolve './bus': -2 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---[ end trace 3fc9c0496a547856 ]--- FS: 00007f34080b2700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 RIP: 0010:__unmap_hugepage_range+0x7cc/0x980 mm/hugetlb.c:3371