ci2 starts bisection 2023-08-31 23:19:52.112578331 +0000 UTC m=+21502.994949622 bisecting fixing commit since bf4ad6fa4e5332e53913b073d0219319a4091619 building syzkaller on f94b4a29b579b3de9aab3b41915e3663e6f7094e ensuring issue is reproducible on original commit bf4ad6fa4e5332e53913b073d0219319a4091619 testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6c79995056d4d4e72e13d26fcdfe5be146d44acbb4b3d75b7142f0b44544ac2 all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 12772fb877720d41d803d6531d0828141b0e6532f8a9ec93d027ec651159d2b4 all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], 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 [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f35ca65303ccb6fd8341cd700889611a659fffc82cf8345f7973713bffff11e all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, 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 bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5c6e1cc5990bf3b4958c2e01649da816301795635a36b4be56c21b3738e7d8df all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 60317ee3511fffbd2ccee7383755e6a53df2bddabdf00d05d1fb1136854f0030 all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d0ed9a0b8191eaabab4153ea21f3ef017a3666450b384b623c4e627a0ce6a9cd all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit bf4ad6fa4e5332e53913b073d0219319a4091619 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 351812c04769bc79525a30090b268140d5de6ca6d4ecef798e251fd2a8e7d5d0 all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, 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 [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed determining the merge base between bf4ad6fa4e5332e53913b073d0219319a4091619 and 99d99825fc075fd24b60cc9cf0fb1e20b9c16b0f 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: c6e7c607124dfaee0bce92d07e4e6952643b7dda9d4d810e8f99516ba219b506 all runs: crashed: WARNING in nilfs_dat_commit_end representative crash: WARNING in nilfs_dat_commit_end, types: [WARNING] testing current HEAD 99d99825fc075fd24b60cc9cf0fb1e20b9c16b0f testing commit 99d99825fc075fd24b60cc9cf0fb1e20b9c16b0f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cb71b09b4b966dfe30c3333a1e5621f939aac78f93e5e5c94ff59014f62538d1 all runs: OK false negative chance: 0.000 # git bisect start 99d99825fc075fd24b60cc9cf0fb1e20b9c16b0f 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 36156 revisions left to test after this (roughly 15 steps) [4ea956963f4fca59050a22fcc65f00a85d586e63] Merge tag 'media/v6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 4ea956963f4fca59050a22fcc65f00a85d586e63 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7b79c914df9f2924930c48930178589ab476812f197786562b8a16ddd13412f6 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good 4ea956963f4fca59050a22fcc65f00a85d586e63 Bisecting: 18704 revisions left to test after this (roughly 14 steps) [f8824e151fbfa0ac0a258015d606ea6f4a10251b] Merge tag 'sound-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit f8824e151fbfa0ac0a258015d606ea6f4a10251b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 101bc284950f265437941d31b2b5068ee6e20d68c23a66191eac755042eaaa33 all runs: OK false negative chance: 0.000 # git bisect bad f8824e151fbfa0ac0a258015d606ea6f4a10251b Bisecting: 8714 revisions left to test after this (roughly 13 steps) [3af49062b0115b55a54615109172b44f618daf97] Merge tag 'mfd-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit 3af49062b0115b55a54615109172b44f618daf97 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 046219df35f34be1be8c3fc68d6ac0152b6f8dd6821a19b329b7efc3bf8e5cce all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good 3af49062b0115b55a54615109172b44f618daf97 Bisecting: 4360 revisions left to test after this (roughly 12 steps) [ca4fa87435370747cac535cecfd08672bb679487] selftests: tc-testing: add one test for flushing explicitly created chain determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit ca4fa87435370747cac535cecfd08672bb679487 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 741cc0d3ce8de641ceed022fb5d1e0e4dc3f7fe70cf65746e15c0de484d9d5e4 all runs: OK false negative chance: 0.000 # git bisect bad ca4fa87435370747cac535cecfd08672bb679487 Bisecting: 2176 revisions left to test after this (roughly 11 steps) [c551afcdc373eb66d12e08ed0434711c9a10ca2b] Merge tag 'pm-6.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit c551afcdc373eb66d12e08ed0434711c9a10ca2b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6c94b7d0d141bca968260e42fd03fd858d5236c312c3f7c2fa2a7317247ff8c all runs: OK false negative chance: 0.000 # git bisect bad c551afcdc373eb66d12e08ed0434711c9a10ca2b Bisecting: 1214 revisions left to test after this (roughly 10 steps) [17784de648be93b4eef0ef8fe28a16ff04feecc7] Merge tag 'core-debugobjects-2023-05-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision 3af49062b0115b55a54615109172b44f618daf97 crashed and is reachable testing commit 17784de648be93b4eef0ef8fe28a16ff04feecc7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 10fe065c413775e1d4705e3a5691f4c6d529652f4f4f4f99b1ae4dc0dc99b807 all runs: OK false negative chance: 0.000 # git bisect bad 17784de648be93b4eef0ef8fe28a16ff04feecc7 Bisecting: 477 revisions left to test after this (roughly 9 steps) [1a5304fecee523060f26e2778d9d8e33c0562df3] Merge tag 'parisc-for-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux determine whether the revision contains the guilty commit revision 3af49062b0115b55a54615109172b44f618daf97 crashed and is reachable testing commit 1a5304fecee523060f26e2778d9d8e33c0562df3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b6f860a601ef681abb0186176a32b6585245b8227ab596c14e18959a0b85c907 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good 1a5304fecee523060f26e2778d9d8e33c0562df3 Bisecting: 239 revisions left to test after this (roughly 8 steps) [d5ed10bb80bb376501cb56015a47457647efaabf] Merge branch 'x86-uaccess-cleanup': x86 uaccess header cleanups determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit d5ed10bb80bb376501cb56015a47457647efaabf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a08ac560abbcff604697bf86867716cc1a02d56631fb3734af5662b1783f4c1 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good d5ed10bb80bb376501cb56015a47457647efaabf Bisecting: 114 revisions left to test after this (roughly 7 steps) [2e1e1337881b0e9844d687982aa54b31b1269b11] Merge tag '6.4-rc-ksmbd-server-fixes-part2' of git://git.samba.org/ksmbd determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 2e1e1337881b0e9844d687982aa54b31b1269b11 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 86d06e8ffdd854ba59a56ab65c16269f1234113322b008043a4f20980aaaa5c9 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good 2e1e1337881b0e9844d687982aa54b31b1269b11 Bisecting: 57 revisions left to test after this (roughly 6 steps) [dd9e11d6477a52ede9ebe575c83285e79e823889] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision 1a5304fecee523060f26e2778d9d8e33c0562df3 crashed and is reachable testing commit dd9e11d6477a52ede9ebe575c83285e79e823889 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec2de234f7eebe02036a21d82f785716543e3a8fe8ab470206d51c9c5cdfbb23 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good dd9e11d6477a52ede9ebe575c83285e79e823889 Bisecting: 33 revisions left to test after this (roughly 5 steps) [03e5cb7b50feb687508946a702febaba24c77f0b] Merge tag 'for-6.4/io_uring-2023-05-07' of git://git.kernel.dk/linux determine whether the revision contains the guilty commit revision 2e1e1337881b0e9844d687982aa54b31b1269b11 crashed and is reachable testing commit 03e5cb7b50feb687508946a702febaba24c77f0b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59aa3a7ce0cc32d15b76a3f753d24cbf181be3dabcd7f68a2c49a6b423e8e18a all runs: OK false negative chance: 0.000 # git bisect bad 03e5cb7b50feb687508946a702febaba24c77f0b Bisecting: 13 revisions left to test after this (roughly 4 steps) [da9619a30e73b59605ed998bf7bc4359f5c0029a] dmapool: link blocks across pages determine whether the revision contains the guilty commit revision 4ea956963f4fca59050a22fcc65f00a85d586e63 crashed and is reachable testing commit da9619a30e73b59605ed998bf7bc4359f5c0029a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 69ac2c6baccd111fb9ce6e7197e9b550de24db14e236cafb92b2f04ebe0e6b3d all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good da9619a30e73b59605ed998bf7bc4359f5c0029a Bisecting: 5 revisions left to test after this (roughly 3 steps) [706ce3caea1cc1dab8c7fd6e7d1389b46ad1570e] Merge tag 'mm-hotfixes-stable-2023-05-06-10-45' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm determine whether the revision contains the guilty commit revision 3af49062b0115b55a54615109172b44f618daf97 crashed and is reachable testing commit 706ce3caea1cc1dab8c7fd6e7d1389b46ad1570e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81452ddda13937f151f8286b8496542f064858160da1ff194a585152d3e4c92f all runs: OK false negative chance: 0.000 # git bisect bad 706ce3caea1cc1dab8c7fd6e7d1389b46ad1570e Bisecting: 3 revisions left to test after this (roughly 2 steps) [28a65b49eb53e172d23567005465019658bfdb4d] nilfs2: do not write dirty data after degenerating to read-only determine whether the revision contains the guilty commit revision 3af49062b0115b55a54615109172b44f618daf97 crashed and is reachable testing commit 28a65b49eb53e172d23567005465019658bfdb4d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e0a8d9e1c15c38ba6d8f2392d09bdc602fe4b16f40ab0bb9124c15117486b7f2 all runs: OK false negative chance: 0.000 # git bisect bad 28a65b49eb53e172d23567005465019658bfdb4d Bisecting: 1 revision left to test after this (roughly 1 step) [a6a491c048882e7e424d407d32cba0b52d9ef2bf] nilfs2: fix infinite loop in nilfs_mdt_get_block() determine whether the revision contains the guilty commit revision 3af49062b0115b55a54615109172b44f618daf97 crashed and is reachable testing commit a6a491c048882e7e424d407d32cba0b52d9ef2bf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f9943e46505d7ae0f268d53d6e9dcff76918b0f28ba7f5052f71ebd858dc856 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good a6a491c048882e7e424d407d32cba0b52d9ef2bf Bisecting: 0 revisions left to test after this (roughly 0 steps) [d824ec2a154677f63c56cc71ffe4578274f6e32e] mm: do not reclaim private data from pinned page determine whether the revision contains the guilty commit revision a6a491c048882e7e424d407d32cba0b52d9ef2bf crashed and is reachable testing commit d824ec2a154677f63c56cc71ffe4578274f6e32e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a3838778f9df026a82d4e38623d590e8071effe0381ea35369c00a5d24b4712 all runs: crashed: WARNING in mark_buffer_dirty representative crash: WARNING in mark_buffer_dirty, types: [WARNING] # git bisect good d824ec2a154677f63c56cc71ffe4578274f6e32e 28a65b49eb53e172d23567005465019658bfdb4d is the first bad commit commit 28a65b49eb53e172d23567005465019658bfdb4d Author: Ryusuke Konishi Date: Thu Apr 27 10:15:26 2023 +0900 nilfs2: do not write dirty data after degenerating to read-only According to syzbot's report, mark_buffer_dirty() called from nilfs_segctor_do_construct() outputs a warning with some patterns after nilfs2 detects metadata corruption and degrades to read-only mode. After such read-only degeneration, page cache data may be cleared through nilfs_clear_dirty_page() which may also clear the uptodate flag for their buffer heads. However, even after the degeneration, log writes are still performed by unmount processing etc., which causes mark_buffer_dirty() to be called for buffer heads without the "uptodate" flag and causes the warning. Since any writes should not be done to a read-only file system in the first place, this fixes the warning in mark_buffer_dirty() by letting nilfs_segctor_do_construct() abort early if in read-only mode. This also changes the retry check of nilfs_segctor_write_out() to avoid unnecessary log write retries if it detects -EROFS that nilfs_segctor_do_construct() returned. Link: https://lkml.kernel.org/r/20230427011526.13457-1-konishi.ryusuke@gmail.com Signed-off-by: Ryusuke Konishi Tested-by: Ryusuke Konishi Reported-by: syzbot+2af3bc9585be7f23f290@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?extid=2af3bc9585be7f23f290 Cc: Signed-off-by: Andrew Morton fs/nilfs2/segment.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: e0a8d9e1c15c38ba6d8f2392d09bdc602fe4b16f40ab0bb9124c15117486b7f2 parent signature: 2a3838778f9df026a82d4e38623d590e8071effe0381ea35369c00a5d24b4712 revisions tested: 25, total time: 4h38m11.4165484s (build: 1h57m23.691699102s, test: 2h26m38.717548012s) first good commit: 28a65b49eb53e172d23567005465019658bfdb4d nilfs2: do not write dirty data after degenerating to read-only recipients (to): ["akpm@linux-foundation.org" "konishi.ryusuke@gmail.com"] recipients (cc): []