------------[ cut here ]------------ WARNING: CPU: 1 PID: 6049 at drivers/iommu/iommufd/io_pagetable.c:268 iopt_alloc_area_pages drivers/iommu/iommufd/io_pagetable.c:268 [inline] WARNING: CPU: 1 PID: 6049 at drivers/iommu/iommufd/io_pagetable.c:268 iopt_map_pages+0xf95/0x1050 drivers/iommu/iommufd/io_pagetable.c:352 Modules linked in: CPU: 1 UID: 0 PID: 6049 Comm: syz-executor Not tainted 6.11.0-rc5-syzkaller-gd5d547aa7b51 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:iopt_alloc_area_pages drivers/iommu/iommufd/io_pagetable.c:268 [inline] RIP: 0010:iopt_map_pages+0xf95/0x1050 drivers/iommu/iommufd/io_pagetable.c:352 Code: fc e9 a4 f3 ff ff e8 da 74 45 fc 41 be e4 ff ff ff e9 8a f3 ff ff e8 ca 74 45 fc 90 0f 0b 90 e9 37 f5 ff ff e8 bc 74 45 fc 90 <0f> 0b 90 e9 68 f3 ff ff 48 c7 c1 0c 29 18 90 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900042c79e0 EFLAGS: 00010293 RAX: ffffffff854e1774 RBX: 00000000ffffffef RCX: ffff88802abf1e00 RDX: 0000000000000000 RSI: 00000000ffffffef RDI: 0000000000000000 RBP: ffffc900042c7c50 R08: ffffffff854e1300 R09: ffffffff854e1112 R10: 0000000000000002 R11: ffff88802abf1e00 R12: ffff88806e954810 R13: 0000000000000000 R14: 1ffff92000858f68 R15: ffffc900042c7d00 FS: 00007f08c935a6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08c87b00c0 CR3: 000000007db26000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iommufd_ioas_copy+0x613/0x7b0 drivers/iommu/iommufd/ioas.c:274 iommufd_fops_ioctl+0x4d9/0x5a0 drivers/iommu/iommufd/main.c:424 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f08c867cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08c935a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f08c87b3f80 RCX: 00007f08c867cee9 RDX: 0000000020000140 RSI: 0000000000003b83 RDI: 0000000000000003 RBP: 00007f08c86da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f08c87b3f80 R15: 00007ffd99da9748