ci2 starts bisection 2023-12-26 20:52:00.008459733 +0000 UTC m=+363723.332345294 bisecting fixing commit since 024f76bca9d0e29513fa99e1cd0f86bfa841743b building syzkaller on cf1845599c0bdab59c69518eaa0ecb960ec7ddf0 ensuring issue is reproducible on original commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d31eb512465a96d9735e70bf5ab40b0b7ca7fac0cd3f275daea06cbf2f589cf7 run #0: crashed: no output from test machine run #1: crashed: no output from test machine run #2: crashed: no output from test machine run #3: crashed: no output from test machine run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine run #10: crashed: no output from test machine run #11: crashed: no output from test machine run #12: crashed: no output from test machine run #13: crashed: no output from test machine run #14: crashed: no output from test machine run #15: crashed: no output from test machine run #16: crashed: no output from test machine run #17: crashed: no output from test machine run #18: crashed: no output from test machine run #19: OK representative crash: no output from test machine, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cb7f47dbee16a74831cbe23b727bda3f93179fb7c7b9b1aa061fef99baac06e4 all runs: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3820 full=7523 leaves diff=1994 split chunks (needed=false): <1994> split chunk #0 of len 1994 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 536ae23f308661507f1305af8b5f11258051d76767dee2a08727ce5f3a21d0b7 all runs: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6324688da7098864638be51e45099dab82a9292c2ef8e3c24991b989341c509b all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 590232a474fc113ba10a4eb50ab30b9b55ade53baca87ec9523ab7dfa57c13f7 run #0: crashed: no output from test machine run #1: crashed: no output from test machine run #2: crashed: no output from test machine run #3: crashed: no output from test machine run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: OK representative crash: no output from test machine, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f5b80018e86d1467c105a286634aec0d2b69d74db956b81afd51bbc1011988a all runs: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 024f76bca9d0e29513fa99e1cd0f86bfa841743b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 382c6dec7520f85d4f87475f5df748c2e566f6798ea824cc8296c59617226f77 all runs: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN] the chunk can be dropped minimized to 399 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_DISPLAY_DP_HELPER DRM_DISPLAY_HDCP_HELPER DRM_DISPLAY_HDMI_HELPER 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_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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed determining the merge base between 024f76bca9d0e29513fa99e1cd0f86bfa841743b and fbafc3e621c3f4ded43720fdb1d6ce1728ec664e 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 82ade8d6a921a76ae2c214a411354a7fe3f1ca4eec162fdeec0e5ed787356cbc run #0: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #1: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #2: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #3: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #4: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #5: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #6: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: WARNING: lock held when returning to user space in f2fs_write_single_data_page, types: [LOCKDEP UNKNOWN] testing current HEAD fbafc3e621c3f4ded43720fdb1d6ce1728ec664e testing commit fbafc3e621c3f4ded43720fdb1d6ce1728ec664e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b148892fb695746642247f831132ccc1f99377812a8626f666cd0a241a176d6 all runs: OK false negative chance: 0.000 # git bisect start fbafc3e621c3f4ded43720fdb1d6ce1728ec664e 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 48324 revisions left to test after this (roughly 16 steps) [a7a334076dd725b8c3b5d64f68e3992ffcfd1d25] Merge branches 'iommu/fixes', 'arm/smmu', 'ppc/pamu', 'virtio', 'x86/vt-d', 'core' and 'x86/amd' into next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d546cf12202c5f1a977dac1195264a46ba3cfa1676b58c42f3764d3e0edde34 run #0: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #1: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #2: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #3: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #4: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #5: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #6: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #7: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: WARNING: lock held when returning to user space in f2fs_write_single_data_page, types: [LOCKDEP] # git bisect good a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 Bisecting: 24187 revisions left to test after this (roughly 15 steps) [a031eba2956863457b2680453ca45515a1605a47] Merge tag 'csky-for-linus-6.6-2' of https://github.com/c-sky/csky-linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a031eba2956863457b2680453ca45515a1605a47 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bff1af5652e80f7f084bf0e693f54aa10bebf039616135fa7e1265eb1666e685 all runs: OK false negative chance: 0.000 # git bisect bad a031eba2956863457b2680453ca45515a1605a47 Bisecting: 12089 revisions left to test after this (roughly 14 steps) [bb8e7e9f0bc47d01bea310808ab8c27f6484d850] Merge tag 'xfs-6.5-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit bb8e7e9f0bc47d01bea310808ab8c27f6484d850 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 94d85c1c6d901c9af5e98cb55962411e5e94d7304586bae1c867d885a73817ba run #0: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #1: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #2: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #3: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #4: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: WARNING: lock held when returning to user space in f2fs_write_single_data_page, types: [LOCKDEP UNKNOWN] # git bisect good bb8e7e9f0bc47d01bea310808ab8c27f6484d850 Bisecting: 5310 revisions left to test after this (roughly 13 steps) [bd6c11bc43c496cddfc6cf603b5d45365606dbd5] Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision bb8e7e9f0bc47d01bea310808ab8c27f6484d850 crashed and is reachable testing commit bd6c11bc43c496cddfc6cf603b5d45365606dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b14f23d4ed876053f3d5d76a660333aca4f74dadb17ff35c9c1a0de761cbdb20 all runs: OK false negative chance: 0.000 # git bisect bad bd6c11bc43c496cddfc6cf603b5d45365606dbd5 Bisecting: 3391 revisions left to test after this (roughly 12 steps) [0cefdaed944d1617852762ff1f66364199cf5d7d] Bluetooth: btusb: Add support for another MediaTek 7922 VID/PID determine whether the revision contains the guilty commit revision a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 crashed and is reachable testing commit 0cefdaed944d1617852762ff1f66364199cf5d7d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 248d88240d26cb9b49b8b6617fcf0c4f8fbf3e84d0f96d51a677c63916352890 all runs: OK false negative chance: 0.000 # git bisect bad 0cefdaed944d1617852762ff1f66364199cf5d7d Bisecting: 1692 revisions left to test after this (roughly 11 steps) [88f66f13ea51029280d3f91feafb6d66296c95d0] Merge tag 'usb-6.5-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 88f66f13ea51029280d3f91feafb6d66296c95d0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 64e46039528876013529e76de8ce13ba286beb4b3d08ec92a3d8bcebf325c9e8 all runs: OK false negative chance: 0.000 # git bisect bad 88f66f13ea51029280d3f91feafb6d66296c95d0 Bisecting: 846 revisions left to test after this (roughly 10 steps) [e80698b7f8e9ddc3b23e5fba2eea7bc24c06c537] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e80698b7f8e9ddc3b23e5fba2eea7bc24c06c537 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 642bd54d1a15b6babd01ff733c2e826580f747e5a1135c95be1f997b62614749 all runs: OK false negative chance: 0.000 # git bisect bad e80698b7f8e9ddc3b23e5fba2eea7bc24c06c537 Bisecting: 422 revisions left to test after this (roughly 9 steps) [70806ee18a871140a73a2524a29865e1d904348c] Merge tag 'apparmor-pr-2023-07-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 70806ee18a871140a73a2524a29865e1d904348c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b79bfa4e384510abbcdeacba44e38225f1b637a158e7c62b14b00246c0ae77d8 all runs: OK false negative chance: 0.000 # git bisect bad 70806ee18a871140a73a2524a29865e1d904348c Bisecting: 216 revisions left to test after this (roughly 8 steps) [c17414a273b81fe4e34e11d69fc30cc8b1431614] Merge tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux determine whether the revision contains the guilty commit revision a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 crashed and is reachable testing commit c17414a273b81fe4e34e11d69fc30cc8b1431614 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a114a2054971b7e9ed2d8b40935b4bf3e75bdb3449721e429e0aeddcb2a85e25 run #0: failed: failed to run command in VM: broken console: Permission denied (publickey) 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 # git bisect bad c17414a273b81fe4e34e11d69fc30cc8b1431614 Bisecting: 79 revisions left to test after this (roughly 7 steps) [6843306689aff3aea608e4d2630b2a5a0137f827] Merge tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision bb8e7e9f0bc47d01bea310808ab8c27f6484d850 crashed and is reachable testing commit 6843306689aff3aea608e4d2630b2a5a0137f827 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e37bb0af0bb290dd0d3c2fc572ac99329be8e9d88dfd564acc34b21a68106f2 all runs: OK false negative chance: 0.000 # git bisect bad 6843306689aff3aea608e4d2630b2a5a0137f827 Bisecting: 63 revisions left to test after this (roughly 6 steps) [95c41842bcbdeab8debda1a4285850bd8235fbbe] Merge branch 'dsa-ll-fixes' determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 95c41842bcbdeab8debda1a4285850bd8235fbbe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dabe225e08d45deaa7e1a65c457ce6be2eb0fc9c9530e153a539132ab32956c0 run #0: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #1: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #2: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #3: crashed: WARNING: lock held when returning to user space in f2fs_write_single_data_page run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN LOCKDEP] # git bisect good 95c41842bcbdeab8debda1a4285850bd8235fbbe Bisecting: 31 revisions left to test after this (roughly 5 steps) [dde38c03b351749f682db087df5202b55c7c1b40] f2fs: cleanup MIN_INLINE_XATTR_SIZE determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit dde38c03b351749f682db087df5202b55c7c1b40 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 029f3f3b837636c6d3104a60f4156a47fd06878dcc562cc904e9a2d4975ed13a all runs: OK false negative chance: 0.000 # git bisect bad dde38c03b351749f682db087df5202b55c7c1b40 Bisecting: 15 revisions left to test after this (roughly 4 steps) [458c15dfbce62c35fefd9ca637b20a051309c9f1] f2fs: don't reset unchangable mount option in f2fs_remount() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 458c15dfbce62c35fefd9ca637b20a051309c9f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e0e840654ba30b9c95abc917b06d4fef96ad8470116a2951b65e2415cd9b087 all runs: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN] # git bisect good 458c15dfbce62c35fefd9ca637b20a051309c9f1 Bisecting: 7 revisions left to test after this (roughly 3 steps) [8bec7dd1b3f7d7769d433d67bde404de948a2d95] f2fs: check return value of freeze_super() determine whether the revision contains the guilty commit revision 458c15dfbce62c35fefd9ca637b20a051309c9f1 crashed and is reachable testing commit 8bec7dd1b3f7d7769d433d67bde404de948a2d95 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fafd26a53a811577dbd9ea62a9cfa829eb9565db81173eeae4915a60cb3e12a5 all runs: OK false negative chance: 0.000 # git bisect bad 8bec7dd1b3f7d7769d433d67bde404de948a2d95 Bisecting: 3 revisions left to test after this (roughly 2 steps) [20872584b8c0b006c007da9588a272c9e28d2e18] f2fs: fix to drop all dirty meta/node pages during umount() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 20872584b8c0b006c007da9588a272c9e28d2e18 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fac662d34fb5c1a2d66d2448d4f4dfd6b01f3bec39a8fbf30877fa4ac12433d0 run #0: crashed: invalid opcode in f2fs_put_super run #1: crashed: no output from test machine run #2: crashed: no output from test machine run #3: crashed: no output from test machine run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: invalid opcode in f2fs_put_super, types: [UNKNOWN] # git bisect good 20872584b8c0b006c007da9588a272c9e28d2e18 Bisecting: 1 revision left to test after this (roughly 1 step) [cadfc2f9f8c35ed429a64245a89766961dad49fa] f2fs: fix args passed to trace_f2fs_lookup_end determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit cadfc2f9f8c35ed429a64245a89766961dad49fa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 65a87c4ff8771eb49b5bc100d7502ed683d6fa2f89a53fbc472b093aff92a21f run #0: crashed: invalid opcode in f2fs_put_super run #1: crashed: invalid opcode in f2fs_put_super run #2: crashed: invalid opcode in f2fs_put_super run #3: crashed: invalid opcode in f2fs_put_super run #4: crashed: invalid opcode in f2fs_put_super run #5: crashed: invalid opcode in f2fs_put_super run #6: crashed: invalid opcode in f2fs_put_super run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: invalid opcode in f2fs_put_super, types: [UNKNOWN] # git bisect good cadfc2f9f8c35ed429a64245a89766961dad49fa Bisecting: 0 revisions left to test after this (roughly 0 steps) [5079e1c0c879311668b77075de3e701869804adf] f2fs: avoid dead loop in f2fs_issue_checkpoint() determine whether the revision contains the guilty commit revision 20872584b8c0b006c007da9588a272c9e28d2e18 crashed and is reachable testing commit 5079e1c0c879311668b77075de3e701869804adf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 933271c1497dd52e029a1f323c4300bd7b8b9303cc0a2da17656b47f44520ad8 all runs: OK false negative chance: 0.000 # git bisect bad 5079e1c0c879311668b77075de3e701869804adf 5079e1c0c879311668b77075de3e701869804adf is the first bad commit commit 5079e1c0c879311668b77075de3e701869804adf Author: Chao Yu Date: Fri Jun 2 16:36:05 2023 +0800 f2fs: avoid dead loop in f2fs_issue_checkpoint() generic/082 reports a bug as below: __schedule+0x332/0xf60 schedule+0x6f/0xf0 schedule_timeout+0x23b/0x2a0 wait_for_completion+0x8f/0x140 f2fs_issue_checkpoint+0xfe/0x1b0 f2fs_sync_fs+0x9d/0xb0 sync_filesystem+0x87/0xb0 dquot_load_quota_sb+0x41b/0x460 dquot_load_quota_inode+0xa5/0x130 dquot_quota_on+0x4b/0x60 f2fs_quota_on+0xe3/0x1b0 do_quotactl+0x483/0x700 __x64_sys_quotactl+0x15c/0x310 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc The root casue is race case as below: Thread A Kworker IRQ - write() : write data to quota.user file - writepages - f2fs_submit_page_write - __is_cp_guaranteed return false - inc_page_count(F2FS_WB_DATA) - submit_bio - quotactl(Q_QUOTAON) - f2fs_quota_on - dquot_quota_on - dquot_load_quota_inode - vfs_setup_quota_inode : inode->i_flags |= S_NOQUOTA - f2fs_write_end_io - __is_cp_guaranteed return true - dec_page_count(F2FS_WB_CP_DATA) - dquot_load_quota_sb - f2fs_sync_fs - f2fs_issue_checkpoint - do_checkpoint - f2fs_wait_on_all_pages(F2FS_WB_CP_DATA) : loop due to F2FS_WB_CP_DATA count is negative Calling filemap_fdatawrite() and filemap_fdatawait() to keep all data clean before quota file setup. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim fs/f2fs/super.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 933271c1497dd52e029a1f323c4300bd7b8b9303cc0a2da17656b47f44520ad8 parent signature: 65a87c4ff8771eb49b5bc100d7502ed683d6fa2f89a53fbc472b093aff92a21f revisions tested: 26, total time: 6h13m10.622370952s (build: 1h40m19.555789784s, test: 4h23m5.780428962s) first good commit: 5079e1c0c879311668b77075de3e701869804adf f2fs: avoid dead loop in f2fs_issue_checkpoint() recipients (to): ["chao@kernel.org" "jaegeuk@kernel.org"] recipients (cc): []