ci starts bisection 2023-09-14 22:43:15.190510447 +0000 UTC m=+128339.209634455 bisecting cause commit starting from 98897dc735cf6635f0966f76eb0108354168fb15 building syzkaller on 0b6a67ac4b0dc26f43030c5edd01c9175f13b784 ensuring issue is reproducible on original commit 98897dc735cf6635f0966f76eb0108354168fb15 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b3af493e12d328fc9b5f4c9390fa328ba312c22c413395cef44dcb90e2eb85f3 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_add_anon_rmap run #2: basic kernel testing failed: WARNING in page_add_anon_rmap run #3: crashed: WARNING in page_add_anon_rmap run #4: crashed: WARNING in page_add_anon_rmap run #5: crashed: WARNING in page_add_anon_rmap run #6: crashed: WARNING in page_add_anon_rmap run #7: crashed: WARNING in page_add_anon_rmap run #8: crashed: WARNING in page_add_anon_rmap run #9: crashed: WARNING in page_add_anon_rmap run #10: crashed: WARNING in page_add_anon_rmap run #11: crashed: WARNING in page_add_anon_rmap run #12: crashed: WARNING in page_add_anon_rmap run #13: crashed: WARNING in page_add_anon_rmap run #14: crashed: WARNING in page_add_anon_rmap run #15: crashed: WARNING in page_add_anon_rmap run #16: crashed: WARNING in page_add_anon_rmap run #17: crashed: WARNING in page_add_anon_rmap run #18: crashed: WARNING in page_add_anon_rmap run #19: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 978dfa7fc0dd8b9952739b83c6ebfaedcc01556c61c543645d36868fb030eac7 all runs: boot failed: BUG: unable to handle kernel NULL pointer dereference in stack_depot_save_flags unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 kconfig minimization: base=3883 full=7700 leaves diff=2021 split chunks (needed=false): <2021> split chunk #0 of len 2021 into 5 parts testing without sub-chunk 1/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de863b587b8c1b8631715b5c02c41e2f0772572316c198e10e21fe2e12cafb05 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_add_anon_rmap run #2: crashed: WARNING in page_add_anon_rmap run #3: crashed: WARNING in page_add_anon_rmap run #4: crashed: WARNING in page_add_anon_rmap run #5: crashed: WARNING in page_add_anon_rmap run #6: crashed: WARNING in page_add_anon_rmap run #7: crashed: WARNING in page_add_anon_rmap run #8: crashed: WARNING in page_add_anon_rmap run #9: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6295a096e2213f1ad6fff8730b0007dbe4d47b56304838b2a7047148388ee6c5 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_add_anon_rmap run #2: crashed: WARNING in page_add_anon_rmap run #3: crashed: WARNING in page_add_anon_rmap run #4: crashed: WARNING in page_add_anon_rmap run #5: crashed: WARNING in page_add_anon_rmap run #6: crashed: WARNING in page_add_anon_rmap run #7: crashed: WARNING in page_add_anon_rmap run #8: crashed: WARNING in page_add_anon_rmap run #9: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 195120133fed2b4d9c79674762f9874f804e6e232032c2af2d4ba94a9249fd27 all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4ac5b844c6ff8e4a0fdf9aeea4956d6caed9d312ef1fcdb90aab84bebf6e8e03 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08c95bdc2016c7f683444808a8bff141c91ef5f8deae52a75bbf8ed1ac1c5ea2 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_add_anon_rmap run #2: crashed: WARNING in page_add_anon_rmap run #3: crashed: WARNING in page_add_anon_rmap run #4: crashed: WARNING in page_add_anon_rmap run #5: crashed: WARNING in page_add_anon_rmap run #6: crashed: WARNING in page_add_anon_rmap run #7: crashed: WARNING in page_add_anon_rmap run #8: crashed: WARNING in page_add_anon_rmap run #9: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] the chunk can be dropped minimized to 405 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_ADVANCED NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_CONNTRACK_SNMP NF_NAT_SNMP_BASIC NF_NAT_TFTP NF_SOCKET_IPV4 NF_SOCKET_IPV6 NF_TABLES NF_TABLES_ARP NF_TPROXY_IPV4 NF_TPROXY_IPV6 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 NLS_UCS2_UTILS 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_LANG_EXCLUDE 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 PPPOE_HASH_BITS_4 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_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 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_COMPILE_DECOMP_SINGLE 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 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 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_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] picked [v6.5 v6.4 v6.3 v6.1 v5.19 v5.17 v5.15 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 28 release tags testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dac59f6cbe8b0f543b64cdf17847542a42dacb973908d40067353e1c9f7989df all runs: OK false negative chance: 0.000 # git bisect start 98897dc735cf6635f0966f76eb0108354168fb15 2dde18cd1d8fac735875f2e4987f11817cc0bc2c Bisecting: 9270 revisions left to test after this (roughly 13 steps) [f35d1706159e015848ec7421e91b44b614c02dc2] Merge tag 'nfsd-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux testing commit f35d1706159e015848ec7421e91b44b614c02dc2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d8078cae00e8ad2b562f0d9a2727a1eebe388a5a72e1c367764d28b7a5d2b0e7 all runs: OK false negative chance: 0.000 # git bisect good f35d1706159e015848ec7421e91b44b614c02dc2 Bisecting: 4634 revisions left to test after this (roughly 12 steps) [9324b53621dd1affd525d1e968f0ab85b3872ed9] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git testing commit 9324b53621dd1affd525d1e968f0ab85b3872ed9 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 54632aee680d56f4a59601b944a44db9aeaa2b673ca2c4d35f2348e77eee0d7d all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] # git bisect bad 9324b53621dd1affd525d1e968f0ab85b3872ed9 Bisecting: 2326 revisions left to test after this (roughly 11 steps) [d8723062a26b17080d89e6b4d360ba50d1e453dd] Merge tag 'mfd-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd testing commit d8723062a26b17080d89e6b4d360ba50d1e453dd gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26de892f45e5ec7ccce2e9e1986d33923448fbab0764a9dd0cb91a9c3f76a1b4 all runs: OK false negative chance: 0.000 # git bisect good d8723062a26b17080d89e6b4d360ba50d1e453dd Bisecting: 1160 revisions left to test after this (roughly 10 steps) [a48fa7efaf1161c1c898931fe4c7f0070964233a] Merge tag 'drm-next-2023-09-08' of git://anongit.freedesktop.org/drm/drm testing commit a48fa7efaf1161c1c898931fe4c7f0070964233a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3fc5b632793219aedb6da4b198b456b9105dc662844dfc2395b374f32499e7c9 all runs: OK false negative chance: 0.000 # git bisect good a48fa7efaf1161c1c898931fe4c7f0070964233a Bisecting: 580 revisions left to test after this (roughly 9 steps) [4471da7fe0c737a92a48a1b201ac6348b1eab180] lib/stackdepot, kasan: add flags to __stack_depot_save and rename testing commit 4471da7fe0c737a92a48a1b201ac6348b1eab180 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19a914f17fae143532029e9b4c278f7a15d3fdc89f41b7b917e5271c62ae9263 all runs: OK false negative chance: 0.000 # git bisect good 4471da7fe0c737a92a48a1b201ac6348b1eab180 Bisecting: 288 revisions left to test after this (roughly 8 steps) [8ededbbccec3ab79f54296629ecf08d429c4ce1b] Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git testing commit 8ededbbccec3ab79f54296629ecf08d429c4ce1b gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0b076ae5bf5fcbd1cc1957da30b954630ec702f0f72796d5a1b011088f4ca86c all runs: OK false negative chance: 0.000 # git bisect good 8ededbbccec3ab79f54296629ecf08d429c4ce1b Bisecting: 132 revisions left to test after this (roughly 7 steps) [b0026dbb922f808195de06a8d7e2ba9bf050f45f] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git testing commit b0026dbb922f808195de06a8d7e2ba9bf050f45f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da2f0dceb16abbb34366ebec12e9aea2bcbaa81042c4931bbeb33c4723c55242 all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] # git bisect bad b0026dbb922f808195de06a8d7e2ba9bf050f45f Bisecting: 87 revisions left to test after this (roughly 6 steps) [bcfe98207530e1ea0004f4e5dbd6e7e4d9eb2471] Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc testing commit bcfe98207530e1ea0004f4e5dbd6e7e4d9eb2471 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f88560c77ca681bead0bfa4b830a41afd9e4d2f747e59e5307a231f9d17eb410 all runs: OK false negative chance: 0.000 # git bisect good bcfe98207530e1ea0004f4e5dbd6e7e4d9eb2471 Bisecting: 36 revisions left to test after this (roughly 6 steps) [c7934e3f58e54d5b03244c77dabdec4822ea6724] Merge branch 'mm-nonmm-unstable' into mm-everything testing commit c7934e3f58e54d5b03244c77dabdec4822ea6724 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 90fea24ea49ed151b0ea471e8229ffd377a1e30aa914f3a9d9a2865033cdbebf all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] # git bisect bad c7934e3f58e54d5b03244c77dabdec4822ea6724 Bisecting: 25 revisions left to test after this (roughly 5 steps) [9ea20dafbed1f9f772d08884ceeb4ac7065aca79] fs: ocfs2: replace strlcpy with sysfs_emit testing commit 9ea20dafbed1f9f772d08884ceeb4ac7065aca79 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 47c69966ca61c2dced7bb17ac62464388bb8aa614629260a4884f5ee4836b174 all runs: OK false negative chance: 0.000 # git bisect good 9ea20dafbed1f9f772d08884ceeb4ac7065aca79 Bisecting: 12 revisions left to test after this (roughly 4 steps) [dc18ca30f2f6ea5b1ee2d29470382d8c7d5ea3d1] mm/rmap: pass folio to hugepage_add_anon_rmap() testing commit dc18ca30f2f6ea5b1ee2d29470382d8c7d5ea3d1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b3ae7889138533d13ec653a46665b9eb8fb04fbbfd633f1ecb5a949935c7742 all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] # git bisect bad dc18ca30f2f6ea5b1ee2d29470382d8c7d5ea3d1 Bisecting: 6 revisions left to test after this (roughly 3 steps) [835a97e9b2f60dc56554cf9328e9607337cfa50e] mm: memcg: add THP swap out info for anonymous reclaim testing commit 835a97e9b2f60dc56554cf9328e9607337cfa50e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 failed building 835a97e9b2f60dc56554cf9328e9607337cfa50e: mm/page_io.c:298:52: error: 'p' undeclared (first use in this function); did you mean 'up'? # git bisect skip 835a97e9b2f60dc56554cf9328e9607337cfa50e Bisecting: 5 revisions left to test after this (roughly 3 steps) [4e74630219c84fb7bce7c55175cb7db397309060] mm-memcg-add-thp-swap-out-info-for-anonymous-reclaim-fix testing commit 4e74630219c84fb7bce7c55175cb7db397309060 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ac5835cf999a18e2b5b13f3bd6bb007d8328ee4509f3b9e677c598510f7bfdb all runs: OK false negative chance: 0.000 # git bisect good 4e74630219c84fb7bce7c55175cb7db397309060 Bisecting: 2 revisions left to test after this (roughly 2 steps) [56c0b49601282d5b626e201c1d91ea971462887d] mm/rmap: move folio_test_anon() check out of __folio_set_anon() testing commit 56c0b49601282d5b626e201c1d91ea971462887d gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a58edff553581b782c34052b0efd56b642e7f4cfabb33ca87af46507f960083 all runs: OK false negative chance: 0.000 # git bisect good 56c0b49601282d5b626e201c1d91ea971462887d Bisecting: 0 revisions left to test after this (roughly 1 step) [b8575fa4abaa1dee1a61f1f27a86a02757310a7e] mm/rmap: simplify PageAnonExclusive sanity checks when adding anon rmap testing commit b8575fa4abaa1dee1a61f1f27a86a02757310a7e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9074794446619f32779b368c8e9d30a3a936140577582eb084db055525638c00 all runs: crashed: WARNING in page_add_anon_rmap representative crash: WARNING in page_add_anon_rmap, types: [WARNING] # git bisect bad b8575fa4abaa1dee1a61f1f27a86a02757310a7e Bisecting: 0 revisions left to test after this (roughly 0 steps) [cfdb0a4804b43259277b202db1fbdfafe778ba8c] mm/rmap: warn on new PTE-mapped folios in page_add_anon_rmap() testing commit cfdb0a4804b43259277b202db1fbdfafe778ba8c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5abf72ff4a508636c5aead9312643766ea4b0afc8dd714ed9b831a850d6e728c all runs: OK false negative chance: 0.000 # git bisect good cfdb0a4804b43259277b202db1fbdfafe778ba8c b8575fa4abaa1dee1a61f1f27a86a02757310a7e is the first bad commit commit b8575fa4abaa1dee1a61f1f27a86a02757310a7e Author: David Hildenbrand Date: Wed Sep 13 14:51:12 2023 +0200 mm/rmap: simplify PageAnonExclusive sanity checks when adding anon rmap Let's sanity-check PageAnonExclusive vs. mapcount in page_add_anon_rmap() and hugepage_add_anon_rmap() after setting PageAnonExclusive simply by re-reading the mapcounts. We can stop initializing the "first" variable in page_add_anon_rmap() and no longer need an atomic_inc_and_test() in hugepage_add_anon_rmap(). While at it, switch to VM_WARN_ON_FOLIO(). Link: https://lkml.kernel.org/r/20230913125113.313322-6-david@redhat.com Signed-off-by: David Hildenbrand Cc: Matthew Wilcox Cc: Mike Kravetz Cc: Muchun Song Signed-off-by: Andrew Morton mm/rmap.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) accumulated error probability: 0.00 culprit signature: 9074794446619f32779b368c8e9d30a3a936140577582eb084db055525638c00 parent signature: 5abf72ff4a508636c5aead9312643766ea4b0afc8dd714ed9b831a850d6e728c revisions tested: 23, total time: 7h46m35.398199493s (build: 3h58m25.909361129s, test: 3h27m36.845419825s) first bad commit: b8575fa4abaa1dee1a61f1f27a86a02757310a7e mm/rmap: simplify PageAnonExclusive sanity checks when adding anon rmap recipients (to): ["akpm@linux-foundation.org" "akpm@linux-foundation.org" "david@redhat.com" "linux-mm@kvack.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING in page_add_anon_rmap entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1138 [inline] free_unref_page+0x54b/0xd20 mm/page_alloc.c:2460 free_contig_range+0xb6/0x190 mm/page_alloc.c:6396 destroy_args+0x5c0/0x7a0 mm/debug_vm_pgtable.c:1028 debug_vm_pgtable+0x177e/0x2d40 mm/debug_vm_pgtable.c:1408 do_one_initcall+0xd7/0x440 init/main.c:1232 do_initcall_level init/main.c:1294 [inline] do_initcalls init/main.c:1310 [inline] do_basic_setup init/main.c:1329 [inline] kernel_init_freeable+0x500/0x7b0 init/main.c:1547 kernel_init+0x1a/0x1c0 init/main.c:1437 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2667 at mm/rmap.c:1252 page_add_anon_rmap+0x730/0x11e0 mm/rmap.c:1252 Modules linked in: CPU: 1 PID: 2667 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:page_add_anon_rmap+0x730/0x11e0 mm/rmap.c:1252 Code: ea 03 80 3c 02 00 0f 85 cf 08 00 00 49 8b 45 00 a9 00 00 02 00 0f 84 f0 fd ff ff 48 c7 c6 60 94 4f 85 4c 89 e7 e8 b0 16 f9 ff <0f> 0b e9 da fd ff ff 41 f7 c5 ff 0f 00 00 0f 85 41 ff ff ff be 08 RSP: 0018:ffffc9000364f970 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888071fc6c30 RCX: ffffc9000364f848 RDX: 1ffff1100eb9e4f7 RSI: ffffffff85476b40 RDI: ffffffff857bd0c0 RBP: ffffea0001af8000 R08: 0000000000000000 R09: fffffbfff0ec8a9a R10: ffffffff876454d7 R11: 0000000000000001 R12: ffffea0001af8000 R13: ffffea0001af8000 R14: ffffea0001af8008 R15: ffffea0001af8058 FS: 00007fab2e76a6c0(0000) GS:ffff8880ba900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208f9f09 CR3: 000000007adde000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __split_huge_pmd_locked mm/huge_memory.c:2276 [inline] __split_huge_pmd+0xf51/0x1ff0 mm/huge_memory.c:2320 split_huge_pmd_address mm/huge_memory.c:2336 [inline] split_huge_pmd_if_needed mm/huge_memory.c:2348 [inline] split_huge_pmd_if_needed mm/huge_memory.c:2339 [inline] vma_adjust_trans_huge+0x1f7/0x420 mm/huge_memory.c:2360 __split_vma+0x9f7/0xe60 mm/mmap.c:2376 mlock_fixup+0x7ab/0x1160 mm/mlock.c:438 apply_vma_lock_flags+0x1c9/0x2c0 mm/mlock.c:514 do_mlock+0x21e/0x670 mm/mlock.c:610 __do_sys_mlock mm/mlock.c:624 [inline] __se_sys_mlock mm/mlock.c:622 [inline] __x64_sys_mlock+0x54/0x80 mm/mlock.c:622 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fab2da7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fab2e76a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000095 RAX: ffffffffffffffda RBX: 00007fab2db9bf80 RCX: 00007fab2da7cae9 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 00000000202cf000 RBP: 00007fab2dac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fab2db9bf80 R15: 00007ffff98db2c8