ci2 starts bisection 2023-12-15 17:12:38.032800504 +0000 UTC m=+165321.021377324 bisecting fixing commit since 3b29299e5f604550faf3eff811d6cd60b4c6cae6 building syzkaller on f325deb023e4e2fb9197004be1b3da738680429c ensuring issue is reproducible on original commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ccc0a4930327afbf43ad182fdf7b8b9123576741f569787bb0dfab171e56247a all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6fadfa7311801e54dda4d70cd5cc9c5487e34cc120c4595c5a31aa663276db1e all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3820 full=7521 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 71ca863bf5e9ceaf866194dd5a4cd39f91b3f3e3a112833f4c0ee0ea5a16a338 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c1ff713e8bde018a666f14fbf24c5dc13b57164fccd5b368c63ae3339d613cc0 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 91b35e005bf1fc2b5aeae04137e8daa845cf1f34c14e7debd18adf8cc39d08c9 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 40e2d8359a2a9d55ef78aa94303221432982be87fc9eac2f1c102603793c23e0 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62c8ba15b6d5612cea0c8d6c7c6a9b654bff1535beebff63d5fc68805eb579ad all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] the chunk can be dropped minimized to 398 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 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 TARGET_CORE 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_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing current HEAD ba6f5fb465114fcd48ddb2c7a7740915b2289d6b testing commit ba6f5fb465114fcd48ddb2c7a7740915b2289d6b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3335a6af98b9c0868f04396c9429b9badc6a94aaec913a0c7c8fef580faf4202 all runs: OK false negative chance: 0.000 # git bisect start ba6f5fb465114fcd48ddb2c7a7740915b2289d6b 3b29299e5f604550faf3eff811d6cd60b4c6cae6 Bisecting: 3773 revisions left to test after this (roughly 12 steps) [e139cc2974b801f3f6e38efa047a7e3b7121fc8d] drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() determine whether the revision contains the guilty commit revision 3b29299e5f604550faf3eff811d6cd60b4c6cae6 crashed and is reachable testing commit e139cc2974b801f3f6e38efa047a7e3b7121fc8d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f5d77515f4108039ef3333d7a09e3e2e48d5bc59be251bfe7ae177d4ac051b0 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good e139cc2974b801f3f6e38efa047a7e3b7121fc8d Bisecting: 1887 revisions left to test after this (roughly 11 steps) [a687e817d814a161dc47c72430404a2a8a6c5f69] selftests/ftrace: Correctly enable event in instance-event.tc determine whether the revision contains the guilty commit revision 3b29299e5f604550faf3eff811d6cd60b4c6cae6 crashed and is reachable testing commit a687e817d814a161dc47c72430404a2a8a6c5f69 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 56fec7c7c0f219bcc19358ea769880f57ef88b6bae92a7bd19b676a2ee3ebb8d all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good a687e817d814a161dc47c72430404a2a8a6c5f69 Bisecting: 943 revisions left to test after this (roughly 10 steps) [5e989aeb40220e90c48b2d2e6352b19d9cd151c4] crypto: qat - extend buffer list interface determine whether the revision contains the guilty commit revision 3b29299e5f604550faf3eff811d6cd60b4c6cae6 crashed and is reachable testing commit 5e989aeb40220e90c48b2d2e6352b19d9cd151c4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3429ebe6d3b618af7c938ac2287c1a48f0dc7337c4826fa6d0ed244c15608b12 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good 5e989aeb40220e90c48b2d2e6352b19d9cd151c4 Bisecting: 471 revisions left to test after this (roughly 9 steps) [fc3423d55c86c212d4855ec9e159c6c77d7b21c2] bluetooth: Add device 0bda:887b to device tables determine whether the revision contains the guilty commit revision 3b29299e5f604550faf3eff811d6cd60b4c6cae6 crashed and is reachable testing commit fc3423d55c86c212d4855ec9e159c6c77d7b21c2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 31292044657b64cceaec8d46d41fc4514eda52508e9facdaf28ad674da0c2965 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good fc3423d55c86c212d4855ec9e159c6c77d7b21c2 Bisecting: 235 revisions left to test after this (roughly 8 steps) [aef2d5b3e56e1491d4f15e7a707d3bcb0ebe2411] octeontx2-af: Install TC filter rules in hardware based on priority determine whether the revision contains the guilty commit revision e139cc2974b801f3f6e38efa047a7e3b7121fc8d crashed and is reachable testing commit aef2d5b3e56e1491d4f15e7a707d3bcb0ebe2411 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c9a4145b8964eb55b4ceda9a4defd0f3c9756e81dfa5a0ea18be36964b79488 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good aef2d5b3e56e1491d4f15e7a707d3bcb0ebe2411 Bisecting: 117 revisions left to test after this (roughly 7 steps) [59a022a869b16cb28de2d7e92087006ac76db173] RDMA/bnxt_re: Correct module description string determine whether the revision contains the guilty commit revision 5e989aeb40220e90c48b2d2e6352b19d9cd151c4 crashed and is reachable testing commit 59a022a869b16cb28de2d7e92087006ac76db173 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 05dd9b0346c21234a52c08797b087385e001831ac2f74fe655af57efb6c57b87 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good 59a022a869b16cb28de2d7e92087006ac76db173 Bisecting: 58 revisions left to test after this (roughly 6 steps) [766b29f6141acea1a2391d6ea0f8c438e39cadbf] coresight: etm4x: Make etm4_remove_dev() return void determine whether the revision contains the guilty commit revision 3b29299e5f604550faf3eff811d6cd60b4c6cae6 crashed and is reachable testing commit 766b29f6141acea1a2391d6ea0f8c438e39cadbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cffcbd008caf4a6d86fe487f75b5f56bc8c2fd5bf43bf116e2464ebfe8c744a1 all runs: OK false negative chance: 0.000 # git bisect bad 766b29f6141acea1a2391d6ea0f8c438e39cadbf Bisecting: 29 revisions left to test after this (roughly 5 steps) [dc1141ae5ca2d69378fdfe45b631269d79629749] ALSA: pcm: fix out-of-bounds in snd_pcm_state_names determine whether the revision contains the guilty commit revision fc3423d55c86c212d4855ec9e159c6c77d7b21c2 crashed and is reachable testing commit dc1141ae5ca2d69378fdfe45b631269d79629749 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2e74d380eb2daf5c785e2b2b360bb8030beaabd07a380c50eab06882bb34c235 all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good dc1141ae5ca2d69378fdfe45b631269d79629749 Bisecting: 14 revisions left to test after this (roughly 4 steps) [bcd50a3bd637cece5303d4824485b89ce5c9871a] regmap: fix bogus error on regcache_sync success determine whether the revision contains the guilty commit revision 5e989aeb40220e90c48b2d2e6352b19d9cd151c4 crashed and is reachable testing commit bcd50a3bd637cece5303d4824485b89ce5c9871a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bba4cca6f1ac8b8a300e311398af2e7559a64f4486122e521c6f342dc35b8601 all runs: OK false negative chance: 0.000 # git bisect bad bcd50a3bd637cece5303d4824485b89ce5c9871a Bisecting: 7 revisions left to test after this (roughly 3 steps) [4c00f01832f27eb90e3e5a803a91ac28049d281f] cgroup_freezer: cgroup_freezing: Check if not frozen determine whether the revision contains the guilty commit revision e139cc2974b801f3f6e38efa047a7e3b7121fc8d crashed and is reachable testing commit 4c00f01832f27eb90e3e5a803a91ac28049d281f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ed6b17e0bdcf0dcfaae1bf3f354417b08eb213298bb79ab4a3cf5a4f426f00b all runs: OK false negative chance: 0.000 # git bisect bad 4c00f01832f27eb90e3e5a803a91ac28049d281f Bisecting: 3 revisions left to test after this (roughly 2 steps) [c4dcc915ea22557c7f1ffe1c27e9e72ce6af43d2] ALSA: hda/realtek: Add Framework laptop 16 to quirks determine whether the revision contains the guilty commit revision fc3423d55c86c212d4855ec9e159c6c77d7b21c2 crashed and is reachable testing commit c4dcc915ea22557c7f1ffe1c27e9e72ce6af43d2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9bfec3a2bb58486ebf228aaaed92251cc5b013d7cc36f4deeb42cc3a19337f9d all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good c4dcc915ea22557c7f1ffe1c27e9e72ce6af43d2 Bisecting: 1 revision left to test after this (roughly 1 step) [c344e99dd8120804109a762f8e3eb6f74236de7c] nilfs2: fix missing error check for sb_set_blocksize call determine whether the revision contains the guilty commit revision fc3423d55c86c212d4855ec9e159c6c77d7b21c2 crashed and is reachable testing commit c344e99dd8120804109a762f8e3eb6f74236de7c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e04c200c06190c6c5fc6621b5631ddb9f910b5f911a5de30e85ab706cba3f9df all runs: crashed: WARNING in nilfs_sufile_set_segment_usage representative crash: WARNING in nilfs_sufile_set_segment_usage, types: [WARNING] # git bisect good c344e99dd8120804109a762f8e3eb6f74236de7c Bisecting: 0 revisions left to test after this (roughly 0 steps) [3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d] nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() determine whether the revision contains the guilty commit revision e139cc2974b801f3f6e38efa047a7e3b7121fc8d crashed and is reachable testing commit 3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dc9a5c8560423b58eac6857a23ed8eb149f291c82a0418c83d6308f70bc3d7ac all runs: OK false negative chance: 0.000 # git bisect bad 3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d 3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d is the first bad commit commit 3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d Author: Ryusuke Konishi Date: Tue Dec 5 17:59:47 2023 +0900 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() commit 675abf8df1353e0e3bde314993e0796c524cfbf0 upstream. If nilfs2 reads a disk image with corrupted segment usage metadata, and its segment usage information is marked as an error for the segment at the write location, nilfs_sufile_set_segment_usage() can trigger WARN_ONs during log writing. Segments newly allocated for writing with nilfs_sufile_alloc() will not have this error flag set, but this unexpected situation will occur if the segment indexed by either nilfs->ns_segnum or nilfs->ns_nextnum (active segment) was marked in error. Fix this issue by inserting a sanity check to treat it as a file system corruption. Since error returns are not allowed during the execution phase where nilfs_sufile_set_segment_usage() is used, this inserts the sanity check into nilfs_sufile_mark_dirty() which pre-reads the buffer containing the segment usage record to be updated and sets it up in a dirty state for writing. In addition, nilfs_sufile_set_segment_usage() is also called when canceling log writing and undoing segment usage update, so in order to avoid issuing the same kernel warning in that case, in case of cancellation, avoid checking the error flag in nilfs_sufile_set_segment_usage(). Link: https://lkml.kernel.org/r/20231205085947.4431-1-konishi.ryusuke@gmail.com Signed-off-by: Ryusuke Konishi Reported-by: syzbot+14e9f834f6ddecece094@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=14e9f834f6ddecece094 Tested-by: Ryusuke Konishi Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman fs/nilfs2/sufile.c | 42 +++++++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) accumulated error probability: 0.00 culprit signature: dc9a5c8560423b58eac6857a23ed8eb149f291c82a0418c83d6308f70bc3d7ac parent signature: e04c200c06190c6c5fc6621b5631ddb9f910b5f911a5de30e85ab706cba3f9df revisions tested: 21, total time: 2h57m53.361251082s (build: 1h5m41.269841937s, test: 1h38m52.806746625s) first good commit: 3907e9cc85ffc49b232dd0b0e8ebe12d3c835a2d nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() recipients (to): ["akpm@linux-foundation.org" "gregkh@linuxfoundation.org" "konishi.ryusuke@gmail.com"] recipients (cc): []