ci2 starts bisection 2024-12-29 16:51:08.312880559 +0000 UTC m=+284890.047989656 bisecting fixing commit since 3a5928702e7120f83f703fd566082bfb59f1a57e building syzkaller on d7906effc263366a8b067258cec67072b29aa5e0 ensuring issue is reproducible on original commit 3a5928702e7120f83f703fd566082bfb59f1a57e testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79721a3a87bc683fe023875b9c43376ce3d53c9a6f3cf3e87a537247c5f6375e run #0: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #1: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #2: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #3: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #4: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #5: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #6: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #7: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #8: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #9: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #10: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #11: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #12: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #13: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #14: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #15: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #16: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #17: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #18: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #19: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, types: [KASAN LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG ATOMIC_SLEEP], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c75db0aac6bc574fecbf017ca437063c4df8e860c60aa4e6320af1cb269fdd4f run #0: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #1: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #2: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #3: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #4: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #5: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #6: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #7: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #8: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #9: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, types: [KASAN LOCKDEP] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3706 full=7299 leaves diff=2036 split chunks (needed=false): <2036> split chunk #0 of len 2036 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG ATOMIC_SLEEP], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d9b567f3b8bdd9c11cccc328d924a439833423859d4488479036805bc6ae2470 all runs: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG ATOMIC_SLEEP], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f6c3b4d3fe13f66239908f1dc97176a5380701f0f9e87f0952a204c8b0da986 run #0: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #1: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #2: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #3: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #4: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #5: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #6: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #7: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #8: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #9: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: WARNING: bad unlock balance in ocfs2_read_blocks, types: [LOCKDEP KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6befd09c8faecf0349cd874fd39d1198f3e17a1021c3f130316ee37db8eee646 run #0: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #1: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #2: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #3: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #4: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #5: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #6: crashed: KASAN: use-after-free Read in __ocfs2_find_path run #7: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #8: crashed: WARNING: bad unlock balance in ocfs2_read_blocks run #9: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG ATOMIC_SLEEP], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42d2ec24d3d61f097c4bc1ada24a68f292c091f1850d155a7fc8279074d4d3dd run #0: ignore: lost connection to test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [UBSAN BUG ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3a5928702e7120f83f703fd566082bfb59f1a57e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c68d710df27e4a6d0039b78a4e0771b0d8608884dad57c751268821a3c642dfa all runs: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, 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 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 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_CONFIGFS_F_MIDI USB_CONFIGFS_F_PRINTER 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 ATOMIC_SLEEP], they are not needed testing current HEAD 91786f140358b1e56efdb0feccb337ce3a59c031 testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a874bcb5f2a37fc956e669f257733c1049087b99d57e9177c873339bf0e086fc all runs: crashed: KASAN: use-after-free Read in __ocfs2_find_path representative crash: KASAN: use-after-free Read in __ocfs2_find_path, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h27m15.90800006s (build: 43m59.557820798s, test: 39m43.287240091s) crash still not fixed or there were kernel test errors commit msg: Linux 5.15.175 crash: KASAN: use-after-free Read in __ocfs2_find_path loop0: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: use-after-free in __ocfs2_find_path+0x482/0x510 fs/ocfs2/alloc.c:1817 Read of size 4 at addr ffff888064aac000 by task syz.0.16/2941 CPU: 0 PID: 2941 Comm: syz.0.16 Not tainted 5.15.175-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+0x57/0x7d lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x6c/0x309 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:451 __ocfs2_find_path+0x482/0x510 fs/ocfs2/alloc.c:1817 ocfs2_find_leaf+0x83/0x160 fs/ocfs2/alloc.c:1931 ocfs2_get_clusters_nocache+0x163/0xd30 fs/ocfs2/extent_map.c:418 ocfs2_get_clusters+0x248/0xb60 fs/ocfs2/extent_map.c:621 ocfs2_extent_map_get_blocks+0x14e/0x5a0 fs/ocfs2/extent_map.c:668 ocfs2_read_virt_blocks+0x1ca/0x650 fs/ocfs2/extent_map.c:977 ocfs2_read_dir_block+0xa7/0x440 fs/ocfs2/dir.c:508 ocfs2_find_entry_el fs/ocfs2/dir.c:715 [inline] ocfs2_find_entry+0x80c/0x1230 fs/ocfs2/dir.c:1080 ocfs2_find_files_on_disk+0x65/0x270 fs/ocfs2/dir.c:1982 ocfs2_lookup_ino_from_name+0x87/0xd0 fs/ocfs2/dir.c:2004 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:136 [inline] ocfs2_get_system_file_inode+0x1d3/0x5e0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes fs/ocfs2/super.c:458 [inline] ocfs2_initialize_super.isra.0+0x1f15/0x3420 fs/ocfs2/super.c:2276 ocfs2_fill_super+0x6c0/0x2d60 fs/ocfs2/super.c:995 mount_bdev+0x2c3/0x3a0 fs/super.c:1400 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:611 vfs_get_tree+0x83/0x1b0 fs/super.c:1530 do_new_mount fs/namespace.c:3012 [inline] path_mount+0x44f/0x1a60 fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6abbd7079a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f6abb7efe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f6abb7efef0 RCX: 00007f6abbd7079a RDX: 0000000020004440 RSI: 0000000020000780 RDI: 00007f6abb7efeb0 RBP: 0000000020004440 R08: 00007f6abb7efef0 R09: 0000000001000000 R10: 0000000001000000 R11: 0000000000000246 R12: 0000000020000780 R13: 00007f6abb7efeb0 R14: 000000000000444a R15: 00000000200005c0 The buggy address belongs to the page: page:ffffea000192ab00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x64aac flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea000192ab48 ffff8880ba03e3a0 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 0, migratetype Movable, gfp_mask 0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), pid 2941, ts 66028169084, free_ts 66172814726 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x137f/0x3210 mm/page_alloc.c:4192 __alloc_pages+0x1b2/0x440 mm/page_alloc.c:5465 alloc_pages_vma+0xe0/0x650 mm/mempolicy.c:2146 do_anonymous_page mm/memory.c:3836 [inline] handle_pte_fault mm/memory.c:4646 [inline] __handle_mm_fault+0x1d94/0x33f0 mm/memory.c:4783 handle_mm_fault+0x12e/0x500 mm/memory.c:4881 do_user_addr_fault+0x2c9/0xc90 arch/x86/mm/fault.c:1357 handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x5a/0xc0 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare+0x379/0x850 mm/page_alloc.c:1391 free_unref_page_prepare mm/page_alloc.c:3317 [inline] free_unref_page_list+0x16f/0xc20 mm/page_alloc.c:3433 release_pages+0xadc/0x1380 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x127/0x790 mm/mmu_gather.c:338 unmap_region+0x298/0x390 mm/mmap.c:2657 __do_munmap+0x47e/0x10d0 mm/mmap.c:2887 __vm_munmap+0xd2/0x1a0 mm/mmap.c:2940 __do_sys_munmap mm/mmap.c:2966 [inline] __se_sys_munmap mm/mmap.c:2962 [inline] __x64_sys_munmap+0x5d/0x80 mm/mmap.c:2962 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff888064aabf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888064aabf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888064aac000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888064aac080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888064aac100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================