./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3658604408 <...> Warning: Permanently added '10.128.10.45' (ED25519) to the list of known hosts. execve("./syz-executor3658604408", ["./syz-executor3658604408"], 0x7ffd5b786400 /* 10 vars */) = 0 brk(NULL) = 0x55558a1a7000 brk(0x55558a1a7d00) = 0x55558a1a7d00 arch_prctl(ARCH_SET_FS, 0x55558a1a7380) = 0 set_tid_address(0x55558a1a7650) = 5829 set_robust_list(0x55558a1a7660, 24) = 0 rseq(0x55558a1a7ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3658604408", 4096) = 28 getrandom("\x87\x1a\x13\x92\x07\xc3\xfc\xe0", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558a1a7d00 brk(0x55558a1c8d00) = 0x55558a1c8d00 brk(0x55558a1c9000) = 0x55558a1c9000 mprotect(0x7fa2fdb0a000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 executing program write(1, "executing program\n", 18) = 18 openat(AT_FDCWD, "/dev/iommu", O_RDONLY) = 3 ioctl(3, _IOC(_IOC_NONE, 0x3b, 0x81, 0), 0x20000340) = 0 ioctl(3, _IOC(_IOC_NONE, 0x3b, 0xa0, 0), 0x20000200) = 0 ioctl(3, _IOC(_IOC_NONE, 0x3b, 0x81, 0), 0x200000c0) = 0 ioctl(3, _IOC(_IOC_NONE, 0x3b, 0x89, 0), 0x200002c0) = 0 [ 60.515667][ T5829] iommufd_mock iommufd_mock0: Adding to iommu group 0 [ 60.540793][ T5829] ------------[ cut here ]------------ [ 60.546336][ T5829] UBSAN: shift-out-of-bounds in drivers/iommu/iommufd/iova_bitmap.c:133:27 [ 60.555038][ T5829] shift exponent 63 is too large for 32-bit type 'int' [ 60.562003][ T5829] CPU: 1 UID: 0 PID: 5829 Comm: syz-executor365 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 [ 60.573115][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 60.583165][ T5829] Call Trace: [ 60.586429][ T5829] [ 60.589343][ T5829] dump_stack_lvl+0x241/0x360 [ 60.594035][ T5829] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.599216][ T5829] ? __pfx__printk+0x10/0x10 [ 60.603794][ T5829] __ubsan_handle_shift_out_of_bounds+0x3c8/0x420 [ 60.610213][ T5829] iova_bitmap_alloc+0x2bd/0x2d0 [ 60.615139][ T5829] iopt_read_and_clear_dirty_data+0x35a/0x6c0 [ 60.621201][ T5829] ? __pfx_iopt_read_and_clear_dirty_data+0x10/0x10 [ 60.627782][ T5829] ? _raw_spin_unlock+0x28/0x50 [ 60.632644][ T5829] ? iommufd_get_object+0x47e/0x670 [ 60.637847][ T5829] ? __pfx_iommufd_get_object+0x10/0x10 [ 60.643397][ T5829] iommufd_hwpt_get_dirty_bitmap+0x17c/0x2e0 [ 60.649378][ T5829] iommufd_fops_ioctl+0x4d6/0x5a0 [ 60.654410][ T5829] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 60.659952][ T5829] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.666263][ T5829] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 60.671795][ T5829] __se_sys_ioctl+0xf5/0x170 [ 60.676397][ T5829] do_syscall_64+0xf3/0x230 [ 60.680888][ T5829] ? clear_bhb_loop+0x35/0x90 [ 60.685549][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.691473][ T5829] RIP: 0033:0x7fa2fda974a9 [ 60.695896][ T5829] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 [ 60.715498][ T5829] RSP: 002b:00007ffc593f2558 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 60.723907][ T5829] RAX: ffffffffffffffda RBX: 00007ffc593f2728 RCX: 00007fa2fda974a9 [ 60.731866][ T5829] RDX: 0000000020000300 RSI: 0000000000003b8c RDI: 0000000000000003 [ 60.739826][ T5829] RBP: 00007fa2fdb0a610 R08: 00007ffc593f2728 R09: 00007ffc593f2728 [ 60.747783][ T5829] R10: 00007ffc593f2728 R11: 0000000000000246 R12: 0000000000000001 [ 60.755757][ T5829] R13: 00007ffc593f2718 R14: 0000000000000001 R15: 0000000000000001 [ 60.763723][ T5829] [ 60.766978][ T5829] ---[ end trace ]--- [ 60.771081][ T5829] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 60.778281][ T5829] CPU: 1 UID: 0 PID: 5829 Comm: syz-executor365 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 [ 60.789375][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 60.799416][ T5829] Call Trace: [ 60.802680][ T5829] [ 60.805593][ T5829] dump_stack_lvl+0x241/0x360 [ 60.810264][ T5829] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.815446][ T5829] ? __pfx__printk+0x10/0x10 [ 60.820024][ T5829] ? lockdep_hardirqs_on+0x99/0x150 [ 60.825210][ T5829] ? vscnprintf+0x5d/0x90 [ 60.829526][ T5829] panic+0x349/0x880 [ 60.833406][ T5829] ? check_panic_on_warn+0x21/0xb0 [ 60.838500][ T5829] ? __pfx_panic+0x10/0x10 [ 60.842922][ T5829] ? _printk+0xd5/0x120 [ 60.847067][ T5829] ? __pfx__printk+0x10/0x10 [ 60.851647][ T5829] check_panic_on_warn+0x86/0xb0 [ 60.856569][ T5829] __ubsan_handle_shift_out_of_bounds+0x3e7/0x420 [ 60.862978][ T5829] iova_bitmap_alloc+0x2bd/0x2d0 [ 60.867903][ T5829] iopt_read_and_clear_dirty_data+0x35a/0x6c0 [ 60.873962][ T5829] ? __pfx_iopt_read_and_clear_dirty_data+0x10/0x10 [ 60.880549][ T5829] ? _raw_spin_unlock+0x28/0x50 [ 60.885402][ T5829] ? iommufd_get_object+0x47e/0x670 [ 60.890603][ T5829] ? __pfx_iommufd_get_object+0x10/0x10 [ 60.896152][ T5829] iommufd_hwpt_get_dirty_bitmap+0x17c/0x2e0 [ 60.902133][ T5829] iommufd_fops_ioctl+0x4d6/0x5a0 [ 60.907152][ T5829] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 60.912713][ T5829] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.919046][ T5829] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 60.924584][ T5829] __se_sys_ioctl+0xf5/0x170 [ 60.929170][ T5829] do_syscall_64+0xf3/0x230 [ 60.933674][ T5829] ? clear_bhb_loop+0x35/0x90 [ 60.938345][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.944238][ T5829] RIP: 0033:0x7fa2fda974a9 [ 60.948650][ T5829] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 [ 60.968254][ T5829] RSP: 002b:00007ffc593f2558 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 60.976666][ T5829] RAX: ffffffffffffffda RBX: 00007ffc593f2728 RCX: 00007fa2fda974a9 [ 60.984644][ T5829] RDX: 0000000020000300 RSI: 0000000000003b8c RDI: 0000000000000003 [ 60.992613][ T5829] RBP: 00007fa2fdb0a610 R08: 00007ffc593f2728 R09: 00007ffc593f2728 [ 61.000577][ T5829] R10: 00007ffc593f2728 R11: 0000000000000246 R12: 0000000000000001 [ 61.008540][ T5829] R13: 00007ffc593f2718 R14: 0000000000000001 R15: 0000000000000001 [ 61.016513][ T5829] [ 61.019771][ T5829] Kernel Offset: disabled [ 61.024119][ T5829] Rebooting in 86400 seconds..