ci2 starts bisection 2024-08-05 07:37:55.680152794 +0000 UTC m=+204834.297685657 bisecting fixing commit since ca48fc16c49388400eddd6c6614593ebf7c7726a building syzkaller on 90c93c40627cb0ac3c2c7cb99d807fd4c137adcb ensuring issue is reproducible on original commit ca48fc16c49388400eddd6c6614593ebf7c7726a testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c94e48c446cd4eab095a3d35cf2b29b1f0395c9678e91925fa3a253459a37d3d run #0: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #1: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #2: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #3: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #4: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #5: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #9: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #10: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #11: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #12: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #13: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #14: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #15: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #16: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #17: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #18: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #19: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode representative crash: KASAN: out-of-bounds Read in reiserfs_readdir_inode, 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 ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8d0ad09016c9d1d7c2640f8c8461ad05bf82cb10c75d72c372291053aa2a7cd run #0: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #1: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #2: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #3: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #4: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #5: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #9: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode representative crash: KASAN: use-after-free Read in reiserfs_readdir_inode, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed kconfig minimization: base=3822 full=7524 leaves diff=1993 split chunks (needed=false): <1993> split chunk #0 of len 1993 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8ba6b2ff3cdeb9ea3421a6ddfc8daf9b7ae4fed2a6dbb0e2dbdced1e1edd09c run #0: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #1: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #2: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #3: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #4: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #5: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #9: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode representative crash: KASAN: use-after-free Read in reiserfs_readdir_inode, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 865bc822b56fc54b385f228f87b06562bcaeeca550439c8982e4afa795d599c4 run #0: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #1: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #2: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #3: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #4: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #5: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #9: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode representative crash: KASAN: out-of-bounds Read in reiserfs_readdir_inode, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c761b54970a80b7c08fd4ba11c09ab2369b49ad83b6e1729bd9bc845e3685fa8 all runs: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode representative crash: KASAN: use-after-free Read in reiserfs_readdir_inode, 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 ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 02b66b67a6fe0512fc47261beac9f635f3103abe482718c662a92f77b5bf02f5 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 ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 541ed9adfc7baa12438a44ca4cc2cc31cf686996959ec932536b5041ca32d1cd run #0: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #1: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #2: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #3: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #4: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #5: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #9: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode representative crash: KASAN: use-after-free Read in reiserfs_readdir_inode, types: [KASAN] the chunk can be dropped minimized to 399 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HAVE_CLK HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN IP_SCTP L2TP LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_RETU MMC MTD MTD_UBI NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_TABLES NF_TABLES_ARP NF_TPROXY_IPV4 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 NLS_CODEPAGE_737 NLS_CODEPAGE_775 NLS_CODEPAGE_850 NLS_CODEPAGE_852 NLS_CODEPAGE_855 NLS_CODEPAGE_857 NLS_CODEPAGE_860 NLS_CODEPAGE_861 NLS_CODEPAGE_862 NLS_CODEPAGE_863 NLS_CODEPAGE_864 NLS_CODEPAGE_865 NLS_CODEPAGE_866 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_POOL 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 PM_CLK 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_NOTIFIERS 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 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_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 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_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_FAST_LOOKUP SND_CTL_LED 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_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 STAGING_MEDIA STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC SYSFB 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_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 TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TTPCI_EEPROM TTY_PRINTK TUN_VNET_CROSS_LE TWL4030_CORE TYPEC TYPEC_FUSB302 TYPEC_TCPCI TYPEC_TCPM TYPEC_TPS6598X TYPEC_UCSI 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 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_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_HOST USB_CHIPIDEA_PCI 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_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 48d525b0e4634c487cf46a41c1e2824e9ee258ce testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 20b281f7d8face238a2ccc4aa09804479ccefd927ced62e809d8dc8f2f020fdd run #0: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #1: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #2: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #3: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode run #4: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #5: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #6: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #7: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #8: crashed: KASAN: use-after-free Read in reiserfs_readdir_inode run #9: crashed: KASAN: out-of-bounds Read in reiserfs_readdir_inode representative crash: KASAN: use-after-free Read in reiserfs_readdir_inode, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h30m29.654269163s (build: 35m16.623761443s, test: 32m6.980835665s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.103 crash: KASAN: use-after-free Read in reiserfs_readdir_inode REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using r5 hash to sort names ================================================================== BUG: KASAN: use-after-free in instrument_atomic_read include/linux/instrumented.h:72 [inline] BUG: KASAN: use-after-free in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: use-after-free in test_bit_le include/asm-generic/bitops/le.h:21 [inline] BUG: KASAN: use-after-free in reiserfs_readdir_inode+0x5a0/0x1490 fs/reiserfs/dir.c:147 Read of size 8 at addr ffff88806dd05000 by task syz-executor.0/1916 CPU: 0 PID: 1916 Comm: syz-executor.0 Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xf4/0x251 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15f/0x4f0 mm/kasan/report.c:395 kasan_report+0x136/0x160 mm/kasan/report.c:495 kasan_check_range+0x27f/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] test_bit_le include/asm-generic/bitops/le.h:21 [inline] reiserfs_readdir_inode+0x5a0/0x1490 fs/reiserfs/dir.c:147 iterate_dir+0x1fa/0x500 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x1af/0x3e0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbbbbc7c959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbbbc9330c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fbbbbd9bf80 RCX: 00007fbbbbc7c959 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fbbbbcd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fbbbbd9bf80 R15: 00007fff8cfdc2e8 The buggy address belongs to the physical page: page:ffffea0001b74140 refcount:1 mapcount:1 mapping:0000000000000000 index:0x560c5e527 pfn:0x6dd05 memcg:ffff888140060000 anon flags: 0xfff800000a0014(uptodate|lru|mappedtodisk|swapbacked|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff800000a0014 ffffea0001b78188 ffffea0001b74188 ffff88807dcd8221 raw: 0000000560c5e527 0000000000000000 0000000100000000 ffff888140060000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 1910, tgid 1910 (udevd), ts 57509915022, free_ts 57206700997 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x286/0x2b0 mm/page_alloc.c:2517 prep_new_page mm/page_alloc.c:2524 [inline] get_page_from_freelist+0x2fe5/0x3170 mm/page_alloc.c:4283 __alloc_pages+0x251/0x640 mm/page_alloc.c:5551 __folio_alloc+0xf/0x30 mm/page_alloc.c:5583 vma_alloc_folio+0x484/0x9e0 mm/mempolicy.c:2243 alloc_page_vma include/linux/gfp.h:284 [inline] wp_page_copy+0x226/0x1970 mm/memory.c:3134 handle_pte_fault mm/memory.c:5031 [inline] __handle_mm_fault mm/memory.c:5155 [inline] handle_mm_fault+0x1f0f/0x42c0 mm/memory.c:5276 do_user_addr_fault arch/x86/mm/fault.c:1340 [inline] handle_page_fault arch/x86/mm/fault.c:1431 [inline] exc_page_fault+0x22a/0x5a0 arch/x86/mm/fault.c:1487 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xd6c/0xf00 mm/page_alloc.c:3362 free_unref_page_list+0x54b/0x7e0 mm/page_alloc.c:3503 release_pages+0x1e0a/0x1fe0 mm/swap.c:1055 __pagevec_release+0x62/0xd0 mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x66b/0x1b00 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x354/0x860 mm/shmem.c:1171 evict+0x263/0x630 fs/inode.c:666 __dentry_kill+0x380/0x5d0 fs/dcache.c:611 dentry_kill+0xbb/0x1e0 dput+0x154/0x2d0 fs/dcache.c:918 __fput+0x369/0x720 fs/file_table.c:328 task_work_run+0x206/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xa9/0xc0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x64/0xb0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x27/0x1b0 kernel/entry/common.c:303 do_syscall_64+0x47/0x80 arch/x86/entry/common.c:87 Memory state around the buggy address: ffff88806dd04f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806dd04f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88806dd05000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88806dd05080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806dd05100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================