524155 pages RAM 0 pages HighMem/MovableOnly 210075 pages reserved 0 pages cma reserved ------------[ cut here ]------------ ret WARNING: drivers/dma-buf/dma-buf.c:1653 at dma_buf_vmap+0x3c5/0x430 drivers/dma-buf/dma-buf.c:1653, CPU#0: syz.1.3651/20321 Modules linked in: CPU: 0 UID: 0 PID: 20321 Comm: syz.1.3651 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:dma_buf_vmap+0x3c5/0x430 drivers/dma-buf/dma-buf.c:1653 Code: fc e9 22 fd ff ff 48 8b 3c 24 e8 a6 36 1f fc e9 30 ff ff ff e8 5c 49 b2 fb 90 0f 0b e8 54 49 b2 fb 90 0f 0b e8 4c 49 b2 fb 90 <0f> 0b 90 e9 3f fe ff ff e8 5e 18 31 05 4c 89 ff e8 b6 35 1f fc e9 RSP: 0000:ffffc90003e57378 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888026e78400 RCX: ffffffff8655b1b1 RDX: ffff88802a0dca80 RSI: ffffffff8655b2f4 RDI: ffff88802a0dca80 RBP: ffffc90003e57418 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000000 R12: ffff888026e788d0 R13: 1ffff920007cae72 R14: 00000000fffffff4 R15: ffff888026e78430 FS: 0000000000000000(0000) GS:ffff88809718a000(0063) knlGS:00000000f544db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7217810 CR3: 00000000669fb000 CR4: 0000000000352ef0 Call Trace: drm_gem_shmem_vmap_locked+0x113/0x860 drivers/gpu/drm/drm_gem_shmem_helper.c:378 drm_gem_vmap_locked+0xc8/0x1c0 drivers/gpu/drm/drm_gem.c:1427 drm_gem_vmap+0x4a/0xa0 drivers/gpu/drm/drm_gem.c:1469 drm_gem_fb_vmap+0xc7/0x450 drivers/gpu/drm/drm_gem_framebuffer_helper.c:369 vkms_prepare_fb+0x87/0xb0 drivers/gpu/drm/vkms/vkms_plane.c:197 drm_atomic_helper_prepare_planes drivers/gpu/drm/drm_atomic_helper.c:2838 [inline] drm_atomic_helper_prepare_planes+0x1f2/0xbe0 drivers/gpu/drm/drm_atomic_helper.c:2814 drm_atomic_helper_commit+0x191/0x380 drivers/gpu/drm/drm_atomic_helper.c:2268 drm_atomic_commit+0x230/0x300 drivers/gpu/drm/drm_atomic.c:1789 drm_atomic_helper_update_plane+0x314/0x400 drivers/gpu/drm/drm_atomic_helper.c:3438 __setplane_atomic+0x22d/0x350 drivers/gpu/drm/drm_plane.c:1101 drm_mode_cursor_universal+0x5e9/0xe20 drivers/gpu/drm/drm_plane.c:1256 drm_mode_cursor_common+0x308/0x970 drivers/gpu/drm/drm_plane.c:1315 drm_mode_cursor_ioctl+0xd4/0x110 drivers/gpu/drm/drm_plane.c:1365 drm_ioctl_kernel+0x1f3/0x3e0 drivers/gpu/drm/drm_ioctl.c:804 drm_ioctl+0x5e6/0xc60 drivers/gpu/drm/drm_ioctl.c:901 drm_compat_ioctl+0x386/0x4c0 drivers/gpu/drm/drm_ioc32.c:381 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x2cf/0x360 fs/ioctl.c:638 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf705ef7c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f544d50c EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000c01c64a3 RDX: 0000000080000280 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 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: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8