------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:2346! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 16324 Comm: syz.3.3044 Not tainted 6.16.0-rc5-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:alloc_hugetlb_folio_reserve+0xc3/0xd0 mm/hugetlb.c:2346 Code: e8 52 ca a2 ff 48 c7 c7 00 67 e1 8d e8 46 3a 54 09 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d4 86 54 09 cc e8 2e ca a2 ff 90 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90004e276a8 EFLAGS: 00010093 RAX: ffffffff821d5bd2 RBX: ffffffff99b130e8 RCX: ffff88802b701e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000142cc0 R08: ffffea00013f802f R09: 1ffffd400027f005 R10: dffffc0000000000 R11: fffff9400027f006 R12: dffffc0000000000 R13: 1ffffffff336261d R14: ffffea00013f8000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125c1d000(0063) knlGS:00000000f5026b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c26e4f9 CR3: 00000000798c4000 CR4: 00000000003526f0 Call Trace: memfd_alloc_folio+0x20f/0x3f0 mm/memfd.c:89 memfd_pin_folios+0xa65/0xf60 mm/gup.c:3666 udmabuf_pin_folios drivers/dma-buf/udmabuf.c:344 [inline] udmabuf_create+0x7b5/0xf70 drivers/dma-buf/udmabuf.c:441 udmabuf_ioctl_create drivers/dma-buf/udmabuf.c:493 [inline] udmabuf_ioctl+0x1d1/0x2c0 drivers/dma-buf/udmabuf.c:524 __do_compat_sys_ioctl fs/ioctl.c:1005 [inline] __se_compat_sys_ioctl fs/ioctl.c:948 [inline] __ia32_compat_sys_ioctl+0x540/0x840 fs/ioctl.c:948 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb6/0x2b0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x34/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f01539 Code: 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f502655c EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000040187542 RDX: 0000000080000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:alloc_hugetlb_folio_reserve+0xc3/0xd0 mm/hugetlb.c:2346 Code: e8 52 ca a2 ff 48 c7 c7 00 67 e1 8d e8 46 3a 54 09 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d4 86 54 09 cc e8 2e ca a2 ff 90 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90004e276a8 EFLAGS: 00010093 RAX: ffffffff821d5bd2 RBX: ffffffff99b130e8 RCX: ffff88802b701e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000142cc0 R08: ffffea00013f802f R09: 1ffffd400027f005 R10: dffffc0000000000 R11: fffff9400027f006 R12: dffffc0000000000 R13: 1ffffffff336261d R14: ffffea00013f8000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125c1d000(0063) knlGS:00000000f5026b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c26e4f9 CR3: 00000000798c4000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 4: 10 07 adc %al,(%rdi) 6: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi a: 10 08 adc %cl,(%rax) c: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop