ci2 starts bisection 2025-04-10 23:31:29.624173982 +0000 UTC m=+26400.973256640 bisecting fixing commit since c16c81c81336c0912eb3542194f16215c0a40037 building syzkaller on 8f267cefd3660f9d5640ebbbd42e295a61774469 ensuring issue is reproducible on original commit c16c81c81336c0912eb3542194f16215c0a40037 testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 91cf4db7d319a3ba21a3b00d542ff7c1d4d7067a497a9a1b01cbf6b6cbd66763 run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #10: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #11: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #12: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #13: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #14: crashed: KASAN: slab-out-of-bounds Read in ocfs2_find_entry run #15: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #16: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #17: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #18: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #19: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 458470782881bec80f30c4c3ef0ac8cf89ace765c83b1a6367565ad74a25fb76 run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry run #9: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=3706 full=7305 leaves diff=2038 split chunks (needed=false): <2038> split chunk #0 of len 2038 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19bacdb73cf08881f987d13df547ac630231c526ccdc58742332afdbd98cd8ba run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: slab-out-of-bounds Read in ocfs2_find_entry run #9: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e6fb90e97fbef57d5b06d2c18cb1bd7ec3bf3540c6c8b07aa66ec8211c7406ea run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42f8ab61bd4974af0d270c6a8a19ba5bc8b65afa2cdc3d0a68a4eefa87f7ce6d run #0: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: out-of-bounds Read in ocfs2_find_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5e9081ec603f250f24d75ebf7b97e66b734d17f7feb7bbd2b2108cc169740fb8 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c16c81c81336c0912eb3542194f16215c0a40037 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ecc75b0897a330b0c9b5185ee124c7687e8c1e838413cce54c553ce6071c5cc7 run #0: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: out-of-bounds Read in ocfs2_find_entry, types: [KASAN] the chunk can be dropped minimized to 408 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ASYMMETRIC_TPM_KEY_SUBTYPE ATM AX25 BXT_WC_PMIC_OPREGION CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HID_PLAYSTATION HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN INTEL_SCU_IPC INTEL_SOC_PMIC_BXTWC IP_SCTP L2TP LIBCRC32C LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_PLATFORM_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_INTEL_PMC_BXT MFD_MT6360 MFD_RETU MMC MTD MTD_UBI NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NLS_CODEPAGE_869 NLS_CODEPAGE_874 NLS_CODEPAGE_932 NLS_CODEPAGE_936 NLS_CODEPAGE_949 NLS_CODEPAGE_950 NLS_ISO8859_13 NLS_ISO8859_14 NLS_ISO8859_15 NLS_ISO8859_2 NLS_ISO8859_3 NLS_ISO8859_4 NLS_ISO8859_5 NLS_ISO8859_6 NLS_ISO8859_7 NLS_ISO8859_8 NLS_ISO8859_9 NLS_KOI8_R NLS_KOI8_U NLS_MAC_CELTIC NLS_MAC_CENTEURO NLS_MAC_CROATIAN NLS_MAC_CYRILLIC NLS_MAC_GAELIC NLS_MAC_GREEK NLS_MAC_ICELAND NLS_MAC_INUIT NLS_MAC_ROMAN NLS_MAC_ROMANIAN NLS_MAC_TURKISH NOP_USB_XCEIV NOZOMI NTFS3_FS NTFS3_FS_POSIX_ACL NTFS3_LZX_XPRESS NTFS_FS NTFS_RW NULL_TTY NUMA_BALANCING NUMA_BALANCING_DEFAULT_ENABLED NUMA_EMU NUMA_KEEP_MEMINFO NVDIMM_DAX NVDIMM_KEYS NVDIMM_PFN NVME_CORE NVME_FABRICS NVME_FC NVME_MULTIPATH NVME_RDMA NVME_TARGET NVME_TARGET_FC NVME_TARGET_FCLOOP NVME_TARGET_LOOP NVME_TARGET_RDMA NVME_TARGET_TCP NVME_TCP N_GSM N_HDLC OCFS2_DEBUG_FS OCFS2_FS OCFS2_FS_O2CB OCFS2_FS_STATS OCFS2_FS_USERSPACE_CLUSTER OF_GPIO OF_PMEM OMFS_FS OPENVSWITCH OPENVSWITCH_GENEVE OPENVSWITCH_GRE OPENVSWITCH_VXLAN ORANGEFS_FS OSF_PARTITION OVERLAY_FS OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PADATA PAGE_IDLE_FLAG PAGE_REPORTING PAHOLE_HAS_SPLIT_BTF PARPORT PARPORT_NOT_PC PARTITION_ADVANCED PCCARD PCCARD_NONSTATIC PCIEAER PCI_ENDPOINT PCI_IOV PCMCIA PCMCIA_LOAD_CIS PERCPU_STATS PERSISTENT_KEYRINGS PHONET PHYLINK PHY_CPCAP_USB PHY_QCOM_USB_HS PHY_QCOM_USB_HSIC PHY_SAMSUNG_USB2 PHY_TUSB1210 PKCS7_TEST_KEY PKCS8_PRIVATE_KEY_PARSER PLAYSTATION_FF PMIC_OPREGION PNFS_BLOCK PNFS_FILE_LAYOUT PNFS_FLEXFILE_LAYOUT PPP PPPOATM PPPOE PPPOL2TP PPP_ASYNC PPP_BSDCOMP PPP_DEFLATE PPP_FILTER PPP_MPPE PPP_MULTILINK PPP_SYNC_TTY PPTP PREEMPT PREEMPT_DYNAMIC PREEMPT_NOTIFIERS PREEMPT_RCU PRISM2_USB PROC_CHILDREN PROC_MEM_ALWAYS_FORCE PSI PSTORE PSTORE_842_COMPRESS PSTORE_COMPRESS PSTORE_DEFLATE_COMPRESS PSTORE_DEFLATE_COMPRESS_DEFAULT PSTORE_LZ4HC_COMPRESS PSTORE_LZ4_COMPRESS PSTORE_LZO_COMPRESS PSTORE_ZSTD_COMPRESS QCOM_QMI_HELPERS QNX4FS_FS QNX6FS_FS QRTR QRTR_TUN R8712U RADIO_ADAPTERS RADIO_SHARK RADIO_SHARK2 RADIO_TEA575X RAID6_PQ RAID_ATTRS RC_ATI_REMOTE RC_CORE RC_DEVICES RC_XBOX_DVD RDMA_RXE RDMA_SIW RDS RDS_RDMA RDS_TCP READ_ONLY_THP_FOR_FS REALTEK_AUTOPM REED_SOLOMON REED_SOLOMON_DEC8 REGMAP REGMAP_I2C REGMAP_IRQ REGMAP_MMIO REGULATOR REGULATOR_FIXED_VOLTAGE REGULATOR_TWL4030 REISERFS_FS REISERFS_FS_POSIX_ACL REISERFS_FS_SECURITY REISERFS_FS_XATTR REISERFS_PROC_INFO RESET_CONTROLLER RFKILL RFKILL_INPUT RFKILL_LEDS RMI4_2D_SENSOR RMI4_CORE RMI4_F03 RMI4_F03_SERIO RMI4_F11 RMI4_F12 RMI4_F30 ROMFS_BACKED_BY_BOTH ROMFS_FS ROMFS_ON_BLOCK ROMFS_ON_MTD ROSE RTC_DRV_HID_SENSOR_TIME RXKAD SCHED_CORE SCSI_FC_ATTRS SCSI_HPSA SCSI_ISCSI_ATTRS SCSI_LOGGING SCSI_NETLINK SCSI_SAS_ATA SCSI_SAS_ATTRS SCSI_SAS_LIBSAS SCSI_SCAN_ASYNC SCSI_SRP_ATTRS SCTP_COOKIE_HMAC_MD5 SCTP_COOKIE_HMAC_SHA1 SCTP_DEFAULT_COOKIE_HMAC_MD5 SECONDARY_TRUSTED_KEYRING SECURITY_INFINIBAND SECURITY_NETWORK_XFRM SENSORS_AQUACOMPUTER_D5NEXT SENSORS_CORSAIR_CPRO SENSORS_CORSAIR_PSU SENSORS_NZXT_KRAKEN2 SERIAL_DEV_BUS SERIAL_DEV_CTRL_TTYPORT SERIAL_MCTRL_GPIO SGI_PARTITION SIGNATURE SIGNED_PE_FILE_VERIFICATION SLHC SLIP SLIP_COMPRESSED SLIP_MODE_SLIP6 SLIP_SMART SMARTJOYPLUS_FF SMBFS_COMMON SMB_SERVER SMC SMC_DIAG SMSC_PHY SMS_SDIO_DRV SMS_SIANO_DEBUGFS SMS_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_LED SND_CTL_VALIDATION SND_DEBUG SND_DMA_SGBUF SND_DRIVERS SND_DUMMY SND_DYNAMIC_MINORS SND_HDA SND_HDA_CODEC_ANALOG SND_HDA_CODEC_CA0110 SND_HDA_CODEC_CA0132 SND_HDA_CODEC_CIRRUS SND_HDA_CODEC_CMEDIA SND_HDA_CODEC_CONEXANT SND_HDA_CODEC_HDMI SND_HDA_CODEC_REALTEK SND_HDA_CODEC_SI3054 SND_HDA_CODEC_SIGMATEL SND_HDA_CODEC_VIA SND_HDA_COMPONENT SND_HDA_CORE SND_HDA_GENERIC SND_HDA_GENERIC_LEDS SND_HDA_HWDEP SND_HDA_I915 SND_HDA_INPUT_BEEP SND_HDA_INTEL SND_HDA_PATCH_LOADER SND_HDA_RECONFIG SND_HRTIMER SND_HWDEP SND_INTEL_DSP_CONFIG SND_INTEL_NHLT SND_INTEL_SOUNDWIRE_ACPI SND_JACK SND_JACK_INPUT_DEV SND_MIXER_OSS SND_OSSEMUL SND_PCI SND_PCM SND_PCMCIA SND_PCM_OSS SND_PCM_OSS_PLUGINS SND_PCM_TIMER SND_PCM_XRUN_DEBUG SND_PROC_FS SND_RAWMIDI SND_SEQUENCER SND_SEQUENCER_OSS SND_SEQ_DEVICE SND_SEQ_DUMMY SND_SEQ_HRTIMER_DEFAULT SND_SEQ_MIDI SND_SEQ_MIDI_EVENT SND_SEQ_VIRMIDI SND_SUPPORT_OLD_API SND_TIMER SND_USB SND_USB_6FIRE SND_USB_AUDIO SND_USB_AUDIO_USE_MEDIA_CONTROLLER SND_USB_CAIAQ SND_USB_CAIAQ_INPUT SND_USB_HIFACE SND_USB_LINE6 SND_USB_POD SND_USB_PODHD SND_USB_TONEPORT SND_USB_UA101 SND_USB_US122L SND_USB_USX2Y SND_USB_VARIAX SND_VERBOSE_PROCFS SND_VIRMIDI SND_VIRTIO SND_VMASTER SND_X86 SOCK_CGROUP_DATA SOCK_VALIDATE_XMIT SOLARIS_X86_PARTITION SONY_FF SOUND SOUND_OSS_CORE SOUND_OSS_CORE_PRECLAIM SPI SPI_DLN2 SPI_DYNAMIC SPI_MASTER SQUASHFS SQUASHFS_4K_DEVBLK_SIZE SQUASHFS_DECOMP_SINGLE SQUASHFS_FILE_DIRECT SQUASHFS_LZ4 SQUASHFS_LZO SQUASHFS_XATTR SQUASHFS_XZ SQUASHFS_ZLIB SQUASHFS_ZSTD SSB SSB_PCIHOST_POSSIBLE SSB_PCMCIAHOST_POSSIBLE SSB_SDIOHOST_POSSIBLE STAGING STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC SYSV68_PARTITION SYSV_FS TABLET_USB_ACECAD TABLET_USB_AIPTEK TABLET_USB_HANWANG TABLET_USB_KBTAB TABLET_USB_PEGASUS TAHVO_USB TAHVO_USB_HOST_BY_DEFAULT TASKS_RCU TASKS_RCU_GENERIC TASKS_TRACE_RCU TCG_CRB TCG_TIS TCG_TIS_CORE TCG_TPM TCP_CONG_BBR TCP_CONG_BIC TCP_CONG_CDG TCP_CONG_DCTCP TCP_CONG_HSTCP TCP_CONG_HTCP TCP_CONG_HYBLA TCP_CONG_ILLINOIS TCP_CONG_LP TCP_CONG_NV TCP_CONG_SCALABLE TCP_CONG_VEGAS TCP_CONG_VENO TCP_CONG_WESTWOOD TCP_CONG_YEAH TEXTSEARCH TEXTSEARCH_BM TEXTSEARCH_FSM TEXTSEARCH_KMP THERMAL_NETLINK THP_SWAP THRUSTMASTER_FF TIPC TIPC_CRYPTO TIPC_DIAG TIPC_MEDIA_IB TIPC_MEDIA_UDP TLS TLS_TOE TOUCHSCREEN_SUR40 TOUCHSCREEN_USB_3M TOUCHSCREEN_USB_COMPOSITE TOUCHSCREEN_USB_DMC_TSC10 TOUCHSCREEN_USB_E2I TOUCHSCREEN_USB_EASYTOUCH TOUCHSCREEN_USB_EGALAX TOUCHSCREEN_USB_ELO TOUCHSCREEN_USB_ETT_TC45USB TOUCHSCREEN_USB_ETURBO TOUCHSCREEN_USB_GENERAL_TOUCH TOUCHSCREEN_USB_GOTOP TOUCHSCREEN_USB_GUNZE TOUCHSCREEN_USB_IDEALTEK TOUCHSCREEN_USB_IRTOUCH TOUCHSCREEN_USB_ITM TOUCHSCREEN_USB_JASTEC TOUCHSCREEN_USB_NEXIO TOUCHSCREEN_USB_PANJIT TOUCHSCREEN_USB_ZYTRONIC TPM_KEY_PARSER TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TRUSTED_KEYS TTPCI_EEPROM TTY_PRINTK TUN_VNET_CROSS_LE TWL4030_CORE TYPEC TYPEC_DP_ALTMODE TYPEC_FUSB302 TYPEC_HD3SS3220 TYPEC_MT6360 TYPEC_MUX_INTEL_PMC TYPEC_NVIDIA_ALTMODE TYPEC_RT1711H TYPEC_STUSB160X TYPEC_TCPCI TYPEC_TCPCI_MAXIM TYPEC_TCPM TYPEC_TPS6598X TYPEC_UCSI TYPEC_WCOVE UBIFS_ATIME_SUPPORT UBIFS_FS UBIFS_FS_ADVANCED_COMPR UBIFS_FS_LZO UBIFS_FS_SECURITY UBIFS_FS_XATTR UBIFS_FS_ZLIB UBIFS_FS_ZSTD UCSI_ACPI UCSI_CCG UDF_FS UDMABUF UFS_FS UFS_FS_WRITE UHID ULTRIX_PARTITION UNICODE UNIXWARE_DISKLABEL UNIX_DIAG USB4 USB4_NET USBIP_CORE USBIP_HOST USBIP_VHCI_HCD USBIP_VUDC USBPCWATCHDOG USB_ACM USB_ADUTUX USB_AIRSPY USB_ALI_M5632 USB_AN2720 USB_APPLEDISPLAY USB_ARMLINUX USB_BDC_UDC USB_BELKIN USB_C67X00_HCD USB_CATC USB_CDC_PHONET USB_CDNS3 USB_CDNS3_GADGET USB_CDNS3_HOST USB_CDNS3_PCI_WRAP USB_CDNSP_GADGET USB_CDNSP_HOST USB_CDNSP_PCI USB_CDNS_HOST USB_CDNS_SUPPORT USB_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_GENERIC USB_CHIPIDEA_HOST USB_CHIPIDEA_IMX USB_CHIPIDEA_MSM USB_CHIPIDEA_PCI USB_CHIPIDEA_TEGRA USB_CHIPIDEA_UDC USB_CONFIGFS USB_CONFIGFS_ACM USB_CONFIGFS_ECM USB_CONFIGFS_ECM_SUBSET USB_CONFIGFS_EEM USB_CONFIGFS_F_FS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS USB_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VIDEO_V4L2 VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD f7347f4005727f3155551c0550f4deb9c40b56c2 testing commit f7347f4005727f3155551c0550f4deb9c40b56c2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd5f51f55b752b7973f71f3552b5a1e94ae051ffb2da38607953dce1ed66c6b1 all runs: OK false negative chance: 0.000 # git bisect start f7347f4005727f3155551c0550f4deb9c40b56c2 c16c81c81336c0912eb3542194f16215c0a40037 Bisecting: 449 revisions left to test after this (roughly 9 steps) [972f412da53b2e4189622d2807c52ae9c5a760a3] media: uvcvideo: Set error_idx during ctrl_commit errors determine whether the revision contains the guilty commit revision c16c81c81336c0912eb3542194f16215c0a40037 crashed and is reachable testing commit 972f412da53b2e4189622d2807c52ae9c5a760a3 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 748f541c8a6912bde45272182978053f6c56e6acd5c15a48ae19a5f7b91a4608 all runs: OK false negative chance: 0.000 # git bisect bad 972f412da53b2e4189622d2807c52ae9c5a760a3 Bisecting: 224 revisions left to test after this (roughly 8 steps) [c56ea30db33dd59bf52325f2be6e3baa5568a467] platform/x86: acer-wmi: Ignore AC events determine whether the revision contains the guilty commit revision c16c81c81336c0912eb3542194f16215c0a40037 crashed and is reachable testing commit c56ea30db33dd59bf52325f2be6e3baa5568a467 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 18fb9776e7b1959af7f6fe51c3fb3948584bce3f4836d1603469d0ef78133b20 all runs: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good c56ea30db33dd59bf52325f2be6e3baa5568a467 Bisecting: 112 revisions left to test after this (roughly 7 steps) [f443687ad20c70320d1248f35f57bf46cac8df0a] team: better TEAM_OPTION_TYPE_STRING validation determine whether the revision contains the guilty commit revision c56ea30db33dd59bf52325f2be6e3baa5568a467 crashed and is reachable testing commit f443687ad20c70320d1248f35f57bf46cac8df0a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92efe7959686f2f7ab900d3aff74c613633a8f475746a7add7b179f4f2d33833 all runs: OK false negative chance: 0.000 # git bisect bad f443687ad20c70320d1248f35f57bf46cac8df0a Bisecting: 55 revisions left to test after this (roughly 6 steps) [2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd] soc: qcom: socinfo: Avoid out of bounds read of serial number determine whether the revision contains the guilty commit revision c16c81c81336c0912eb3542194f16215c0a40037 crashed and is reachable testing commit 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6084c21086f0f9d249f33a231a3ba425bbb40af9f065e30b85f241c461ad9be run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd Bisecting: 27 revisions left to test after this (roughly 5 steps) [14810fb9909114dd9f9b1a3b1b93ca4780dd9341] media: uvcvideo: Remove redundant NULL assignment determine whether the revision contains the guilty commit revision 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd crashed and is reachable testing commit 14810fb9909114dd9f9b1a3b1b93ca4780dd9341 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 635e26e418e7e95295ff32916a017472af436ff4b12cd1c3fa1601e67e95c4b1 all runs: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good 14810fb9909114dd9f9b1a3b1b93ca4780dd9341 Bisecting: 13 revisions left to test after this (roughly 4 steps) [0eda6b12a108c839fbff5b23345a0954b7e0b972] net: phy: c45-tjaxx: add delay between MDIO write and read in soft_reset determine whether the revision contains the guilty commit revision c16c81c81336c0912eb3542194f16215c0a40037 crashed and is reachable testing commit 0eda6b12a108c839fbff5b23345a0954b7e0b972 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dce441f92e8d04d93d52984a3b00667463bca893d95e1063c5419f7773ee490b all runs: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good 0eda6b12a108c839fbff5b23345a0954b7e0b972 Bisecting: 6 revisions left to test after this (roughly 3 steps) [59cf03ddf127def4fd7c98ea241bc15ec39485b3] mptcp: prevent excessive coalescing on receive determine whether the revision contains the guilty commit revision c16c81c81336c0912eb3542194f16215c0a40037 crashed and is reachable testing commit 59cf03ddf127def4fd7c98ea241bc15ec39485b3 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 508f7f31e51e9fc46f7aa4a0604590fd4a47855c3acb3081a8ea6151b6f66df0 all runs: OK false negative chance: 0.000 # git bisect bad 59cf03ddf127def4fd7c98ea241bc15ec39485b3 Bisecting: 3 revisions left to test after this (roughly 2 steps) [9772e2e15482b07ab87dbe51b764fb051dedf520] net/ncsi: use dev_set_mac_address() for Get MC MAC Address handling determine whether the revision contains the guilty commit revision 0eda6b12a108c839fbff5b23345a0954b7e0b972 crashed and is reachable testing commit 9772e2e15482b07ab87dbe51b764fb051dedf520 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77389160e9b0d8d4bc4e296cad845547fbb784f3c651f8c7f145d714a557a931 all runs: crashed: KASAN: use-after-free Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good 9772e2e15482b07ab87dbe51b764fb051dedf520 Bisecting: 1 revision left to test after this (roughly 1 step) [ad73b43e6908321433eec18c3bd3968a8008f662] memory: tegra20-emc: Correct memory device mask determine whether the revision contains the guilty commit revision 9772e2e15482b07ab87dbe51b764fb051dedf520 crashed and is reachable testing commit ad73b43e6908321433eec18c3bd3968a8008f662 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77389160e9b0d8d4bc4e296cad845547fbb784f3c651f8c7f145d714a557a931 run #0: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #1: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #2: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #3: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #4: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #5: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #6: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #7: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #8: crashed: KASAN: use-after-free Read in ocfs2_find_entry run #9: crashed: KASAN: out-of-bounds Read in ocfs2_find_entry representative crash: KASAN: use-after-free Read in ocfs2_find_entry, types: [KASAN] # git bisect good ad73b43e6908321433eec18c3bd3968a8008f662 Bisecting: 0 revisions left to test after this (roughly 0 steps) [03b605ac1e5bf3684cc7a64c0de646aaeb367ff1] ocfs2: check dir i_size in ocfs2_find_entry determine whether the revision contains the guilty commit revision c56ea30db33dd59bf52325f2be6e3baa5568a467 crashed and is reachable testing commit 03b605ac1e5bf3684cc7a64c0de646aaeb367ff1 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 508f7f31e51e9fc46f7aa4a0604590fd4a47855c3acb3081a8ea6151b6f66df0 all runs: OK false negative chance: 0.000 # git bisect bad 03b605ac1e5bf3684cc7a64c0de646aaeb367ff1 03b605ac1e5bf3684cc7a64c0de646aaeb367ff1 is the first bad commit commit 03b605ac1e5bf3684cc7a64c0de646aaeb367ff1 Author: Su Yue Date: Mon Jan 6 22:06:40 2025 +0800 ocfs2: check dir i_size in ocfs2_find_entry commit b0fce54b8c0d8e5f2b4c243c803c5996e73baee8 upstream. syz reports an out of bounds read: ================================================================== BUG: KASAN: slab-out-of-bounds in ocfs2_match fs/ocfs2/dir.c:334 [inline] BUG: KASAN: slab-out-of-bounds in ocfs2_search_dirblock+0x283/0x6e0 fs/ocfs2/dir.c:367 Read of size 1 at addr ffff88804d8b9982 by task syz-executor.2/14802 CPU: 0 UID: 0 PID: 14802 Comm: syz-executor.2 Not tainted 6.13.0-rc4 #2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Sched_ext: serialise (enabled+all), task: runnable_at=-10ms Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x229/0x350 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x164/0x530 mm/kasan/report.c:489 kasan_report+0x147/0x180 mm/kasan/report.c:602 ocfs2_match fs/ocfs2/dir.c:334 [inline] ocfs2_search_dirblock+0x283/0x6e0 fs/ocfs2/dir.c:367 ocfs2_find_entry_id fs/ocfs2/dir.c:414 [inline] ocfs2_find_entry+0x1143/0x2db0 fs/ocfs2/dir.c:1078 ocfs2_find_files_on_disk+0x18e/0x530 fs/ocfs2/dir.c:1981 ocfs2_lookup_ino_from_name+0xb6/0x110 fs/ocfs2/dir.c:2003 ocfs2_lookup+0x30a/0xd40 fs/ocfs2/namei.c:122 lookup_open fs/namei.c:3627 [inline] open_last_lookups fs/namei.c:3748 [inline] path_openat+0x145a/0x3870 fs/namei.c:3984 do_filp_open+0xe9/0x1c0 fs/namei.c:4014 do_sys_openat2+0x135/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x15d/0x1c0 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f01076903ad Code: c3 e8 a7 2b 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 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:00007f01084acfc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f01077cbf80 RCX: 00007f01076903ad RDX: 0000000000105042 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f01077cbf80 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001ff R11: 0000000000000246 R12: 0000000000000000 R13: 00007f01077cbf80 R14: 00007f010764fc90 R15: 00007f010848d000 ================================================================== And a general protection fault in ocfs2_prepare_dir_for_insert: ================================================================== loop0: detected capacity change from 0 to 32768 JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 5096 Comm: syz-executor792 Not tainted 6.11.0-rc4-syzkaller-00002-gb0da640826ba #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3406 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x3309/0x5c70 fs/ocfs2/dir.c:4280 Code: 00 00 e8 2a 25 13 fe e9 ba 06 00 00 e8 20 25 13 fe e9 4f 01 00 00 e8 16 25 13 fe 49 8d 7f 08 49 8d 5f 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 bd 23 00 00 48 89 d8 48 c1 e8 03 42 0f RSP: 0018:ffffc9000af9f020 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: ffff88801e27a440 RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000008 RBP: ffffc9000af9f830 R08: ffffffff8380395b R09: ffffffff838090a7 R10: 0000000000000002 R11: ffff88801e27a440 R12: dffffc0000000000 R13: ffff88803c660878 R14: f700000000000088 R15: 0000000000000000 FS: 000055555a677380(0000) GS:ffff888020800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560bce569178 CR3: 000000001de5a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_mknod+0xcaf/0x2b40 fs/ocfs2/namei.c:292 vfs_mknod+0x36d/0x3b0 fs/namei.c:4088 do_mknodat+0x3ec/0x5b0 __do_sys_mknodat fs/namei.c:4166 [inline] __se_sys_mknodat fs/namei.c:4163 [inline] __x64_sys_mknodat+0xa7/0xc0 fs/namei.c:4163 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:0x7f2dafda3a99 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe336a6658 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2dafda3a99 RDX: 00000000000021c0 RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 00007f2dafe1b5f0 R08: 0000000000004480 R09: 000055555a6784c0 R10: 0000000000000103 R11: 0000000000000246 R12: 00007ffe336a6680 R13: 00007ffe336a68a8 R14: 431bde82d7b634db R15: 00007f2dafdec03b ================================================================== The two reports are all caused invalid negative i_size of dir inode. For ocfs2, dir_inode can't be negative or zero. Here add a check in which is called by ocfs2_check_dir_for_entry(). It fixes the second report as ocfs2_check_dir_for_entry() must be called before ocfs2_prepare_dir_for_insert(). Also set a up limit for dir with OCFS2_INLINE_DATA_FL. The i_size can't be great than blocksize. Link: https://lkml.kernel.org/r/20250106140640.92260-1-glass.su@suse.com Reported-by: Jiacheng Xu Link: https://lore.kernel.org/ocfs2-devel/17a04f01.1ae74.19436d003fc.Coremail.stitch@zju.edu.cn/T/#u Reported-by: syzbot+5a64828fcc4c2ad9b04f@syzkaller.appspotmail.com Link: https://lore.kernel.org/all/0000000000005894f3062018caf1@google.com/T/ Signed-off-by: Su Yue Reviewed-by: Heming Zhao Reviewed-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Cc: Junxiao Bi Cc: Changwei Ge Cc: Jun Piao Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman fs/ocfs2/dir.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) accumulated error probability: 0.00 culprit signature: 508f7f31e51e9fc46f7aa4a0604590fd4a47855c3acb3081a8ea6151b6f66df0 parent signature: 77389160e9b0d8d4bc4e296cad845547fbb784f3c651f8c7f145d714a557a931 revisions tested: 18, total time: 3h27m50.281517128s (build: 58m37.509527074s, test: 2h22m49.785492016s) first good commit: 03b605ac1e5bf3684cc7a64c0de646aaeb367ff1 ocfs2: check dir i_size in ocfs2_find_entry recipients (to): ["akpm@linux-foundation.org" "glass.su@suse.com" "gregkh@linuxfoundation.org" "heming.zhao@suse.com" "joseph.qi@linux.alibaba.com"] recipients (cc): []