ci2 starts bisection 2024-03-26 21:49:06.355875128 +0000 UTC m=+11981.148558314 bisecting fixing commit since f1bb70486c9c11d7e2d55240d4557f9fc575fbac building syzkaller on 6404acf9ce200d01fcbe0923924c9f6c22c258de ensuring issue is reproducible on original commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5614a56896c0612bfd8a453ccc875234641398a527d73cc9c2e52b1d3a3f64e7 run #0: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #1: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #4: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #5: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #6: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #7: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #8: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #10: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #11: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #12: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #13: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #14: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #15: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #16: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #17: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #18: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #19: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0b033e29320b230d967d29115268c72dabfaaaf8e52cd0996918b1632f4bf138 run #0: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #1: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #4: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #5: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #6: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #7: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #8: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3820 full=7455 leaves diff=1990 split chunks (needed=false): <1990> split chunk #0 of len 1990 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c982cf6edf5453ebd295f26084f95131f2144b3c1a8825d8cc311616ef749929 all runs: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6d15707f8828ba8fb7ccda45946157ff10dff2866ba8258c112aaff6c2eb09ad all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c78353a244b3bcd0523517938cb8c78ed5ed78cd70cc48c54e2c10859e0a054c run #0: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #1: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #4: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #5: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #6: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #7: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #8: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, 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 f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2588923dcd578bbccda49ff4e8dfacf3c9cd52c121c6fa4152644b6df7ecd6c run #0: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #1: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #4: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #5: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #6: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #7: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #8: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cfca7e9f923a3decb36f9448e6af6b4c338451e68da7a8519d90a99929613e2b run #0: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #1: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #4: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #5: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #6: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #7: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #8: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, types: [KASAN] the chunk can be dropped minimized to 398 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_DISPLAY_HELPER DRM_DP_AUX_BUS DRM_DP_AUX_CHARDEV DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_NOMODESET 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_VKMS DRM_VMWGFX DRM_VRAM_HELPER 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_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_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 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_CMDLINE FB_DEFERRED_IO FB_NOTIFY FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_FOPS 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 FRONTSWAP FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS 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 GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB 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_EVENTFD HAVE_KVM_IRQCHIP HAVE_KVM_IRQFD HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER 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_CMEDIA HID_CORSAIR HID_CP2112 HID_ELECOM HID_ELO HID_EMS_FF HID_GEMBIRD HID_GFRM HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MAGICMOUSE HID_MAYFLASH 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_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS 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_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TWINHAN HID_UCLOGIC HID_UDRAW_PS3 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 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_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_SOC_PMIC_CHTWC INTERVAL_TREE IOMMU_SVA 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_CLUSTERIP 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_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC IP_VS_MH IP_VS_NFCT IP_VS_NQ IP_VS_OVF IP_VS_PE_SIP IP_VS_PROTO_AH IP_VS_PROTO_AH_ESP IP_VS_PROTO_TCP IP_VS_PROTO_UDP 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_FWD_NETDEV NF_TABLES NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing current HEAD d7543167affd372819a94879b8b1e8b9b12547d9 testing commit d7543167affd372819a94879b8b1e8b9b12547d9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c86a86ebff4f606fbc046de1c88a883f9e75c28edd1f39af5e6a5435ea6c613 run #0: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #1: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #2: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #3: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #4: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #5: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #6: crashed: KASAN: use-after-free Read in z_erofs_transform_plain run #7: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #8: crashed: KASAN: slab-out-of-bounds Read in z_erofs_transform_plain run #9: crashed: KASAN: use-after-free Read in z_erofs_transform_plain representative crash: KASAN: use-after-free Read in z_erofs_transform_plain, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 3h1m46.629819058s (build: 2h22m28.631187835s, test: 36m1.461050516s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.82 crash: KASAN: use-after-free Read in z_erofs_transform_plain loop0: detected capacity change from 0 to 16 erofs: (device loop0): mounted with root inode @ nid 36. ================================================================== BUG: KASAN: use-after-free in z_erofs_transform_plain+0x2f7/0x3e0 fs/erofs/decompressor.c:356 Read of size 4096 at addr ffff88817b0ef000 by task syz-executor.0/1863 CPU: 1 PID: 1863 Comm: syz-executor.0 Not tainted 6.1.82-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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 memcpy+0x25/0x60 mm/kasan/shadow.c:65 z_erofs_transform_plain+0x2f7/0x3e0 fs/erofs/decompressor.c:356 z_erofs_decompress_pcluster fs/erofs/zdata.c:1173 [inline] z_erofs_decompress_queue+0x1822/0x2920 fs/erofs/zdata.c:1256 z_erofs_runqueue+0x1516/0x16e0 fs/erofs/zdata.c:1614 z_erofs_read_folio+0x3af/0x590 fs/erofs/zdata.c:1709 filemap_read_folio+0xc1/0x440 mm/filemap.c:2461 filemap_update_page mm/filemap.c:2546 [inline] filemap_get_pages mm/filemap.c:2660 [inline] filemap_read+0x1359/0x24d0 mm/filemap.c:2730 __kernel_read+0x393/0x6e0 fs/read_write.c:428 integrity_kernel_read+0xa3/0xf0 security/integrity/iint.c:228 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x71a/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x446/0xa50 security/integrity/ima/ima_api.c:293 process_measurement+0xddb/0x1890 security/integrity/ima/ima_main.c:351 ima_file_check+0xe3/0x160 security/integrity/ima/ima_main.c:534 do_open fs/namei.c:3630 [inline] path_openat+0x2236/0x27d0 fs/namei.c:3785 do_filp_open+0x226/0x430 fs/namei.c:3812 do_sys_openat2+0x10b/0x420 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_open fs/open.c:1342 [inline] __se_sys_open fs/open.c:1338 [inline] __x64_sys_open+0x1eb/0x240 fs/open.c:1338 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f82a107dda9 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:00007f82a1d2a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f82a11abf80 RCX: 00007f82a107dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f82a10ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f82a11abf80 R15: 00007ffcaf194a08 Allocated by task 1607: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x54/0x3e0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x10c/0x290 mm/slub.c:3422 vm_area_alloc+0x1b/0xd0 kernel/fork.c:458 mmap_region+0xa30/0x1910 mm/mmap.c:2743 do_mmap+0x69e/0xb60 mm/mmap.c:1425 vm_mmap_pgoff+0x1b7/0x280 mm/util.c:520 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 1607: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x122/0x1e0 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x2e8/0x510 mm/slub.c:3683 remove_vma mm/mmap.c:144 [inline] exit_mmap+0x34e/0x730 mm/mmap.c:3249 __mmput+0x9b/0x2d0 kernel/fork.c:1199 exit_mm+0x122/0x1b0 kernel/exit.c:563 do_exit+0x81e/0x2400 kernel/exit.c:856 do_group_exit+0x1b5/0x280 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff88817b0ef000 which belongs to the cache vm_area_struct of size 144 The buggy address is located 0 bytes inside of 144-byte region [ffff88817b0ef000, ffff88817b0ef090) The buggy address belongs to the physical page: page:ffffea0005ec3bc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x17b0ef flags: 0x100000000000200(slab|node=0|zone=2) raw: 0100000000000200 ffffea000429be80 dead000000000006 ffff888100195b40 raw: 0000000000000000 0000000000130013 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 792, tgid 792 (dhcpcd-run-hook), ts 9424581029, free_ts 9422772236 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x286/0x2b0 mm/page_alloc.c:2513 prep_new_page mm/page_alloc.c:2520 [inline] get_page_from_freelist+0x398c/0x3b60 mm/page_alloc.c:4279 __alloc_pages+0x251/0x640 mm/page_alloc.c:5545 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x70/0x250 mm/slub.c:1992 ___slab_alloc+0x9df/0xe70 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x18b/0x290 mm/slub.c:3422 vm_area_dup kernel/fork.c:466 [inline] dup_mmap kernel/fork.c:645 [inline] dup_mm kernel/fork.c:1540 [inline] copy_mm+0x9ab/0x1510 kernel/fork.c:1589 copy_process+0x127d/0x3510 kernel/fork.c:2267 kernel_clone+0x190/0x680 kernel/fork.c:2682 __do_sys_clone kernel/fork.c:2823 [inline] __se_sys_clone kernel/fork.c:2807 [inline] __x64_sys_clone+0x22c/0x270 kernel/fork.c:2807 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1440 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0xd38/0xed0 mm/page_alloc.c:3358 free_unref_page_list+0x54b/0x7e0 mm/page_alloc.c:3499 release_pages+0x17bd/0x1960 mm/swap.c:1055 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu+0xe5/0x1d0 mm/mmu_gather.c:261 tlb_finish_mmu+0xb0/0x1b0 mm/mmu_gather.c:361 exit_mmap+0x341/0x730 mm/mmap.c:3239 __mmput+0x9b/0x2d0 kernel/fork.c:1199 exit_mm+0x122/0x1b0 kernel/exit.c:563 do_exit+0x81e/0x2400 kernel/exit.c:856 do_group_exit+0x1b5/0x280 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffff88817b0eef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88817b0eef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88817b0ef000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88817b0ef080: fb fb fc fc fc fc fc fc fc fc fa fb fb fb fb fb ffff88817b0ef100: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ==================================================================