ci starts bisection 2023-07-25 23:59:17.234305621 +0000 UTC m=+34214.680804068 bisecting cause commit starting from 1e25dd7772483f477f79986d956028e9f47f990a building syzkaller on 6756545c28028f343346a8f93b5ca6d0664a598c ensuring issue is reproducible on original commit 1e25dd7772483f477f79986d956028e9f47f990a testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e88ce354729a1ad7113a70f15dfc0f9d830eb8bfd073a8716c478ae01285148 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d2adf7a050a651db344251962db04ec99f63d917fccf4308321ec8ff8b395a0 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=3883 full=7663 leaves diff=2006 split chunks (needed=false): <2006> split chunk #0 of len 2006 into 5 parts testing without sub-chunk 1/5 testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e0e03d6f51ab96753db14c6b54edbea106e5f844627152c2c21847353d29966 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b4f3761a71bf85f9e64e85217c9035f6b0f126f400f258159530ce4fb4dcce82 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 111cef8ecaaed1dc10d6067f418c22a50b77414896eb5e76047b73d21bedbeef all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1fc60c0d429d2df0ee9983834eefc26bf188d3a93bd8a646ccad5ae66e911876 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 testing commit 1e25dd7772483f477f79986d956028e9f47f990a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 89c6b23bdffb4a46ddbd002ec6dad78fccf050bde70a296f28ccdd1b44329781 all runs: OK false negative chance: 0.000 minimized to 398 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA COMMON_CLK CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB GPIOLIB HID_ZEROPLUS I2C_MUX IIO IOMMUFD IRQ_REMAP KVM KVM_INTEL LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_VIPERBOARD PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TARGET_CORE TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS USB_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI USB_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM USB_CONFIGFS_F_UAC1 USB_CONFIGFS_F_UAC1_LEGACY USB_CONFIGFS_F_UAC2 USB_CONFIGFS_F_UVC USB_CONFIGFS_MASS_STORAGE USB_CONFIGFS_NCM USB_CONFIGFS_OBEX USB_CONFIGFS_PHONET USB_CONFIGFS_RNDIS USB_CONFIGFS_SERIAL USB_CXACRU USB_CYPRESS_CY7C63 USB_CYTHERM USB_DSBR USB_DUMMY_HCD USB_DWC2 USB_DWC2_HOST USB_DWC2_PCI USB_DWC3 USB_DWC3_GADGET USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_HCD_PLATFORM USB_EHCI_ROOT_HUB_TT USB_EHSET_TEST_FIXTURE USB_EMI26 USB_EMI62 USB_EPSON2888 USB_EZUSB_FX2 USB_FEW_INIT_RETRIES USB_F_ACM USB_F_ECM USB_F_EEM USB_F_FS USB_F_HID USB_F_MASS_STORAGE USB_F_MIDI USB_F_NCM USB_F_OBEX USB_F_PHONET USB_F_PRINTER USB_F_RNDIS USB_F_SERIAL USB_F_SS_LB USB_F_SUBSET USB_F_TCM USB_F_UAC1 USB_F_UAC1_LEGACY USB_F_UAC2 USB_F_UVC USB_GADGET USB_GADGETFS USB_GADGET_DEBUG_FILES USB_GADGET_DEBUG_FS USB_GL860 USB_GOKU USB_GPIO_VBUS USB_GR_UDC USB_GSPCA USB_GSPCA_BENQ USB_GSPCA_CONEX USB_GSPCA_CPIA1 USB_GSPCA_DTCS033 USB_GSPCA_ETOMS USB_GSPCA_FINEPIX USB_GSPCA_JEILINJ USB_GSPCA_JL2005BCD USB_GSPCA_KINECT USB_GSPCA_KONICA USB_GSPCA_MARS USB_GSPCA_MR97310A USB_GSPCA_NW80X USB_GSPCA_OV519 USB_GSPCA_OV534 USB_GSPCA_OV534_9 USB_GSPCA_PAC207 USB_GSPCA_PAC7302 USB_GSPCA_PAC7311 USB_GSPCA_SE401 USB_GSPCA_SN9C2028 USB_GSPCA_SN9C20X USB_GSPCA_SONIXB USB_GSPCA_SONIXJ USB_GSPCA_SPCA1528 USB_GSPCA_SPCA500 USB_GSPCA_SPCA501 USB_GSPCA_SPCA505 USB_GSPCA_SPCA506 USB_GSPCA_SPCA508 USB_GSPCA_SPCA561 USB_GSPCA_SQ905 USB_GSPCA_SQ905C USB_GSPCA_SQ930X USB_GSPCA_STK014 USB_GSPCA_STK1135 USB_GSPCA_STV0680 USB_GSPCA_SUNPLUS USB_GSPCA_T613 USB_GSPCA_TOPRO USB_GSPCA_TOUPTEK USB_GSPCA_TV8532 USB_GSPCA_VC032X USB_GSPCA_VICAM USB_GSPCA_XIRLINK_CIT USB_GSPCA_ZC3XX USB_HACKRF USB_HCD_BCMA USB_HCD_SSB USB_HSIC_USB3503 USB_HSIC_USB4604 USB_HSO USB_HUB_USB251XB USB_IDMOUSE USB_IOWARRIOR USB_IPHETH USB_ISIGHTFW USB_ISP116X_HCD USB_ISP1301 USB_ISP1760 USB_ISP1760_DUAL_ROLE USB_ISP1760_HCD USB_ISP1761_UDC USB_KAWETH USB_KC2190 USB_KEENE USB_LAN78XX USB_LCD USB_LD USB_LEDS_TRIGGER_USBPORT USB_LED_TRIG USB_LEGOTOWER USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_MV_U3D USB_MV_UDC USB_NET2272 USB_NET2272_DMA USB_NET2280 USB_NET_AX88179_178A USB_NET_AX8817X USB_NET_CDCETHER USB_NET_CDC_EEM USB_NET_CDC_MBIM USB_NET_CDC_NCM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_CH9200 USB_NET_CX82310_ETH USB_NET_DM9601 USB_NET_GL620A USB_NET_HUAWEI_CDC_NCM USB_NET_INT51X1 USB_NET_KALMIA USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_QMI_WWAN USB_NET_RNDIS_HOST USB_NET_RNDIS_WLAN USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_OXU210HP_HCD USB_PEGASUS USB_PULSE8_CEC USB_PWC USB_PWC_INPUT_EVDEV USB_PXA27X USB_R8A66597 USB_R8A66597_HCD USB_RAINSHADOW_CEC USB_RAREMONO USB_RAW_GADGET USB_RTL8150 USB_RTL8152 USB_RTL8153_ECM USB_S2255 USB_SERIAL USB_SERIAL_AIRCABLE USB_SERIAL_ARK3116 USB_SERIAL_BELKIN USB_SERIAL_CH341 USB_SERIAL_CONSOLE USB_SERIAL_CP210X USB_SERIAL_CYBERJACK USB_SERIAL_CYPRESS_M8 USB_SERIAL_DEBUG USB_SERIAL_DIGI_ACCELEPORT USB_SERIAL_EDGEPORT USB_SERIAL_EDGEPORT_TI USB_SERIAL_EMPEG USB_SERIAL_F81232 USB_SERIAL_F8153X USB_SERIAL_FTDI_SIO USB_SERIAL_GARMIN USB_SERIAL_GENERIC USB_SERIAL_IPAQ USB_SERIAL_IPW USB_SERIAL_IR USB_SERIAL_IUU USB_SERIAL_KEYSPAN USB_SERIAL_KEYSPAN_PDA USB_SERIAL_KLSI USB_SERIAL_KOBIL_SCT USB_SERIAL_MCT_U232 USB_SERIAL_METRO USB_SERIAL_MOS7715_PARPORT USB_SERIAL_MOS7720 USB_SERIAL_MOS7840 USB_SERIAL_MXUPORT USB_SERIAL_NAVMAN USB_SERIAL_OMNINET USB_SERIAL_OPTICON USB_SERIAL_OPTION USB_SERIAL_OTI6858 USB_SERIAL_PL2303 USB_SERIAL_QCAUX USB_SERIAL_QT2 USB_SERIAL_QUALCOMM USB_SERIAL_SAFE USB_SERIAL_SIERRAWIRELESS USB_SERIAL_SIMPLE USB_SERIAL_SPCP8X5 USB_SERIAL_SSU100 USB_SERIAL_SYMBOL USB_SERIAL_TI USB_SERIAL_UPD78F0730 USB_SERIAL_VISOR USB_SERIAL_WHITEHEAT USB_SERIAL_WISHBONE USB_SERIAL_WWAN USB_SERIAL_XR USB_SERIAL_XSENS_MT USB_SEVSEG USB_SI470X USB_SI4713 USB_SIERRA_NET USB_SISUSBVGA USB_SL811_CS USB_SL811_HCD USB_SL811_HCD_ISO USB_SNP_CORE USB_SPEEDTOUCH USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_ENE_UB6250 USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_STV06XX USB_TEST USB_TMC USB_TRANCEVIBRATOR USB_UAS USB_UEAGLEATM USB_ULPI_BUS USB_USBNET USB_USS720 USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_VIDEO_CLASS USB_VIDEO_CLASS_INPUT_EVDEV USB_VL600 USB_WDM USB_XHCI_DBGCAP USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER UVC_COMMON U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VDPA_SIM VDPA_SIM_BLOCK VDPA_SIM_NET VDPA_USER VETH VFIO VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_PCI_MMAP VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_IOTLB VHOST_NET VHOST_RING VHOST_TASK VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOMODE_HELPERS VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CMDLINE VIDEO_CS53L32A VIDEO_CX231XX VIDEO_CX231XX_ALSA VIDEO_CX231XX_DVB VIDEO_CX231XX_RC VIDEO_CX2341X VIDEO_CX25840 VIDEO_DEV VIDEO_EM28XX VIDEO_EM28XX_ALSA VIDEO_EM28XX_DVB VIDEO_EM28XX_RC VIDEO_EM28XX_V4L2 VIDEO_GO7007 VIDEO_GO7007_LOADER VIDEO_GO7007_USB VIDEO_GO7007_USB_S2250_BOARD VIDEO_HDPVR VIDEO_MSP3400 VIDEO_NOMODESET VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2_I2C VIDEO_V4L2_SUBDEV_API VIDEO_V4L2_TPG VIDEO_VICODEC VIDEO_VIM2M VIDEO_VIMC VIDEO_VIVID VIDEO_VIVID_CEC VIDEO_WM8775 VIPERBOARD_ADC VIRTIO_BALLOON VIRTIO_DMA_SHARED_BUFFER VIRTIO_MEM VIRTIO_MMIO VIRTIO_MMIO_CMDLINE_DEVICES VIRTIO_PMEM VIRTIO_VDPA VIRTIO_VSOCKETS VIRTIO_VSOCKETS_COMMON VIRT_WIFI VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMAP_PFN VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING VXFS_FS WANT_DEV_COREDUMP WEXT_CORE WEXT_PRIV WEXT_PROC WIREGUARD WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ADMTEK WLAN_VENDOR_PURELIFI WLAN_VENDOR_SILABS X86_SGX X86_SGX_KVM X86_X2APIC X86_X32_ABI XARRAY_MULTI XDP_SOCKETS XDP_SOCKETS_DIAG XFRM_ESPINTCP XFRM_INTERFACE XFRM_IPCOMP XFRM_MIGRATE XFRM_OFFLOAD XFRM_STATISTICS XFRM_SUB_POLICY XFRM_USER_COMPAT XFS_FS XFS_POSIX_ACL XFS_QUOTA XFS_RT XOR_BLOCKS YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZBUD ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZBUD] disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d83a8ab35a6496f47cd91231e3348e004d7a180dc3038417f7630d3d7f6a304a all runs: OK false negative chance: 0.000 # git bisect start 1e25dd7772483f477f79986d956028e9f47f990a 6995e2de6891c724bfeb2db33d7b87775f913ad1 Bisecting: 8786 revisions left to test after this (roughly 13 steps) [b69f0aeb068980af983d399deafc7477cec8bc04] pid: Replace struct pid 1-element array with flex-array testing commit b69f0aeb068980af983d399deafc7477cec8bc04 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dd9ee5ae75b5be13c74a1094bf79257b4d86a145d17cb4e999756cdccb15cf6f all runs: OK false negative chance: 0.000 # git bisect good b69f0aeb068980af983d399deafc7477cec8bc04 Bisecting: 4392 revisions left to test after this (roughly 12 steps) [39b1428639ed2224832234f48bfce991786aa4df] Merge tag 'regmap-fix-v6.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap testing commit 39b1428639ed2224832234f48bfce991786aa4df gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d451bdfaf807907fc603bc10832176615c85e6c88c8a1ec6a8f278019856f008 all runs: OK false negative chance: 0.000 # git bisect good 39b1428639ed2224832234f48bfce991786aa4df Bisecting: 2389 revisions left to test after this (roughly 11 steps) [8cffbec89b1686470a300ae032bdeb8ede4f227b] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git testing commit 8cffbec89b1686470a300ae032bdeb8ede4f227b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 04314513a6c908f796216b45ad91376b8e7a6fe996a4efadcef1f1bd36aa8a89 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] # git bisect bad 8cffbec89b1686470a300ae032bdeb8ede4f227b Bisecting: 971 revisions left to test after this (roughly 10 steps) [45848fc4d7a6b03541b9553a7a6324910ef53570] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git testing commit 45848fc4d7a6b03541b9553a7a6324910ef53570 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 07f259a238d69e37f684bb6e353f3c79d459c10ad16b8fb55986b76befc7befd all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] # git bisect bad 45848fc4d7a6b03541b9553a7a6324910ef53570 Bisecting: 434 revisions left to test after this (roughly 9 steps) [3c3dc397cc4543e1a663de91beb4048da0840bf5] Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 3c3dc397cc4543e1a663de91beb4048da0840bf5 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4c2479a24aa1e51f6f5b9e233c6ee8857f523eedd8e89eee8b4192669e2ab41a all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] # git bisect bad 3c3dc397cc4543e1a663de91beb4048da0840bf5 Bisecting: 297 revisions left to test after this (roughly 8 steps) [9f4e0d6434698a81db479d14110f5472a25748fe] mmu_notifiers: don't invalidate secondary TLBs as part of mmu_notifier_invalidate_range_end() testing commit 9f4e0d6434698a81db479d14110f5472a25748fe gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3a27ce7487c4300bfbd3a8113f2f4c9bb51863f6d57cd23762a9a6a61e875186 all runs: OK false negative chance: 0.000 # git bisect good 9f4e0d6434698a81db479d14110f5472a25748fe Bisecting: 148 revisions left to test after this (roughly 7 steps) [a3a702045f2b3a06584e864c80ae72aa8e18f0c3] Merge branch 'hwmon' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git testing commit a3a702045f2b3a06584e864c80ae72aa8e18f0c3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c4fb624d77c07e536942db89d92d9691e1b5fd3bfc6eac6954f0c2b7a3e611ad all runs: OK false negative chance: 0.000 # git bisect good a3a702045f2b3a06584e864c80ae72aa8e18f0c3 Bisecting: 89 revisions left to test after this (roughly 6 steps) [a52f58b34afe095ebc5823684eb264404dad6f7b] mm: handle faults that merely update the accessed bit under the VMA lock testing commit a52f58b34afe095ebc5823684eb264404dad6f7b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d113396a67c2cbc3e719e8b4b1f6557c87fe45c622db32ed9f3b0fb0a28a6b80 all runs: crashed: WARNING: suspicious RCU usage in mas_walk representative crash: WARNING: suspicious RCU usage in mas_walk, types: [LOCKDEP] # git bisect bad a52f58b34afe095ebc5823684eb264404dad6f7b Bisecting: 29 revisions left to test after this (roughly 5 steps) [55830b5f01d4293b14a5ae60aa6a00afd26c80d6] acpi, hmat: refactor hmat_register_target_initiators() testing commit 55830b5f01d4293b14a5ae60aa6a00afd26c80d6 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f2d80b077abd2b41e08700f3e7f42d846eec295ce48432de134a16bfd408b64f all runs: OK false negative chance: 0.000 # git bisect good 55830b5f01d4293b14a5ae60aa6a00afd26c80d6 Bisecting: 14 revisions left to test after this (roughly 4 steps) [de32a89e11bab2e9c8c881fbbbad84a492d5ce9c] mm: set up vma iterator for vma_iter_prealloc() calls testing commit de32a89e11bab2e9c8c881fbbbad84a492d5ce9c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec7bcae113e72f9d05a04ed59fb03f3c8b5f2d78c2ecddf44c791ef6c5c1c8ac all runs: OK false negative chance: 0.000 # git bisect good de32a89e11bab2e9c8c881fbbbad84a492d5ce9c Bisecting: 7 revisions left to test after this (roughly 3 steps) [78b696bb953cb0b553e1cf9084a6e09580aa4e2a] mm: allow per-VMA locks on file-backed VMAs testing commit 78b696bb953cb0b553e1cf9084a6e09580aa4e2a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49278a93803edf5e76d4bbd986b021bf5ecc768369493bf6c289d36fc876d5e8 all runs: OK false negative chance: 0.000 # git bisect good 78b696bb953cb0b553e1cf9084a6e09580aa4e2a Bisecting: 3 revisions left to test after this (roughly 2 steps) [7b9e33b04ea2c9c8b04cd2e748bc75cd5d97251e] mm: move FAULT_FLAG_VMA_LOCK check down in handle_pte_fault() testing commit 7b9e33b04ea2c9c8b04cd2e748bc75cd5d97251e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8bfc54d55c763a23b6a075244b8855b56688a5c889bc3667af383eca14288197 all runs: OK false negative chance: 0.000 # git bisect good 7b9e33b04ea2c9c8b04cd2e748bc75cd5d97251e Bisecting: 1 revision left to test after this (roughly 1 step) [5ac0ce2ecacfd4a8c048732df1ff040346efe826] mm: run the fault-around code under the VMA lock testing commit 5ac0ce2ecacfd4a8c048732df1ff040346efe826 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 99bb76d89255530c4dd9996513124fa5d8049485a2144707479ffc52aa802750 all runs: OK false negative chance: 0.000 # git bisect good 5ac0ce2ecacfd4a8c048732df1ff040346efe826 Bisecting: 0 revisions left to test after this (roughly 0 steps) [ec4e0bb838254a5f385d74716caa19af489dcc7a] mm: handle swap and NUMA PTE faults under the VMA lock testing commit ec4e0bb838254a5f385d74716caa19af489dcc7a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: af1ebae05f727e87b4b0d6a4b58c5c0e84ea0fc5e39320596ee8a81f140e7828 all runs: OK false negative chance: 0.000 # git bisect good ec4e0bb838254a5f385d74716caa19af489dcc7a a52f58b34afe095ebc5823684eb264404dad6f7b is the first bad commit commit a52f58b34afe095ebc5823684eb264404dad6f7b Author: Matthew Wilcox (Oracle) Date: Mon Jul 24 19:54:10 2023 +0100 mm: handle faults that merely update the accessed bit under the VMA lock Move FAULT_FLAG_VMA_LOCK check out of handle_pte_fault(). This should have a significant performance improvement for mmaped files. Write faults (on read-only shared pages) still take the mmap lock as we do not want to audit all the implementations of ->pfn_mkwrite() and ->page_mkwrite(). However write-faults on private mappings are handled under the VMA lock. Link: https://lkml.kernel.org/r/20230724185410.1124082-11-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) Cc: Arjun Roy Cc: Eric Dumazet Cc: Punit Agrawal Cc: Suren Baghdasaryan Signed-off-by: Andrew Morton mm/memory.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) accumulated error probability: 0.00 culprit signature: d113396a67c2cbc3e719e8b4b1f6557c87fe45c622db32ed9f3b0fb0a28a6b80 parent signature: af1ebae05f727e87b4b0d6a4b58c5c0e84ea0fc5e39320596ee8a81f140e7828 revisions tested: 22, total time: 6h56m5.76347811s (build: 3h47m50.759349571s, test: 2h53m10.480160788s) first bad commit: a52f58b34afe095ebc5823684eb264404dad6f7b mm: handle faults that merely update the accessed bit under the VMA lock recipients (to): ["akpm@linux-foundation.org" "willy@infradead.org"] recipients (cc): [] crash: WARNING: suspicious RCU usage in mas_walk ============================= WARNING: suspicious RCU usage 6.5.0-rc3-syzkaller #0 Not tainted ----------------------------- lib/maple_tree.c:839 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.0/2795: #0: ffff8881131be790 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:654 [inline] #0: ffff8881131be790 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0xcc/0x470 mm/memory.c:5585 stack backtrace: CPU: 0 PID: 2795 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x7e/0xb0 lib/dump_stack.c:106 lockdep_rcu_suspicious+0x158/0x1e0 kernel/locking/lockdep.c:6719 mas_root lib/maple_tree.c:839 [inline] mas_root lib/maple_tree.c:837 [inline] mas_start lib/maple_tree.c:1381 [inline] mas_state_walk lib/maple_tree.c:3832 [inline] mas_walk+0x19c/0x1f0 lib/maple_tree.c:4973 find_mergeable_anon_vma+0x6c/0x210 mm/mmap.c:1085 __anon_vma_prepare+0x43/0x1b0 mm/rmap.c:200 anon_vma_prepare include/linux/rmap.h:159 [inline] wp_page_copy mm/memory.c:3202 [inline] do_wp_page+0xb88/0x10e0 mm/memory.c:3579 handle_pte_fault mm/memory.c:5133 [inline] __handle_mm_fault+0x3c1/0x3d0 mm/memory.c:5257 handle_mm_fault+0x111/0x280 mm/memory.c:5422 do_user_addr_fault arch/x86/mm/fault.c:1342 [inline] handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x16f/0x920 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f7c96b5a361 Code: 48 8b 54 24 08 48 85 d2 74 17 8b 44 24 18 0f c8 89 c0 48 89 44 24 18 48 83 fa 01 0f 85 b3 01 00 00 48 8b 44 24 10 8b 54 24 18 <89> 10 e9 15 fd ff ff 48 8b 44 24 10 8b 10 48 8b 44 24 08 48 85 c0 RSP: 002b:00007ffeefc774a0 EFLAGS: 00010246 RAX: 0000000020000400 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000555555a81360 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffeefc77610 R11: 0000000000000246 R12: 00007f7c9672f158 R13: fffffffffffffffe R14: 00007f7c9672f000 R15: 00007f7c9672f160 ============================= WARNING: suspicious RCU usage 6.5.0-rc3-syzkaller #0 Not tainted ----------------------------- lib/maple_tree.c:795 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.0/2795: #0: ffff8881131be790 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:654 [inline] #0: ffff8881131be790 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0xcc/0x470 mm/memory.c:5585 stack backtrace: CPU: 0 PID: 2795 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x7e/0xb0 lib/dump_stack.c:106 lockdep_rcu_suspicious+0x158/0x1e0 kernel/locking/lockdep.c:6719 mt_slot lib/maple_tree.c:795 [inline] mt_slot lib/maple_tree.c:792 [inline] mtree_range_walk+0x249/0x290 lib/maple_tree.c:2946 mas_state_walk lib/maple_tree.c:3839 [inline] mas_walk+0xfc/0x1f0 lib/maple_tree.c:4973 find_mergeable_anon_vma+0x6c/0x210 mm/mmap.c:1085 __anon_vma_prepare+0x43/0x1b0 mm/rmap.c:200 anon_vma_prepare include/linux/rmap.h:159 [inline] wp_page_copy mm/memory.c:3202 [inline] do_wp_page+0xb88/0x10e0 mm/memory.c:3579 handle_pte_fault mm/memory.c:5133 [inline] __handle_mm_fault+0x3c1/0x3d0 mm/memory.c:5257 handle_mm_fault+0x111/0x280 mm/memory.c:5422 do_user_addr_fault arch/x86/mm/fault.c:1342 [inline] handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x16f/0x920 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f7c96b5a361 Code: 48 8b 54 24 08 48 85 d2 74 17 8b 44 24 18 0f c8 89 c0 48 89 44 24 18 48 83 fa 01 0f 85 b3 01 00 00 48 8b 44 24 10 8b 54 24 18 <89> 10 e9 15 fd ff ff 48 8b 44 24 10 8b 10 48 8b 44 24 08 48 85 c0 RSP: 002b:00007ffeefc774a0 EFLAGS: 00010246 RAX: 0000000020000400 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000555555a81360 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffeefc77610 R11: 0000000000000246 R12: 00007f7c9672f158 R13: fffffffffffffffe R14: 00007f7c9672f000 R15: 00007f7c9672f160