ci2 starts bisection 2023-10-24 06:49:35.417716323 +0000 UTC m=+23355.968598508 bisecting fixing commit since 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af building syzkaller on da3c3ef8d98b7ba08828daa5b40f59b2dbc0ceaf ensuring issue is reproducible on original commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5cbdb973e359a8d5612515acb5edf0e199baf75f9e82232a38e2f182224274ce all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3adaa0ad2c9207d79650aea27bff2eb1368e36be6ad698e43a86307b2d6fe458 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=7498 full=9694 leaves diff=1937 split chunks (needed=false): <1937> split chunk #0 of len 1937 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7b88cf664298dc18a8aecdf75a4bad2fc5621f73ec219a9a058590105a78c275 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b8b9b40262bc08738b47ee9a5230b5c15b745715169ccccc440d156fda4c1219 all runs: boot failed: can't ssh into the instance unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fec8d5ac6768cc634093cdface7ec6b56d48f897175c7527cadd61ac26b6219a all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bb321b4d40b47f96c97f65fbeaec9b2c595448331c633fc8196950cf18b3bde4 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92fd804749cdbc1e96ff2069ded0039e59f826cc152942b4489bb7bead1a2552 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] the chunk can be dropped minimized to 388 configs; suspects: [6LOWPAN ACPI_VIDEO DLM DRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_V3D DRM_VC4 DRM_VGEM DRM_VIRTIO_GPU DRM_VKMS DRM_VRAM_HELPER DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB 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 E100 ECRYPT_FS ECRYPT_FS_MESSAGING 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_POSIX_ACL EXT3_FS_SECURITY EXT4_FS_SECURITY 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 FB_DEFERRED_IO FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_FOPS FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VIRTUAL FDDI FIB_RULES FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FRAMEBUFFER_CONSOLE_ROTATION FRONTSWAP FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FW_LOADER_COMPRESS FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIO_DLN2 GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GTP GVE HAVE_ARCH_USERFAULTFD_MINOR HAVE_IMA_KEXEC HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HIDRAW 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_GYRATION 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_NTI HID_NTRIG HID_ORTEK HID_PENMOUNT HID_PETALYNX HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PID HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SAMSUNG 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_SUNPLUS HID_THINGM HID_TIVO HID_TOPSEED HID_TWINHAN HID_UCLOGIC HID_UDRAW_PS3 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPFS_FS I2C_DIOLAN_U2C I2C_DLN2 I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB 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_AH INET6_ESP INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_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_JOYSTICK 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 IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_IPV6HEADER IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL 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_ADVANCED_ROUTER IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE IP_MROUTE_COMMON 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_PIMSM_V1 IP_PIMSM_V2 IP_PNP_RARP IP_ROUTE_CLASSID IP_ROUTE_MULTIPATH IP_ROUTE_VERBOSE 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_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_ESP IP_VS_PROTO_SCTP IP_VS_PROTO_TCP IP_VS_PROTO_UDP IP_VS_RR IP_VS_SED IP_VS_SH IP_VS_TWOS IP_VS_WLC IP_VS_WRR IR_IGORPLUGUSB IR_IGUANA IR_IMON IR_MCEUSB IR_REDRAT3 IR_STREAMZAP IR_TTUSBIR ISDN ISDN_CAPI_MIDDLEWARE ISO9660_FS JFFS2_CMODE_PRIORITY JFFS2_COMPRESSION_OPTIONS JFFS2_FS JFFS2_FS_POSIX_ACL JFFS2_FS_SECURITY JFFS2_FS_WRITEBUFFER JFFS2_FS_XATTR JFFS2_LZO JFFS2_RTIME JFFS2_RUBIN JFFS2_SUMMARY JFFS2_ZLIB JFS_DEBUG JFS_FS JFS_POSIX_ACL JFS_SECURITY JOLIET JOYSTICK_IFORCE JOYSTICK_IFORCE_USB JOYSTICK_XPAD JOYSTICK_XPAD_FF JOYSTICK_XPAD_LEDS KARMA_PARTITION KCOV KCOV_ENABLE_COMPARISONS KCOV_INSTRUMENT_ALL KEYS_REQUEST_CACHE KEY_DH_OPERATIONS LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_RADIO_SUPPORT MEDIA_TEST_SUPPORT MFD_DLN2 MFD_VIPERBOARD MPTCP NET_IPGRE_DEMUX NFT_FWD_NETDEV NF_CONNTRACK_FTP NF_CONNTRACK_SIP NF_TABLES NF_TABLES_NETDEV PARTITION_ADVANCED RADIO_ADAPTERS RADIO_SI4713 RFKILL SND SND_SOC SOUND WAN XFRM ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing current HEAD 7d24402875c75ca6e43aa27ae3ce2042bde259a4 testing commit 7d24402875c75ca6e43aa27ae3ce2042bde259a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 09cc040d3c1f615cc6689eea6eb7dd7ddaa0419859ef429d502b0faa2525b18e all runs: OK false negative chance: 0.000 # git bisect start 7d24402875c75ca6e43aa27ae3ce2042bde259a4 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af Bisecting: 1075 revisions left to test after this (roughly 10 steps) [91a05d4c12ce5f286319d0c7d4e4f95d7420384e] driver core: Call dma_cleanup() on the test_remove path determine whether the revision contains the guilty commit revision 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af crashed and is reachable testing commit 91a05d4c12ce5f286319d0c7d4e4f95d7420384e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 98133476219c860d743cfba54030db59f418178a54906cb0ed486a4ad539e89d all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] # git bisect good 91a05d4c12ce5f286319d0c7d4e4f95d7420384e Bisecting: 537 revisions left to test after this (roughly 9 steps) [39c4a9522db0072570d602e9b365119e17fb9f4f] btrfs: remove BUG() after failure to insert delayed dir index item determine whether the revision contains the guilty commit revision 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af crashed and is reachable testing commit 39c4a9522db0072570d602e9b365119e17fb9f4f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e14dd1bc6ccd90db6c1fab1e56235e13428efc9ee58662dfbd5f00fe16bcf3b0 all runs: OK false negative chance: 0.000 # git bisect bad 39c4a9522db0072570d602e9b365119e17fb9f4f Bisecting: 268 revisions left to test after this (roughly 8 steps) [923877254f002ae87d441382bb1096d9e773d56d] bpf, sockmap: Fix skb refcnt race after locking changes determine whether the revision contains the guilty commit revision 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af crashed and is reachable testing commit 923877254f002ae87d441382bb1096d9e773d56d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 20d1fe461144c184fb5ad42bd36884513edc85fe5e262c8da02f5060d13a8e22 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] # git bisect good 923877254f002ae87d441382bb1096d9e773d56d Bisecting: 134 revisions left to test after this (roughly 7 steps) [f04b40cb70a599c6336f782a963fc8115ba57f48] wifi: wil6210: fix fortify warnings determine whether the revision contains the guilty commit revision 91a05d4c12ce5f286319d0c7d4e4f95d7420384e crashed and is reachable testing commit f04b40cb70a599c6336f782a963fc8115ba57f48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f08cb8591c399900ed28fcec06935afb44ac391888771742ee1b75e6a7ab550a all runs: OK false negative chance: 0.000 # git bisect bad f04b40cb70a599c6336f782a963fc8115ba57f48 Bisecting: 66 revisions left to test after this (roughly 6 steps) [5b2b0535fa7adee7e295fed0a3095082131a8d05] KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state determine whether the revision contains the guilty commit revision 923877254f002ae87d441382bb1096d9e773d56d crashed and is reachable testing commit 5b2b0535fa7adee7e295fed0a3095082131a8d05 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9e2cc7e78017ac36398af07cc13861a2214f82af5196bd0b38e4b087879a068e all runs: OK false negative chance: 0.000 # git bisect bad 5b2b0535fa7adee7e295fed0a3095082131a8d05 Bisecting: 33 revisions left to test after this (roughly 5 steps) [6ea18981bb8af9b3b0c0497b11f334f136dc1b3a] dmaengine: sh: rz-dmac: Fix destination and source data size setting determine whether the revision contains the guilty commit revision 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af crashed and is reachable testing commit 6ea18981bb8af9b3b0c0497b11f334f136dc1b3a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5370c68a582cc5cb490b33e9443b1ca4c6cb6e07ce3923c60bec8f9bf38e726c all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] # git bisect good 6ea18981bb8af9b3b0c0497b11f334f136dc1b3a Bisecting: 16 revisions left to test after this (roughly 4 steps) [f933a1c43b68103c4deaf2e4289fc1e65428d8b4] btrfs: free qgroup rsv on io failure determine whether the revision contains the guilty commit revision 6ea18981bb8af9b3b0c0497b11f334f136dc1b3a crashed and is reachable testing commit f933a1c43b68103c4deaf2e4289fc1e65428d8b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08901020e832b3af90144daa4ef8649ecd57ef6a356075a02ff6b0ceb4d58e36 all runs: OK false negative chance: 0.000 # git bisect bad f933a1c43b68103c4deaf2e4289fc1e65428d8b4 Bisecting: 8 revisions left to test after this (roughly 3 steps) [0649dc0af93acac75eaf03ac898f28bd65479984] lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix() determine whether the revision contains the guilty commit revision 6ea18981bb8af9b3b0c0497b11f334f136dc1b3a crashed and is reachable testing commit 0649dc0af93acac75eaf03ac898f28bd65479984 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3a1463efc5a323f226ab7212cbe417fbc5bf08fad727831bd322a3314f0c9e22 all runs: OK false negative chance: 0.000 # git bisect bad 0649dc0af93acac75eaf03ac898f28bd65479984 Bisecting: 3 revisions left to test after this (roughly 2 steps) [03393857a95b59d5dfa9fd06e597d289d7e060d1] ext4: add correct group descriptors and reserved GDT blocks to system zone determine whether the revision contains the guilty commit revision 923877254f002ae87d441382bb1096d9e773d56d crashed and is reachable testing commit 03393857a95b59d5dfa9fd06e597d289d7e060d1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7724b1b9b7b4a54ae46dbb5261b47d841ed74669f05b8774a189c9d90faf961a all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] # git bisect good 03393857a95b59d5dfa9fd06e597d289d7e060d1 Bisecting: 1 revision left to test after this (roughly 1 step) [1c64dbe8fa3552a340bca6d7fa09468c16ed2a85] f2fs: flush inode if atomic file is aborted determine whether the revision contains the guilty commit revision 0a4a7855302d56a1d75cec3aa9a6914a3af9c6af crashed and is reachable testing commit 1c64dbe8fa3552a340bca6d7fa09468c16ed2a85 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 39a24a36652dde87d90d87837bba6c65ce995fd8f344058294491be520860fa8 all runs: crashed: possible deadlock in f2fs_getxattr representative crash: possible deadlock in f2fs_getxattr, types: [LOCKDEP] # git bisect good 1c64dbe8fa3552a340bca6d7fa09468c16ed2a85 Bisecting: 0 revisions left to test after this (roughly 0 steps) [980b592c60874d9b8bca5663549edc73acd42946] f2fs: avoid false alarm of circular locking determine whether the revision contains the guilty commit revision 923877254f002ae87d441382bb1096d9e773d56d crashed and is reachable testing commit 980b592c60874d9b8bca5663549edc73acd42946 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a1c8267a40bb7cf9e4adaf0bbc5da1c58b8f0b3946a45d6afa00d9f27e756da2 all runs: OK false negative chance: 0.000 # git bisect bad 980b592c60874d9b8bca5663549edc73acd42946 980b592c60874d9b8bca5663549edc73acd42946 is the first bad commit commit 980b592c60874d9b8bca5663549edc73acd42946 Author: Jaegeuk Kim Date: Fri Aug 18 11:34:32 2023 -0700 f2fs: avoid false alarm of circular locking commit 5c13e2388bf3426fd69a89eb46e50469e9624e56 upstream. ====================================================== WARNING: possible circular locking dependency detected 6.5.0-rc5-syzkaller-00353-gae545c3283dc #0 Not tainted ------------------------------------------------------ syz-executor273/5027 is trying to acquire lock: ffff888077fe1fb0 (&fi->i_sem){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline] ffff888077fe1fb0 (&fi->i_sem){+.+.}-{3:3}, at: f2fs_add_inline_entry+0x300/0x6f0 fs/f2fs/inline.c:644 but task is already holding lock: ffff888077fe07c8 (&fi->i_xattr_sem){.+.+}-{3:3}, at: f2fs_down_read fs/f2fs/f2fs.h:2108 [inline] ffff888077fe07c8 (&fi->i_xattr_sem){.+.+}-{3:3}, at: f2fs_add_dentry+0x92/0x230 fs/f2fs/dir.c:783 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&fi->i_xattr_sem){.+.+}-{3:3}: down_read+0x9c/0x470 kernel/locking/rwsem.c:1520 f2fs_down_read fs/f2fs/f2fs.h:2108 [inline] f2fs_getxattr+0xb1e/0x12c0 fs/f2fs/xattr.c:532 __f2fs_get_acl+0x5a/0x900 fs/f2fs/acl.c:179 f2fs_acl_create fs/f2fs/acl.c:377 [inline] f2fs_init_acl+0x15c/0xb30 fs/f2fs/acl.c:420 f2fs_init_inode_metadata+0x159/0x1290 fs/f2fs/dir.c:558 f2fs_add_regular_entry+0x79e/0xb90 fs/f2fs/dir.c:740 f2fs_add_dentry+0x1de/0x230 fs/f2fs/dir.c:788 f2fs_do_add_link+0x190/0x280 fs/f2fs/dir.c:827 f2fs_add_link fs/f2fs/f2fs.h:3554 [inline] f2fs_mkdir+0x377/0x620 fs/f2fs/namei.c:781 vfs_mkdir+0x532/0x7e0 fs/namei.c:4117 do_mkdirat+0x2a9/0x330 fs/namei.c:4140 __do_sys_mkdir fs/namei.c:4160 [inline] __se_sys_mkdir fs/namei.c:4158 [inline] __x64_sys_mkdir+0xf2/0x140 fs/namei.c:4158 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd -> #0 (&fi->i_sem){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3142 [inline] check_prevs_add kernel/locking/lockdep.c:3261 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0x2e3d/0x5de0 kernel/locking/lockdep.c:5144 lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726 down_write+0x93/0x200 kernel/locking/rwsem.c:1573 f2fs_down_write fs/f2fs/f2fs.h:2133 [inline] f2fs_add_inline_entry+0x300/0x6f0 fs/f2fs/inline.c:644 f2fs_add_dentry+0xa6/0x230 fs/f2fs/dir.c:784 f2fs_do_add_link+0x190/0x280 fs/f2fs/dir.c:827 f2fs_add_link fs/f2fs/f2fs.h:3554 [inline] f2fs_mkdir+0x377/0x620 fs/f2fs/namei.c:781 vfs_mkdir+0x532/0x7e0 fs/namei.c:4117 ovl_do_mkdir fs/overlayfs/overlayfs.h:196 [inline] ovl_mkdir_real+0xb5/0x370 fs/overlayfs/dir.c:146 ovl_workdir_create+0x3de/0x820 fs/overlayfs/super.c:309 ovl_make_workdir fs/overlayfs/super.c:711 [inline] ovl_get_workdir fs/overlayfs/super.c:864 [inline] ovl_fill_super+0xdab/0x6180 fs/overlayfs/super.c:1400 vfs_get_super+0xf9/0x290 fs/super.c:1152 vfs_get_tree+0x88/0x350 fs/super.c:1519 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- rlock(&fi->i_xattr_sem); lock(&fi->i_sem); lock(&fi->i_xattr_sem); lock(&fi->i_sem); Cc: Reported-and-tested-by: syzbot+e5600587fa9cbf8e3826@syzkaller.appspotmail.com Fixes: 5eda1ad1aaff "f2fs: fix deadlock in i_xattr_sem and inode page lock" Tested-by: Guenter Roeck Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim Signed-off-by: Greg Kroah-Hartman fs/f2fs/f2fs.h | 24 +++++++++++++++--------- fs/f2fs/inline.c | 3 ++- 2 files changed, 17 insertions(+), 10 deletions(-) accumulated error probability: 0.00 culprit signature: a1c8267a40bb7cf9e4adaf0bbc5da1c58b8f0b3946a45d6afa00d9f27e756da2 parent signature: 39a24a36652dde87d90d87837bba6c65ce995fd8f344058294491be520860fa8 revisions tested: 19, total time: 3h16m59.907052262s (build: 1h25m19.313320287s, test: 1h45m17.227507707s) first good commit: 980b592c60874d9b8bca5663549edc73acd42946 f2fs: avoid false alarm of circular locking recipients (to): ["chao@kernel.org" "gregkh@linuxfoundation.org" "jaegeuk@kernel.org" "linux@roeck-us.net" "syzbot+e5600587fa9cbf8e3826@syzkaller.appspotmail.com"] recipients (cc): []