ci starts bisection 2025-01-11 03:33:38.54363571 +0000 UTC m=+52.559054682 bisecting cause commit starting from 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 building syzkaller on f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 ensuring issue is reproducible on original commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 425cd95957266ad96fe6cf6d19de2183e607ae753e1cc4560380c050d5c61937 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f207bd70c27d3fee3f288dff6654d3dca6687afc9ea2d95291111bf1ea333ac3 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4045 full=8243 leaves diff=2124 split chunks (needed=false): <2124> split chunk #0 of len 2124 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8a875e92d73ee279608b091b86f50f285dbb4dbab4d5dddde121c10c8862f20 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK BUG KASAN], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d4c19cb867f6b15fc9b7e400323c2d6b98bd3146ab75d5039429616ee730ff7b all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 00addf4dff4a28c2c3a892df92a1143fe3b2a169d258cfe1fd2d753c02e0ab5e all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed testing commit 09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d96b07f17172122de7437423005af2b6d3e83c1d3a647993678af329146c5eca all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] the chunk can be dropped minimized to 425 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_I915 DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_DRIVER_CORE IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a1c85f498e7eeb10b2f5b9c71d4978a8443f694e61e98b51407f0d9e0aa444bc all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b0af4a95cc5994a77efa50045e1c29a008eb3702e5773a65434d7673ea4e3b8 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8837761c44d8d038ede0809c20a37bbb29411446b332079b612219a12e195702 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f696bd1aecef8be3a1db5df5017b04bf4c191aaa57b5af0171c2903b3b352b0 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 34ca902aa38f758c1afc1cd6192650b87eae509e1c891aaccac2233eb065ffe9 all runs: OK false negative chance: 0.000 # git bisect start e8f897f4afef0031fe618a8e94127a0934896aba ffc253263a1375a65fa6c9f62a893e9767fbebfa Bisecting: 17028 revisions left to test after this (roughly 14 steps) [cae0de45c8fd62612e1ee429134fd82c2c0e335e] Merge branch 'net-phylink-improve-phy-validation' testing commit cae0de45c8fd62612e1ee429134fd82c2c0e335e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f66e07bf057c7d22b8d9ed4b15569350214a23ce7b17c7f355228b7d632bf99 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad cae0de45c8fd62612e1ee429134fd82c2c0e335e Bisecting: 8364 revisions left to test after this (roughly 13 steps) [7d461b291e65938f15f56fe58da2303b07578a76] Merge tag 'drm-next-2023-10-31-1' of git://anongit.freedesktop.org/drm/drm testing commit 7d461b291e65938f15f56fe58da2303b07578a76 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: afcb422c5cbced92c9cf671c2457b0385e6c7e5fc9cec449b4c3bd7f634b3c20 all runs: OK false negative chance: 0.000 # git bisect good 7d461b291e65938f15f56fe58da2303b07578a76 Bisecting: 4190 revisions left to test after this (roughly 12 steps) [644b6025bcaff59737270d812c70302f5a8d4a8f] powerpc/rtas: Fix ppc_rtas_rmo_buf_show() kernel-doc testing commit 644b6025bcaff59737270d812c70302f5a8d4a8f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e11c44b05ed0918e0b726f028a5d0ed0bf72cea8d2cf0eaf08ed304464455eb0 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad 644b6025bcaff59737270d812c70302f5a8d4a8f Bisecting: 2260 revisions left to test after this (roughly 11 steps) [4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3] Merge tag 'for-linus-2023110101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit 4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa60d2e12bb19e3e8453b6c1508d3332cea94c596dad2eae7ff9685980f415fb all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad 4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3 Bisecting: 723 revisions left to test after this (roughly 10 steps) [c035f0268b87fc21f517f638b3bad26c81babc85] Merge tag 'soc-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit c035f0268b87fc21f517f638b3bad26c81babc85 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f5329f740f2b7aafbcdc3501f68fa74006f8ca0ca86241ea71182a6cafe69947 all runs: OK false negative chance: 0.000 # git bisect good c035f0268b87fc21f517f638b3bad26c81babc85 Bisecting: 338 revisions left to test after this (roughly 9 steps) [7dc0e9c7dda66bd91eeada00d90033e3eb647fc3] Merge tag 'linux_kselftest-next-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest testing commit 7dc0e9c7dda66bd91eeada00d90033e3eb647fc3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0111288f34587932b56613c1262a996c68c4b8c987fb1877ed0ab687dbbca06d all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad 7dc0e9c7dda66bd91eeada00d90033e3eb647fc3 Bisecting: 206 revisions left to test after this (roughly 8 steps) [385903a7ec75bb400f4bf0f07d8d5ad61390270d] Merge tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 385903a7ec75bb400f4bf0f07d8d5ad61390270d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fe21410a0ebe6a97a0a11ae697eb575d06292dd0202c8550358b8f558c3ed9d5 all runs: OK false negative chance: 0.000 # git bisect good 385903a7ec75bb400f4bf0f07d8d5ad61390270d Bisecting: 120 revisions left to test after this (roughly 7 steps) [ff269e2cd5adce4ae14f883fc9c8803bc43ee1e9] Merge tag 'net-next-6.7-followup' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit ff269e2cd5adce4ae14f883fc9c8803bc43ee1e9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbeb4103e7ec9db8de14b114909747c175a88ad5c5fec01921b6135710e4d4c5 all runs: OK false negative chance: 0.000 # git bisect good ff269e2cd5adce4ae14f883fc9c8803bc43ee1e9 Bisecting: 67 revisions left to test after this (roughly 6 steps) [463f46e114f74465cf8d01b124e7b74ad1ce2afd] Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd testing commit 463f46e114f74465cf8d01b124e7b74ad1ce2afd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f7c4ed79a2c718ab035f9dbd788fb91658c17861db53a4d8fc5e6e43dfa75da all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad 463f46e114f74465cf8d01b124e7b74ad1ce2afd Bisecting: 26 revisions left to test after this (roughly 5 steps) [a9af47e382a4d517685cb13c780272e7f300ebc5] iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP testing commit a9af47e382a4d517685cb13c780272e7f300ebc5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: efb7b5be8ea0a404d8aa266c316daddb2581eb9d6f6c2ee3aa74b338a8a678e6 all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad a9af47e382a4d517685cb13c780272e7f300ebc5 Bisecting: 12 revisions left to test after this (roughly 4 steps) [13578d4ebe8be1c16146f37c0c91f2579611cff2] iommufd/iova_bitmap: Move symbols to IOMMUFD namespace testing commit 13578d4ebe8be1c16146f37c0c91f2579611cff2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d4391214f885bdcbfe175ea383cb742a355906d91de2f0be9e18dcaeb007da8 all runs: OK false negative chance: 0.000 # git bisect good 13578d4ebe8be1c16146f37c0c91f2579611cff2 Bisecting: 6 revisions left to test after this (roughly 3 steps) [609848132c71316df3260d1ec066539c21bba585] iommufd: Add a flag to skip clearing of IOPTE dirty testing commit 609848132c71316df3260d1ec066539c21bba585 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e97e8dcfb4a8896b8cd4544e4dad3a5f422f2810c32f3a3589991db9b42fe59 all runs: OK false negative chance: 0.000 # git bisect good 609848132c71316df3260d1ec066539c21bba585 Bisecting: 3 revisions left to test after this (roughly 2 steps) [f35f22cc760eb2c7034bf53251399685d611e03f] iommu/vt-d: Access/Dirty bit support for SS domains testing commit f35f22cc760eb2c7034bf53251399685d611e03f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f4910257cf03812375358953efcffd0fb06ef789cb55b1917fd27fe2c957651 all runs: OK false negative chance: 0.000 # git bisect good f35f22cc760eb2c7034bf53251399685d611e03f Bisecting: 1 revision left to test after this (roughly 1 step) [266ce58989ba05e2a24460fdbf402d766c2e3870] iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING testing commit 266ce58989ba05e2a24460fdbf402d766c2e3870 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 12df24a19b1ddc2aae010f8dd851e2ac1c58e3ab56b7bf499b723099f7bedacc all runs: crashed: UBSAN: shift-out-of-bounds in iova_bitmap_alloc representative crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc, types: [UBSAN] # git bisect bad 266ce58989ba05e2a24460fdbf402d766c2e3870 Bisecting: 0 revisions left to test after this (roughly 0 steps) [e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65] iommufd/selftest: Expand mock_domain with dev_flags testing commit e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bdb438311fb1cfe18c3ddf4f0ff1306c242fd3516a9010b12eb9f28e8658e53e all runs: OK false negative chance: 0.000 # git bisect good e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65 266ce58989ba05e2a24460fdbf402d766c2e3870 is the first bad commit commit 266ce58989ba05e2a24460fdbf402d766c2e3870 Author: Joao Martins Date: Tue Oct 24 14:51:05 2023 +0100 iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING In order to selftest the iommu domain dirty enforcing implement the mock_domain necessary support and add a new dev_flags to test that the hwpt_alloc/attach_device fails as expected. Expand the existing mock_domain fixture with a enforce_dirty test that exercises the hwpt_alloc and device attachment. Link: https://lore.kernel.org/r/20231024135109.73787-15-joao.m.martins@oracle.com Signed-off-by: Joao Martins Reviewed-by: Kevin Tian Signed-off-by: Jason Gunthorpe drivers/iommu/iommufd/selftest.c | 37 +++++++++++++++++++- tools/testing/selftests/iommu/iommufd.c | 49 +++++++++++++++++++++++++++ tools/testing/selftests/iommu/iommufd_utils.h | 3 ++ 3 files changed, 88 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: 12df24a19b1ddc2aae010f8dd851e2ac1c58e3ab56b7bf499b723099f7bedacc parent signature: bdb438311fb1cfe18c3ddf4f0ff1306c242fd3516a9010b12eb9f28e8658e53e revisions tested: 26, total time: 8h7m16.156499493s (build: 3h7m33.608776711s, test: 2h23m10.162876792s) first bad commit: 266ce58989ba05e2a24460fdbf402d766c2e3870 iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING recipients (to): ["jgg@nvidia.com" "joao.m.martins@oracle.com" "kevin.tian@intel.com"] recipients (cc): [] crash: UBSAN: shift-out-of-bounds in iova_bitmap_alloc iommufd_mock iommufd_mock1: Adding to iommu group 0 ================================================================================ UBSAN: shift-out-of-bounds in drivers/iommu/iommufd/iova_bitmap.c:130:27 shift exponent 63 is too large for 32-bit type 'int' CPU: 0 PID: 3479 Comm: syz.3.16 Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_shift_out_of_bounds+0x247/0x270 lib/ubsan.c:387 iova_bitmap_offset_to_index drivers/iommu/iommufd/iova_bitmap.c:130 [inline] iova_bitmap_alloc+0x193/0x1b0 drivers/iommu/iommufd/iova_bitmap.c:252 iommu_read_and_clear_dirty drivers/iommu/iommufd/io_pagetable.c:467 [inline] iopt_read_and_clear_dirty_data+0xe4/0x1d0 drivers/iommu/iommufd/io_pagetable.c:527 iommufd_hwpt_get_dirty_bitmap+0x5b/0xa0 drivers/iommu/iommufd/hw_pagetable.c:240 iommufd_fops_ioctl+0x1a1/0x1b0 drivers/iommu/iommufd/main.c:404 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0x6e/0xc0 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x46/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7fd561985d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd5626cf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd561b75fa0 RCX: 00007fd561985d29 RDX: 0000000020000300 RSI: 0000000000003b8c RDI: 0000000000000003 RBP: 00007fd561a01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd561b75fa0 R15: 00007ffe7f635318 ================================================================================