ci2 starts bisection 2024-08-26 11:51:25.794642373 +0000 UTC m=+261014.684782672 bisecting fixing commit since c61bd26ae81a896c8660150b4e356153da30880a building syzkaller on 3113787fe7a0c96998737e520aa95c303fdd41ef ensuring issue is reproducible on original commit c61bd26ae81a896c8660150b4e356153da30880a testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6a2a5b324429d38a599a273497482c0473639e26eaf8e464491581cc40071a84 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 17e0a9a8efc0ffd38126e94f7f83724b720e6fc240ceb70de8e2a8b145e5b00d all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed kconfig minimization: base=3703 full=7269 leaves diff=1983 split chunks (needed=false): <1983> split chunk #0 of len 1983 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 808a282e7dfeb0bc4925132e69595c7e577f74b188efb251fd0082aa7499c984 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a11f2b15a88690421d45e1c4c967940ebe1700114a82eb0f7ddd250551b46bd all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dafb5d5e3fc0d8318c25204ccd532f421e3b6400340b3edcb8804b496121c164 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e10d1be5a0ce01f7647459cafc07d4b6eefb6df59dc4965491cabf0eb7a48bec all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit c61bd26ae81a896c8660150b4e356153da30880a gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6626d56dc85f739eda701106def85d87f4d25f2ca637b11f02623dfbb3d35ae7 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] the chunk can be dropped minimized to 397 configs; suspects: [6LOWPAN ACPI_WMI ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CMA DAX_DRIVER DLM DRM DRM_BRIDGE DRM_FBDEV_EMULATION DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VKMS DRM_VMWGFX DRM_VMWGFX_FBCON 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 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_BOOT_VESA_SUPPORT 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 FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUNCTION_ALIGNMENT_16B FUNCTION_ALIGNMENT_4B FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY 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 GVE HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_KVM_CPU_RELAX_INTERCEPT 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_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_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 INTERVAL_TREE IOMMU_SVA_LIB IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_CLUSTERIP IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC IP_VS_MH IP_VS_NFCT IP_VS_NQ IP_VS_OVF IP_VS_PE_SIP IP_VS_PROTO_AH IP_VS_PROTO_AH_ESP IP_VS_PROTO_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 IRQ_BYPASS_MANAGER IRQ_POLL IRQ_TIME_ACCOUNTING IR_IGORPLUGUSB IR_IGUANA IR_IMON IR_MCEUSB IR_REDRAT3 IR_STREAMZAP 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 RC_DEVICES RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE VIDEO_DEV VIDEO_V4L2 VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD fa93fa65db6e232b5f2226dd86c9f066ec6dfd97 testing commit fa93fa65db6e232b5f2226dd86c9f066ec6dfd97 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 007453cc7727e9f8b67b2c14735aed9b0139832096f2ff0587bc1bdd91b5ed4f all runs: OK false negative chance: 0.000 # git bisect start fa93fa65db6e232b5f2226dd86c9f066ec6dfd97 c61bd26ae81a896c8660150b4e356153da30880a Bisecting: 728 revisions left to test after this (roughly 10 steps) [a556ab1925ec3f1582ed6803bd914420c5650075] pwm: stm32: Refuse too small period requests determine whether the revision contains the guilty commit revision c61bd26ae81a896c8660150b4e356153da30880a crashed and is reachable testing commit a556ab1925ec3f1582ed6803bd914420c5650075 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d497fa9f683ce08e103cf34f296977422312b3bbf8969f20839306b033701f6a all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good a556ab1925ec3f1582ed6803bd914420c5650075 Bisecting: 364 revisions left to test after this (roughly 9 steps) [de602aadfb150c18a0daffde454052af74e221a6] sparc64: Fix incorrect function signature and add prototype for prom_cif_init determine whether the revision contains the guilty commit revision a556ab1925ec3f1582ed6803bd914420c5650075 crashed and is reachable testing commit de602aadfb150c18a0daffde454052af74e221a6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7a608cb9ee482b8dcc6062d32509d5df3be709941e64d06adb39e1291a00d0a2 all runs: OK false negative chance: 0.000 # git bisect bad de602aadfb150c18a0daffde454052af74e221a6 Bisecting: 181 revisions left to test after this (roughly 8 steps) [07fb3ed9f8de3478e9ec7df7a55ea0888043b7d6] selftests/openat2: Fix build warnings on ppc64 determine whether the revision contains the guilty commit revision c61bd26ae81a896c8660150b4e356153da30880a crashed and is reachable testing commit 07fb3ed9f8de3478e9ec7df7a55ea0888043b7d6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 248ba0655bb63904acf30b2a6c3bbe28040cda3a802948485867fde70ccfaa42 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good 07fb3ed9f8de3478e9ec7df7a55ea0888043b7d6 Bisecting: 90 revisions left to test after this (roughly 7 steps) [c32836dfe3fdcc346ed3fac2e2aede2c3b48d493] arm64: dts: qcom: sm8250: add power-domain to UFS PHY determine whether the revision contains the guilty commit revision a556ab1925ec3f1582ed6803bd914420c5650075 crashed and is reachable testing commit c32836dfe3fdcc346ed3fac2e2aede2c3b48d493 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 75df1d62ab48845d51deba1e26952ad174ea637164def2c49d71008f705c67c5 all runs: OK false negative chance: 0.000 # git bisect bad c32836dfe3fdcc346ed3fac2e2aede2c3b48d493 Bisecting: 45 revisions left to test after this (roughly 6 steps) [998f03984e2586a38a6660ff834e34cb0c72659b] minmax: sanity check constant bounds when clamping determine whether the revision contains the guilty commit revision 07fb3ed9f8de3478e9ec7df7a55ea0888043b7d6 crashed and is reachable testing commit 998f03984e2586a38a6660ff834e34cb0c72659b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1103913256b6b38ceb786bbe3665d1268261f1cbc8aa59c1b7fa5d1065a3eca7 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good 998f03984e2586a38a6660ff834e34cb0c72659b Bisecting: 22 revisions left to test after this (roughly 5 steps) [2d3cef3d7a5df260a14a6679c4aca0c97e570ee5] wifi: rt2x00: use explicitly signed or unsigned types determine whether the revision contains the guilty commit revision 07fb3ed9f8de3478e9ec7df7a55ea0888043b7d6 crashed and is reachable testing commit 2d3cef3d7a5df260a14a6679c4aca0c97e570ee5 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4e56bd56b32c29015d8d72122a71c8b1aa2dcc3589b5f8540904f7018907fbd0 all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good 2d3cef3d7a5df260a14a6679c4aca0c97e570ee5 Bisecting: 11 revisions left to test after this (roughly 4 steps) [603d064d406a6ae3344efc9aaf1f81bd7ab0cba7] hfsplus: fix to avoid false alarm of circular locking determine whether the revision contains the guilty commit revision 2d3cef3d7a5df260a14a6679c4aca0c97e570ee5 crashed and is reachable testing commit 603d064d406a6ae3344efc9aaf1f81bd7ab0cba7 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81ea2fb5f4fa5208ed4cd336fb5f788f15febe8d3e630b15c96ed1f8a9115d37 all runs: OK false negative chance: 0.000 # git bisect bad 603d064d406a6ae3344efc9aaf1f81bd7ab0cba7 Bisecting: 5 revisions left to test after this (roughly 3 steps) [ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1] f2fs: fix to don't dirty inode for readonly filesystem determine whether the revision contains the guilty commit revision a556ab1925ec3f1582ed6803bd914420c5650075 crashed and is reachable testing commit ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8444165293131fd9193e39328a86e6bbfccb6c8d5527a0118e7dd650e545f6b6 all runs: OK false negative chance: 0.000 # git bisect bad ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1 Bisecting: 2 revisions left to test after this (roughly 1 step) [e5e5e63c506b93b89b01f522b6a7343585f784e6] tap: add missing verification for short frame determine whether the revision contains the guilty commit revision c61bd26ae81a896c8660150b4e356153da30880a crashed and is reachable testing commit e5e5e63c506b93b89b01f522b6a7343585f784e6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 087fed98cd7d061396ee9691ba0c21d717299b3ba8a30cb8d50c64bc1c63a7cb all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good e5e5e63c506b93b89b01f522b6a7343585f784e6 Bisecting: 0 revisions left to test after this (roughly 1 step) [70f5ef5f33c333cfb286116fa3af74ac9bc84f1b] f2fs: fix return value of f2fs_convert_inline_inode() determine whether the revision contains the guilty commit revision 2d3cef3d7a5df260a14a6679c4aca0c97e570ee5 crashed and is reachable testing commit 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 578ad546603e4341a8b6466adebb90d738d1a796b2bfe4a3cffa89efb930e272 all runs: OK false negative chance: 0.000 # git bisect bad 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b Bisecting: 0 revisions left to test after this (roughly 0 steps) [7e89efd3ae1cfa05fe918588a92628b9bbeda4b2] Linux 5.15.164 determine whether the revision contains the guilty commit revision a556ab1925ec3f1582ed6803bd914420c5650075 crashed and is reachable testing commit 7e89efd3ae1cfa05fe918588a92628b9bbeda4b2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 37f623d714e6c0be7a2fa3954f6b471c2ba349b9d5625cb5272c705e6264942c all runs: crashed: kernel BUG in f2fs_vm_page_mkwrite representative crash: kernel BUG in f2fs_vm_page_mkwrite, types: [BUG] # git bisect good 7e89efd3ae1cfa05fe918588a92628b9bbeda4b2 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b is the first bad commit commit 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b Author: Chao Yu Date: Mon Jun 3 09:07:45 2024 +0800 f2fs: fix return value of f2fs_convert_inline_inode() commit a8eb3de28e7a365690c61161e7a07a4fc7c60bbf upstream. If device is readonly, make f2fs_convert_inline_inode() return EROFS instead of zero, otherwise it may trigger panic during writeback of inline inode's dirty page as below: f2fs_write_single_data_page+0xbb6/0x1e90 fs/f2fs/data.c:2888 f2fs_write_cache_pages fs/f2fs/data.c:3187 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3342 [inline] f2fs_write_data_pages+0x1efe/0x3a90 fs/f2fs/data.c:3369 do_writepages+0x359/0x870 mm/page-writeback.c:2634 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x1aa/0x290 mm/filemap.c:788 f2fs_do_sync_file+0x68a/0x1ae0 fs/f2fs/file.c:276 generic_write_sync include/linux/fs.h:2806 [inline] f2fs_file_write_iter+0x7bd/0x24e0 fs/f2fs/file.c:4977 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Cc: stable@vger.kernel.org Reported-by: syzbot+848062ba19c8782ca5c8@syzkaller.appspotmail.com Closes: https://lore.kernel.org/linux-f2fs-devel/000000000000d103ce06174d7ec3@google.com Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim Signed-off-by: Greg Kroah-Hartman fs/f2fs/inline.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 578ad546603e4341a8b6466adebb90d738d1a796b2bfe4a3cffa89efb930e272 parent signature: 37f623d714e6c0be7a2fa3954f6b471c2ba349b9d5625cb5272c705e6264942c revisions tested: 19, total time: 2h16m36.633587664s (build: 35m17.389484815s, test: 1h33m44.007264125s) first good commit: 70f5ef5f33c333cfb286116fa3af74ac9bc84f1b f2fs: fix return value of f2fs_convert_inline_inode() recipients (to): ["chao@kernel.org" "gregkh@linuxfoundation.org" "jaegeuk@kernel.org"] recipients (cc): []