input: Bluetooth HID Boot Protocol Device as /devices/virtual/bluetooth/hci4/hci4:200/input14 ------------[ cut here ]------------ kernel BUG at mm/hugetlb.c:2403! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 UID: 0 PID: 8682 Comm: syz.5.541 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:alloc_hugetlb_folio_reserve+0xac/0xc0 mm/hugetlb.c:2403 Code: a3 d0 00 00 00 e8 a4 d9 a2 ff 48 c7 c7 40 56 a1 8d e8 78 50 26 09 48 89 e8 5b 5d 41 5c 41 5d c3 cc cc cc cc e8 85 d9 a2 ff 90 <0f> 0b e8 7d 49 05 00 eb ac 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000f6578f0 EFLAGS: 00010083 RAX: 0000000000000846 RBX: ffffffff9a3cf778 RCX: ffffc900275b1000 RDX: 0000000000080000 RSI: ffffffff81f6763b RDI: 0000000000000007 RBP: ffffea00004c0000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000a201e R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:00000000f5080b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000033804ffc CR3: 000000001ebac000 CR4: 0000000000352ef0 Call Trace: memfd_alloc_folio+0x16c/0x3b0 mm/memfd.c:88 memfd_pin_folios+0xe41/0x1130 mm/gup.c:3750 udmabuf_pin_folios drivers/dma-buf/udmabuf.c:346 [inline] udmabuf_create+0x641/0x11e0 drivers/dma-buf/udmabuf.c:443 udmabuf_ioctl_create drivers/dma-buf/udmabuf.c:495 [inline] udmabuf_ioctl+0x193/0x310 drivers/dma-buf/udmabuf.c:526 __do_compat_sys_ioctl+0x1cb/0x2c0 fs/ioctl.c:1004 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf708e579 Code: b8 01 10 06 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 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f508055c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000040187542 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:alloc_hugetlb_folio_reserve+0xac/0xc0 mm/hugetlb.c:2403 Code: a3 d0 00 00 00 e8 a4 d9 a2 ff 48 c7 c7 40 56 a1 8d e8 78 50 26 09 48 89 e8 5b 5d 41 5c 41 5d c3 cc cc cc cc e8 85 d9 a2 ff 90 <0f> 0b e8 7d 49 05 00 eb ac 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000f6578f0 EFLAGS: 00010083 RAX: 0000000000000846 RBX: ffffffff9a3cf778 RCX: ffffc900275b1000 RDX: 0000000000080000 RSI: ffffffff81f6763b RDI: 0000000000000007 RBP: ffffea00004c0000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000a201e R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:00000000f5080b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000033804ffc CR3: 000000001ebac000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi