./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor804970928 <...> Warning: Permanently added '10.128.0.206' (ED25519) to the list of known hosts. execve("./syz-executor804970928", ["./syz-executor804970928"], 0x7ffd7bdfba60 /* 10 vars */) = 0 brk(NULL) = 0x55558010d000 brk(0x55558010dd00) = 0x55558010dd00 arch_prctl(ARCH_SET_FS, 0x55558010d380) = 0 set_tid_address(0x55558010d650) = 5828 set_robust_list(0x55558010d660, 24) = 0 rseq(0x55558010dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor804970928", 4096) = 27 getrandom("\x0b\xf6\xa4\x01\xc3\x8b\x06\x80", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558010dd00 brk(0x55558012ed00) = 0x55558012ed00 brk(0x55558012f000) = 0x55558012f000 mprotect(0x7f49908e0000, 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 write(1, "executing program\n", 18executing program ) = 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 [ 62.080090][ T5828] iommufd_mock iommufd_mock0: Adding to iommu group 0 [ 62.108272][ T5828] ------------[ cut here ]------------ [ 62.113827][ T5828] UBSAN: shift-out-of-bounds in drivers/iommu/iommufd/iova_bitmap.c:133:27 [ 62.122506][ T5828] shift exponent 63 is too large for 32-bit type 'int' [ 62.129528][ T5828] CPU: 1 UID: 0 PID: 5828 Comm: syz-executor804 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 [ 62.140629][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 62.150683][ T5828] Call Trace: [ 62.153951][ T5828] [ 62.156881][ T5828] dump_stack_lvl+0x241/0x360 [ 62.161572][ T5828] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.166771][ T5828] ? __pfx__printk+0x10/0x10 [ 62.171367][ T5828] __ubsan_handle_shift_out_of_bounds+0x3c8/0x420 [ 62.177790][ T5828] iova_bitmap_alloc+0x2bd/0x2d0 [ 62.182721][ T5828] iopt_read_and_clear_dirty_data+0x35a/0x6c0 [ 62.188786][ T5828] ? __pfx_iopt_read_and_clear_dirty_data+0x10/0x10 [ 62.195370][ T5828] ? _raw_spin_unlock+0x28/0x50 [ 62.200217][ T5828] ? iommufd_get_object+0x47e/0x670 [ 62.205407][ T5828] ? __pfx_iommufd_get_object+0x10/0x10 [ 62.210958][ T5828] iommufd_hwpt_get_dirty_bitmap+0x17c/0x2e0 [ 62.216940][ T5828] iommufd_fops_ioctl+0x4d6/0x5a0 [ 62.221951][ T5828] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 62.227491][ T5828] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.233809][ T5828] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 62.239348][ T5828] __se_sys_ioctl+0xf5/0x170 [ 62.243926][ T5828] do_syscall_64+0xf3/0x230 [ 62.248422][ T5828] ? clear_bhb_loop+0x35/0x90 [ 62.253083][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.258974][ T5828] RIP: 0033:0x7f499086d4a9 [ 62.263380][ T5828] 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 [ 62.282972][ T5828] RSP: 002b:00007ffc6958c848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 62.291404][ T5828] RAX: ffffffffffffffda RBX: 00007ffc6958ca18 RCX: 00007f499086d4a9 [ 62.299366][ T5828] RDX: 0000000020000300 RSI: 0000000000003b8c RDI: 0000000000000003 [ 62.307346][ T5828] RBP: 00007f49908e0610 R08: 00007ffc6958ca18 R09: 00007ffc6958ca18 [ 62.315318][ T5828] R10: 00007ffc6958ca18 R11: 0000000000000246 R12: 0000000000000001 [ 62.323279][ T5828] R13: 00007ffc6958ca08 R14: 0000000000000001 R15: 0000000000000001 [ 62.331246][ T5828] [ 62.335910][ T5828] ---[ end trace ]--- [ 62.339948][ T5828] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 62.347126][ T5828] CPU: 1 UID: 0 PID: 5828 Comm: syz-executor804 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 [ 62.358213][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 62.368252][ T5828] Call Trace: [ 62.371519][ T5828] [ 62.374433][ T5828] dump_stack_lvl+0x241/0x360 [ 62.379099][ T5828] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.384281][ T5828] ? __pfx__printk+0x10/0x10 [ 62.388869][ T5828] ? lockdep_hardirqs_on+0x99/0x150 [ 62.394055][ T5828] ? vscnprintf+0x5d/0x90 [ 62.398369][ T5828] panic+0x349/0x880 [ 62.402269][ T5828] ? check_panic_on_warn+0x21/0xb0 [ 62.407365][ T5828] ? __pfx_panic+0x10/0x10 [ 62.411764][ T5828] ? _printk+0xd5/0x120 [ 62.415907][ T5828] ? __pfx__printk+0x10/0x10 [ 62.420489][ T5828] check_panic_on_warn+0x86/0xb0 [ 62.425410][ T5828] __ubsan_handle_shift_out_of_bounds+0x3e7/0x420 [ 62.431821][ T5828] iova_bitmap_alloc+0x2bd/0x2d0 [ 62.436744][ T5828] iopt_read_and_clear_dirty_data+0x35a/0x6c0 [ 62.442818][ T5828] ? __pfx_iopt_read_and_clear_dirty_data+0x10/0x10 [ 62.449393][ T5828] ? _raw_spin_unlock+0x28/0x50 [ 62.454226][ T5828] ? iommufd_get_object+0x47e/0x670 [ 62.459411][ T5828] ? __pfx_iommufd_get_object+0x10/0x10 [ 62.464944][ T5828] iommufd_hwpt_get_dirty_bitmap+0x17c/0x2e0 [ 62.470911][ T5828] iommufd_fops_ioctl+0x4d6/0x5a0 [ 62.475919][ T5828] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 62.481455][ T5828] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.487769][ T5828] ? __pfx_iommufd_fops_ioctl+0x10/0x10 [ 62.493294][ T5828] __se_sys_ioctl+0xf5/0x170 [ 62.497874][ T5828] do_syscall_64+0xf3/0x230 [ 62.502370][ T5828] ? clear_bhb_loop+0x35/0x90 [ 62.507030][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.512907][ T5828] RIP: 0033:0x7f499086d4a9 [ 62.517306][ T5828] 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 [ 62.536980][ T5828] RSP: 002b:00007ffc6958c848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 62.545374][ T5828] RAX: ffffffffffffffda RBX: 00007ffc6958ca18 RCX: 00007f499086d4a9 [ 62.553324][ T5828] RDX: 0000000020000300 RSI: 0000000000003b8c RDI: 0000000000000003 [ 62.561274][ T5828] RBP: 00007f49908e0610 R08: 00007ffc6958ca18 R09: 00007ffc6958ca18 [ 62.569223][ T5828] R10: 00007ffc6958ca18 R11: 0000000000000246 R12: 0000000000000001 [ 62.577174][ T5828] R13: 00007ffc6958ca08 R14: 0000000000000001 R15: 0000000000000001 [ 62.585134][ T5828] [ 62.588412][ T5828] Kernel Offset: disabled [ 62.592785][ T5828] Rebooting in 86400 seconds..