ci2 starts bisection 2025-01-27 12:16:30.655590976 +0000 UTC m=+9648.902160524 bisecting fixing commit since 7dc732d24ff75bae3740d2876b634c0158c79cad building syzkaller on f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 ensuring issue is reproducible on original commit 7dc732d24ff75bae3740d2876b634c0158c79cad testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbdc7f172def47906a631fbf1253113a9e78070b8206bf5af71d3cdb1c00eb5e all runs: crashed: general protection fault in update_sit_entry representative crash: general protection fault in update_sit_entry, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e88fb5278c63a570925204669a39323666f62cd64e27b8ebe85d2fdec1444aa all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3824 full=7500 leaves diff=2069 split chunks (needed=false): <2069> split chunk #0 of len 2069 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0011165441883ff96fd72ea3b3c274942d4d2c90f48130b4ed7a7d0226f14ff2 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: OK run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 24b34b37e65dca55896d6dc70469098a4ff9b0f2a6aa4921f45a816ace707f0a all runs: OK false negative chance: 0.000 testing without sub-chunk 3/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6b11b9d8a7afd317fc02efb51884034d3ecf40267874ed124aa24a0dbfd41e15 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a1c51de3ac3026c85408721391a5103f6d6301a3a37073f49c27f143e14173b run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: OK run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 7dc732d24ff75bae3740d2876b634c0158c79cad gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bbe39c476b3739495584418ba24dc45bd72911a1e62ac2f58ae3978c18bbe9ae all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] the chunk can be dropped minimized to 414 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_PANEL DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VKMS DRM_VMWGFX DRM_VRAM_HELPER DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CMDLINE FB_DEFERRED_IO FB_NOTIFY FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_FOPS FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FRONTSWAP FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_EVENTFD HAVE_KVM_IRQCHIP HAVE_KVM_IRQFD HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2221 HID_MEGAWORLD_FF 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_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE 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_SIGMAMICRO HID_SPEEDLINK HID_STEAM HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_SOC_PMIC_CHTWC INTERVAL_TREE IOMMU_SVA IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_CLUSTERIP IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC IP_VS_MH IP_VS_NFCT IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_FWD_NETDEV NF_TABLES NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed determining the merge base between 7dc732d24ff75bae3740d2876b634c0158c79cad and 9c5968db9e625019a0ee5226c7eebef5519d366a 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: d994ec6431d8b2944e943cef58423efe715017fb6f221a7d0df400e35d7306a1 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] testing current HEAD 9c5968db9e625019a0ee5226c7eebef5519d366a testing commit 9c5968db9e625019a0ee5226c7eebef5519d366a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e788cf345c8c186d0de43917d6099f93a415bbe190456bd1a329e821fb636d3b all runs: OK false negative chance: 0.000 # git bisect start 9c5968db9e625019a0ee5226c7eebef5519d366a 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 97532 revisions left to test after this (roughly 17 steps) [0ee28c9ae042e77100fae2cd82a54750668aafce] Merge tag 'wireless-next-2023-12-18' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 0ee28c9ae042e77100fae2cd82a54750668aafce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1dbbc7c6fe02bf88e063303a69007fc7a6eeea106857435e64f75af4fdc03d5d all runs: OK false negative chance: 0.000 # git bisect bad 0ee28c9ae042e77100fae2cd82a54750668aafce Bisecting: 48715 revisions left to test after this (roughly 16 steps) [098c5dd9cf96fc6d7f35429561ef58cd7c5fcecf] Merge tag 'erofs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 098c5dd9cf96fc6d7f35429561ef58cd7c5fcecf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f4f2b6fb422bd364b9b32f477bbd72774ec61463b47f6d7c187c456e96ab2e63 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 098c5dd9cf96fc6d7f35429561ef58cd7c5fcecf Bisecting: 24320 revisions left to test after this (roughly 15 steps) [8e1e49550dc85694abd04d86a8ee36bc98bd8b9e] Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 8e1e49550dc85694abd04d86a8ee36bc98bd8b9e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7d68537600ea85e9a1006f3b90281ab34b479cf9b6c55c365bc3b8f5e491a7c all runs: OK false negative chance: 0.000 # git bisect bad 8e1e49550dc85694abd04d86a8ee36bc98bd8b9e Bisecting: 12207 revisions left to test after this (roughly 14 steps) [3290badd1bb8c9ea91db5c0b2e1a635178119856] Merge tag 'ceph-for-6.5-rc1' of https://github.com/ceph/ceph-client determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 3290badd1bb8c9ea91db5c0b2e1a635178119856 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62bf0ba9d835b87e7c6836336d87d93d6e809b6bfb54dbdd322bc6cc40ec7267 all runs: OK false negative chance: 0.000 # git bisect bad 3290badd1bb8c9ea91db5c0b2e1a635178119856 Bisecting: 5278 revisions left to test after this (roughly 13 steps) [1b722407a13b7f8658d2e26917791f32805980a2] Merge tag 'drm-next-2023-06-29' of git://anongit.freedesktop.org/drm/drm determine whether the revision contains the guilty commit revision 098c5dd9cf96fc6d7f35429561ef58cd7c5fcecf crashed and is reachable testing commit 1b722407a13b7f8658d2e26917791f32805980a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e696ad6cad06815ca3776e626b5b319f0ad61b838df2daaf9eeb0789d74b7a0 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 1b722407a13b7f8658d2e26917791f32805980a2 Bisecting: 2590 revisions left to test after this (roughly 11 steps) [9070577ae9d6065e447d422bdf85a09f89eaa9e8] Merge tag 'pci-v6.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci determine whether the revision contains the guilty commit revision 1b722407a13b7f8658d2e26917791f32805980a2 crashed and is reachable testing commit 9070577ae9d6065e447d422bdf85a09f89eaa9e8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6d51d5e31137e4a1044b7f6a7148652b5a44e8840b2d32d1816fc1d339ac271 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 9070577ae9d6065e447d422bdf85a09f89eaa9e8 Bisecting: 1347 revisions left to test after this (roughly 10 steps) [eded37770c9f80ecd5ba842359c4f1058d9812c3] Merge tag 'kgdb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit eded37770c9f80ecd5ba842359c4f1058d9812c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4aea2920491f5995eac1872ca71e42ae9325164704e1f7941f727eb0eeb63131 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good eded37770c9f80ecd5ba842359c4f1058d9812c3 Bisecting: 590 revisions left to test after this (roughly 9 steps) [15ac468614e5e4fee82e1eb32568f427b0e51adc] Merge tag 'media/v6.5-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 15ac468614e5e4fee82e1eb32568f427b0e51adc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0098819b7982416ffe3dfcb99ebd514b12c32ca08f4e901df311a0063bd6355c run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #9: OK representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 15ac468614e5e4fee82e1eb32568f427b0e51adc Bisecting: 286 revisions left to test after this (roughly 8 steps) [7afb9d76bc513cb8a2409092dbd3610524a198fe] Merge tag 'phy-for-6.5_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy determine whether the revision contains the guilty commit revision 1b722407a13b7f8658d2e26917791f32805980a2 crashed and is reachable testing commit 7afb9d76bc513cb8a2409092dbd3610524a198fe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53888d2010b5a012bbbe9c6ac7d3819cdd39c43ade05930c3a9442197a41f1b5 all runs: OK false negative chance: 0.000 # git bisect bad 7afb9d76bc513cb8a2409092dbd3610524a198fe Bisecting: 148 revisions left to test after this (roughly 7 steps) [73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5] Merge tag 'f2fs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs determine whether the revision contains the guilty commit revision 1b722407a13b7f8658d2e26917791f32805980a2 crashed and is reachable testing commit 73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a8d7aef0090bdefbde15589fe68561450b70adf1a2ef1223bcd21f7025423abe all runs: OK false negative chance: 0.000 # git bisect bad 73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5 Bisecting: 66 revisions left to test after this (roughly 6 steps) [ace1ba1c9038b30f29c5759bc4726bbed7748f15] Merge tag 'pwm/for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm determine whether the revision contains the guilty commit revision 1b722407a13b7f8658d2e26917791f32805980a2 crashed and is reachable testing commit ace1ba1c9038b30f29c5759bc4726bbed7748f15 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f3f716493d3f777530fffb4d6bc8bd1fcd7b570e07337857eeba93e74b412d9 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good ace1ba1c9038b30f29c5759bc4726bbed7748f15 Bisecting: 33 revisions left to test after this (roughly 5 steps) [ac1ee161dec5801d9bbd874ef69cd0ff1e8053b6] f2fs: add f2fs_ioc_get_compress_blocks determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit ac1ee161dec5801d9bbd874ef69cd0ff1e8053b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e8084e2b109b39ea0816a5d97a545427db20723362165f13232e7d3c2bef79f all runs: OK false negative chance: 0.000 # git bisect bad ac1ee161dec5801d9bbd874ef69cd0ff1e8053b6 Bisecting: 16 revisions left to test after this (roughly 4 steps) [458c15dfbce62c35fefd9ca637b20a051309c9f1] f2fs: don't reset unchangable mount option in f2fs_remount() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 458c15dfbce62c35fefd9ca637b20a051309c9f1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f87fb3e6002db5274991a5979dddb2d81ecfa5ec971f65c8670a71ec9952788e all runs: OK false negative chance: 0.000 # git bisect bad 458c15dfbce62c35fefd9ca637b20a051309c9f1 Bisecting: 7 revisions left to test after this (roughly 3 steps) [04abeb699ddce800837c4039ea1cc7d4d139bb36] f2fs: close unused open zones while mounting determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 04abeb699ddce800837c4039ea1cc7d4d139bb36 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36b00893ee9f7b8885d69415478196ab980c81d7720673cffcf25fbec2538601 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 04abeb699ddce800837c4039ea1cc7d4d139bb36 Bisecting: 3 revisions left to test after this (roughly 2 steps) [77e820ea73a5b86f434a776d63e1e5f50a366c19] f2fs: renew value of F2FS_FEATURE_* determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 77e820ea73a5b86f434a776d63e1e5f50a366c19 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a079066c3ff3a4a42702b911df4a5d8017f0ae776631f2abae7056a24c7bf698 run #0: ignore: lost connection to test machine run #1: ignore: lost connection to test machine run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good 77e820ea73a5b86f434a776d63e1e5f50a366c19 Bisecting: 1 revision left to test after this (roughly 1 step) [bfd476623999118d9c509cb0fa9380f2912bc225] f2fs: clean up w/ sbi->log_sectors_per_block determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit bfd476623999118d9c509cb0fa9380f2912bc225 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: feaf336a72a117c299359cf50a52c0a1259ba936a36953c5747caf98a66247f3 run #0: ignore: lost connection to test machine run #1: ignore: lost connection to test machine run #2: ignore: lost connection to test machine run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good bfd476623999118d9c509cb0fa9380f2912bc225 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d8189834d4348ae608083e1f1f53792cfcc2a9bc] f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io() determine whether the revision contains the guilty commit revision 77e820ea73a5b86f434a776d63e1e5f50a366c19 crashed and is reachable testing commit d8189834d4348ae608083e1f1f53792cfcc2a9bc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6cfdd7a210ece48f5baa036fe37f443fcbe9f0611949d61af61785bfff5f94db all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in update_sit_entry, types: [UNKNOWN] # git bisect good d8189834d4348ae608083e1f1f53792cfcc2a9bc 458c15dfbce62c35fefd9ca637b20a051309c9f1 is the first bad commit commit 458c15dfbce62c35fefd9ca637b20a051309c9f1 Author: Chao Yu Date: Tue May 23 11:58:22 2023 +0800 f2fs: don't reset unchangable mount option in f2fs_remount() syzbot reports a bug as below: general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN RIP: 0010:__lock_acquire+0x69/0x2000 kernel/locking/lockdep.c:4942 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691 __raw_write_lock include/linux/rwlock_api_smp.h:209 [inline] _raw_write_lock+0x2e/0x40 kernel/locking/spinlock.c:300 __drop_extent_tree+0x3ac/0x660 fs/f2fs/extent_cache.c:1100 f2fs_drop_extent_tree+0x17/0x30 fs/f2fs/extent_cache.c:1116 f2fs_insert_range+0x2d5/0x3c0 fs/f2fs/file.c:1664 f2fs_fallocate+0x4e4/0x6d0 fs/f2fs/file.c:1838 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The root cause is race condition as below: - since it tries to remount rw filesystem, so that do_remount won't call sb_prepare_remount_readonly to block fallocate, there may be race condition in between remount and fallocate. - in f2fs_remount(), default_options() will reset mount option to default one, and then update it based on result of parse_options(), so there is a hole which race condition can happen. Thread A Thread B - f2fs_fill_super - parse_options - clear_opt(READ_EXTENT_CACHE) - f2fs_remount - default_options - set_opt(READ_EXTENT_CACHE) - f2fs_fallocate - f2fs_insert_range - f2fs_drop_extent_tree - __drop_extent_tree - __may_extent_tree - test_opt(READ_EXTENT_CACHE) return true - write_lock(&et->lock) access NULL pointer - parse_options - clear_opt(READ_EXTENT_CACHE) Cc: Reported-by: syzbot+d015b6c2fbb5c383bf08@syzkaller.appspotmail.com Closes: https://lore.kernel.org/linux-f2fs-devel/20230522124203.3838360-1-chao@kernel.org Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim fs/f2fs/super.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) accumulated error probability: 0.00 culprit signature: f87fb3e6002db5274991a5979dddb2d81ecfa5ec971f65c8670a71ec9952788e parent signature: 6cfdd7a210ece48f5baa036fe37f443fcbe9f0611949d61af61785bfff5f94db revisions tested: 26, total time: 8h40m1.225216421s (build: 3h15m26.042479773s, test: 5h12m41.448369001s) first good commit: 458c15dfbce62c35fefd9ca637b20a051309c9f1 f2fs: don't reset unchangable mount option in f2fs_remount() recipients (to): ["chao@kernel.org" "jaegeuk@kernel.org"] recipients (cc): []