hugetlb_acct_memory.part.0+0x74/0xd0 mm/hugetlb.c:4556 hugetlb_acct_memory mm/hugetlb.c:4528 [inline] hugetlb_reserve_pages+0x4d8/0xde0 mm/hugetlb.c:6520 hugetlbfs_file_mmap+0x40c/0x5c0 fs/hugetlbfs/inode.c:169 call_mmap include/linux/fs.h:2193 [inline] mmap_region+0x6bf/0x1bf0 mm/mmap.c:2685 do_mmap+0x825/0xf60 mm/mmap.c:1483 vm_mmap_pgoff+0x1b7/0x290 mm/util.c:520 ksys_mmap_pgoff+0x1c7/0x5a0 mm/mmap.c:1529 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+0x46/0xb0 page_owner free stack trace missing ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1538! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 31970 Comm: syz-executor.4 Not tainted 5.19.0-rc3-next-20220624-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc9001580fab8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005bfa000 RDX: 0000000000040000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea0002a90000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff888020e8c600 R14: 0000000000000001 R15: ffff888034646ca8 FS: 00007f9f6fdc1700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc2fb6ac18 CR3: 0000000025b14000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_no_page mm/hugetlb.c:5664 [inline] hugetlb_fault+0x18d5/0x20a0 mm/hugetlb.c:5765 handle_mm_fault+0x661/0x790 mm/memory.c:5164 do_user_addr_fault+0x489/0x1250 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1488 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__get_user_4+0x1c/0x30 arch/x86/lib/getuser.S:85 Code: 01 ca c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 ba fd ef ff ff ff 7f 00 00 48 39 d0 0f 83 90 00 00 00 48 19 d2 48 21 d0 0f 01 cb <8b> 10 31 c0 0f 01 ca c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 ba RSP: 0018:ffffc9001580fdf0 EFLAGS: 00050206 RAX: 00000000200002c0 RBX: 0000000000000065 RCX: ffffc90005bfa000 RDX: ffffffffffffffff RSI: ffffffff8851505b RDI: 0000000000000000 RBP: 00000000200002c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000300 R13: 0000000000000000 R14: ffff88807d069000 R15: 0000000000000000 raw_getsockopt+0x73/0x410 net/can/raw.c:698 __sys_getsockopt+0x21f/0x6a0 net/socket.c:2300 __do_sys_getsockopt net/socket.c:2315 [inline] __se_sys_getsockopt net/socket.c:2312 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2312 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+0x46/0xb0 RIP: 0033:0x7f9f6ec89109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007f9f6fdc1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f9f6ed9bf60 RCX: 00007f9f6ec89109 RDX: 0000000000000300 RSI: 0000000000000065 RDI: 0000000000000003 RBP: 00007f9f6ece305d R08: 00000000200002c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe7ae0b1af R14: 00007f9f6fdc1300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc9001580fab8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005bfa000 RDX: 0000000000040000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea0002a90000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff888020e8c600 R14: 0000000000000001 R15: ffff888034646ca8 FS: 00007f9f6fdc1700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f64fc56ac18 CR3: 0000000025b14000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 01 ca add %ecx,%edx 2: c3 retq 3: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) a: 00 00 00 00 e: 48 ba fd ef ff ff ff movabs $0x7fffffffeffd,%rdx 15: 7f 00 00 18: 48 39 d0 cmp %rdx,%rax 1b: 0f 83 90 00 00 00 jae 0xb1 21: 48 19 d2 sbb %rdx,%rdx 24: 48 21 d0 and %rdx,%rax 27: 0f 01 cb stac * 2a: 8b 10 mov (%rax),%edx <-- trapping instruction 2c: 31 c0 xor %eax,%eax 2e: 0f 01 ca clac 31: c3 retq 32: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 39: 00 00 00 00 3d: 90 nop 3e: 48 rex.W 3f: ba .byte 0xba