ci starts bisection 2024-06-23 21:34:31.66325545 +0000 UTC m=+176169.265769567 bisecting cause commit starting from 185d72112b951404968cfaa9f77cd9ee19207205 building syzkaller on edc5149ad2ab7a38db6b3bcb1b594e0264a92163 ensuring issue is reproducible on original commit 185d72112b951404968cfaa9f77cd9ee19207205 testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 99c70c20391c6e3d2c88c978652036f94b7dc4a9be320f1fce0e366075a2d4e8 all runs: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a280e140d7ffd3e614eae295747dc8bf364c35fab1a104ce8d9e649243ff9259 all runs: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3998 full=8041 leaves diff=2006 split chunks (needed=false): <2006> split chunk #0 of len 2006 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fd81138c2913a0dbedb297fe61f9cd9e625376573bcb395774b40771f173525b all runs: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f4518bfcf306234fec3bbadfda144afadebe62e7f3a57d30356d4ff94ed7b4bb all runs: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cb570de903f152f3dcf7c0a410a7500e0bcf63d8598eae03c44a29894529be59 run #0: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #1: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #2: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work run #3: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #4: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #5: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #6: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #7: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #8: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #9: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c4418fa59d500aeb70cf2a10ad0fdecaf319a291e7cfe057a9fa799e625bbfb5 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 185d72112b951404968cfaa9f77cd9ee19207205 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7ce11aab344fea6bef4a64318fc3421238834641166727df6be73d4391141e3b run #0: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #1: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work run #2: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work run #3: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #4: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #5: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #6: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work run #7: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #8: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #9: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] the chunk can be dropped minimized to 402 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HAVE_CLK HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN IP_SCTP L2TP LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_RETU MMC MTD MTD_UBI NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 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 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_DEBUG OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_BTF_TAG 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 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 REGMAP_SPI 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 SCREEN_INFO 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 SKB_DECRYPTED 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_HDA_SCODEC_COMPONENT 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_SOC SND_SOC_I2C_AND_SPI 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 SOUNDWIRE 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 TMPFS_QUOTA 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_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed picked [v6.9 v6.8 v6.7 v6.5 v6.3 v6.1 v5.19 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 32 release tags testing release v6.9 testing commit a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bbb24ff53c8d1d0ed395484caa45aff3f8c9d3ebe144db1efdf589add1dbd985 all runs: OK false negative chance: 0.000 # git bisect start 185d72112b951404968cfaa9f77cd9ee19207205 a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 Bisecting: 6863 revisions left to test after this (roughly 13 steps) [33e02dc69afbd8f1b85a51d74d72f139ba4ca623] Merge tag 'sound-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 33e02dc69afbd8f1b85a51d74d72f139ba4ca623 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f5137ab4d0fc316fda1323a66e81968236070dc5129fc677c237ca83ffdeb8dd all runs: OK false negative chance: 0.000 # git bisect good 33e02dc69afbd8f1b85a51d74d72f139ba4ca623 Bisecting: 3493 revisions left to test after this (roughly 12 steps) [4865a27c66fda6a32511ec5492f4bbec437f512d] Merge tag 'bitmap-for-6.10v2' of https://github.com/norov/linux testing commit 4865a27c66fda6a32511ec5492f4bbec437f512d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dafacdcc44a5471a85f986136bca92c71bc5ff265bea13017684011c5641f4c3 all runs: OK false negative chance: 0.000 # git bisect good 4865a27c66fda6a32511ec5492f4bbec437f512d Bisecting: 1727 revisions left to test after this (roughly 11 steps) [d8ec19857b095b39d114ae299713bd8ea6c1e66a] Merge tag 'net-6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit d8ec19857b095b39d114ae299713bd8ea6c1e66a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57948eaef4ed34eb40bef25695932c58a700dd2f9db9c26ad34e466778878f5a all runs: OK false negative chance: 0.000 # git bisect good d8ec19857b095b39d114ae299713bd8ea6c1e66a Bisecting: 861 revisions left to test after this (roughly 10 steps) [6226e74900d7c106c7c86b878dc6779cfdb20c2b] Merge tag 'hyperv-fixes-signed-20240616' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux testing commit 6226e74900d7c106c7c86b878dc6779cfdb20c2b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f2e2b36f36f5cba1e1252c98633f12314b29528a0748d35a8cd92f3b7b1b5af all runs: OK false negative chance: 0.000 # git bisect good 6226e74900d7c106c7c86b878dc6779cfdb20c2b Bisecting: 425 revisions left to test after this (roughly 9 steps) [93d4e8bb3f137e8037a65ea96f175f81c25c50e5] Merge tag 'wireless-next-2024-06-07' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next testing commit 93d4e8bb3f137e8037a65ea96f175f81c25c50e5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 92fdf91512dd48cc41978ef42ec30a2485b90578accdbf02ee0d1262c8fb121e run #0: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] # git bisect bad 93d4e8bb3f137e8037a65ea96f175f81c25c50e5 Bisecting: 217 revisions left to test after this (roughly 8 steps) [a999973236543f0b8f6daeaa7ecba7488c3a593b] net: ti: icssg-prueth: Add multicast filtering support testing commit a999973236543f0b8f6daeaa7ecba7488c3a593b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2515847ede3b160616c2029d29187f59e1c566fb090873bb4b7515574b7320df all runs: OK false negative chance: 0.000 # git bisect good a999973236543f0b8f6daeaa7ecba7488c3a593b Bisecting: 121 revisions left to test after this (roughly 7 steps) [5bcd9a0a59953b5ff55ac226f903397319bf7f40] wifi: brcm80211: remove unused structs testing commit 5bcd9a0a59953b5ff55ac226f903397319bf7f40 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da69358cc0396a8cda2ad480242a8f6ea19022f22b6dc6a2d5ed040ce78bb15b run #0: crashed: lost connection to test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: lost connection to test machine, types: [UNKNOWN] # git bisect bad 5bcd9a0a59953b5ff55ac226f903397319bf7f40 Bisecting: 47 revisions left to test after this (roughly 6 steps) [9574c7592c5080a3e1f3fdfe658bd13083a04cb5] wifi: iwlwifi: mvm: disable dynamic EMLSR when AUTO_EML is false testing commit 9574c7592c5080a3e1f3fdfe658bd13083a04cb5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c330920d9e4df66afd00a4aef712ee6498c85c1c36078a11c97ba0048964c470 run #0: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: KASAN: slab-use-after-free Write in l2tp_session_delete, types: [KASAN] # git bisect bad 9574c7592c5080a3e1f3fdfe658bd13083a04cb5 Bisecting: 23 revisions left to test after this (roughly 5 steps) [caa12b3dd44996f63b8dd0d842c68866d4ead307] wifi: ath11k: fix TPE power levels testing commit caa12b3dd44996f63b8dd0d842c68866d4ead307 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e10910bde38a21a9a91949722fa557b7b8effba580fa38dd2e0909c5f456d3c9 all runs: OK false negative chance: 0.021 # git bisect good caa12b3dd44996f63b8dd0d842c68866d4ead307 Bisecting: 11 revisions left to test after this (roughly 4 steps) [797af7ac20283d10818e9fc21b405dcaf6902b69] wifi: iwlwifi: remove redundant reading from NVM file testing commit 797af7ac20283d10818e9fc21b405dcaf6902b69 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b895f4ad6ccc3ccf2383737f607963bfbaf519541ddab3c14099f30e560c376b all runs: OK false negative chance: 0.021 # git bisect good 797af7ac20283d10818e9fc21b405dcaf6902b69 Bisecting: 5 revisions left to test after this (roughly 3 steps) [9c93c0b44be36fd5267fb79ae33453f989fbe909] wifi: iwlwifi: mei: unify iwl_mei_set_power_limit() prototype testing commit 9c93c0b44be36fd5267fb79ae33453f989fbe909 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc8f1d60b7d22ea0ba31533fff0dba7c2d2609f471ece474a1de0dd44410ea02 all runs: OK false negative chance: 0.021 # git bisect good 9c93c0b44be36fd5267fb79ae33453f989fbe909 Bisecting: 2 revisions left to test after this (roughly 2 steps) [45eeee1f300d2b0b1ad8570b4ef6e2a23932f1a5] wifi: iwlwifi: always print the firmware version in hex testing commit 45eeee1f300d2b0b1ad8570b4ef6e2a23932f1a5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ba0c5b8b4855aa19d5635c47dadd04190fe51c54a9c544b5a74fd2ebc804843 all runs: OK false negative chance: 0.021 # git bisect good 45eeee1f300d2b0b1ad8570b4ef6e2a23932f1a5 Bisecting: 0 revisions left to test after this (roughly 1 step) [157c8a448354518f9a1e8d758094fc80afeb8568] wifi: iwlwifi: mvm: use vif P2P type helper testing commit 157c8a448354518f9a1e8d758094fc80afeb8568 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b69afbb0999ac0ec362251751d6a6769980ef6dc6d9955fc7f1662c34ab73e83 all runs: OK false negative chance: 0.021 # git bisect good 157c8a448354518f9a1e8d758094fc80afeb8568 9574c7592c5080a3e1f3fdfe658bd13083a04cb5 is the first bad commit commit 9574c7592c5080a3e1f3fdfe658bd13083a04cb5 Author: Miri Korenblit Date: Sun May 12 07:31:10 2024 +0300 wifi: iwlwifi: mvm: disable dynamic EMLSR when AUTO_EML is false When AUTO_EML is set to false, this change ignores the exit criteria, for testing purposes. Currently, if AUTO_EML is disabled, the driver will not select a link or enter EMLSR, but will still exit if one of the criteria is not fulfilled. Signed-off-by: Miri Korenblit Reviewed-by: Johannes Berg Link: https://msgid.link/20240512072733.10a0b5da6ec2.I46fd578a3ef6cdbf14fdc4dfa97b4be008fe68e3@changeid Signed-off-by: Johannes Berg drivers/net/wireless/intel/iwlwifi/mvm/link.c | 9 +++++++++ 1 file changed, 9 insertions(+) accumulated error probability: 0.10 culprit signature: c330920d9e4df66afd00a4aef712ee6498c85c1c36078a11c97ba0048964c470 parent signature: b69afbb0999ac0ec362251751d6a6769980ef6dc6d9955fc7f1662c34ab73e83 reproducer is flaky (0.18 repro chance estimate) revisions tested: 21, total time: 9h39m29.516000876s (build: 4h25m38.899458863s, test: 3h35m24.853554407s) first bad commit: 9574c7592c5080a3e1f3fdfe658bd13083a04cb5 wifi: iwlwifi: mvm: disable dynamic EMLSR when AUTO_EML is false recipients (to): ["johannes.berg@intel.com" "linux-kernel@vger.kernel.org" "miriam.rachel.korenblit@intel.com"] recipients (cc): ["gregory.greenman@intel.com" "ilan.peer@intel.com" "johannes.berg@intel.com" "kvalo@kernel.org" "linux-wireless@vger.kernel.org" "miriam.rachel.korenblit@intel.com"] crash: KASAN: slab-use-after-free Write in l2tp_session_delete ================================================================== BUG: KASAN: slab-use-after-free in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: slab-use-after-free in test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] BUG: KASAN: slab-use-after-free in l2tp_session_delete+0x20/0x460 net/l2tp/l2tp_core.c:1550 Write of size 8 at addr ffff88806f4fc808 by task kworker/u8:4/342 CPU: 0 PID: 342 Comm: kworker/u8:4 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: l2tp l2tp_tunnel_del_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x280 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] l2tp_session_delete+0x20/0x460 net/l2tp/l2tp_core.c:1550 l2tp_tunnel_closeall net/l2tp/l2tp_core.c:1205 [inline] l2tp_tunnel_del_work+0x1e5/0x3e0 net/l2tp/l2tp_core.c:1245 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x8b6/0x12f0 kernel/workqueue.c:3348 worker_thread+0x869/0xca0 kernel/workqueue.c:3429 kthread+0x268/0x2c0 kernel/kthread.c:388 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Allocated by task 21326: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3966 [inline] __kmalloc+0x20a/0x480 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] kzalloc include/linux/slab.h:749 [inline] l2tp_session_create+0x33/0xa40 net/l2tp/l2tp_core.c:1586 pppol2tp_connect+0xab1/0x1680 net/l2tp/l2tp_ppp.c:781 __sys_connect_file net/socket.c:2048 [inline] __sys_connect+0x318/0x390 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x75/0x90 net/socket.c:2072 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 22: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xee/0x1a0 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kfree+0x139/0x350 mm/slub.c:4390 __sk_destruct+0x4b/0x550 net/core/sock.c:2175 rcu_do_batch kernel/rcu/tree.c:2196 [inline] rcu_core+0xc3c/0x1470 kernel/rcu/tree.c:2471 __do_softirq+0x1bf/0x587 kernel/softirq.c:554 Last potentially related work creation: kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:541 __call_rcu_common kernel/rcu/tree.c:2734 [inline] call_rcu+0x159/0x8e0 kernel/rcu/tree.c:2838 pppol2tp_release+0x1c5/0x250 net/l2tp/l2tp_ppp.c:457 __sock_release net/socket.c:659 [inline] sock_close+0xb4/0x220 net/socket.c:1421 __fput+0x301/0x670 fs/file_table.c:422 task_work_run+0x20f/0x290 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x8a4/0x2490 kernel/exit.c:878 do_group_exit+0x1ba/0x280 kernel/exit.c:1027 get_signal+0x109f/0x11b0 kernel/signal.c:2911 arch_do_signal_or_restart+0x91/0x610 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x57/0x1c0 kernel/entry/common.c:218 do_syscall_64+0x9c/0x170 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88806f4fc800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 8 bytes inside of freed 1024-byte region [ffff88806f4fc800, ffff88806f4fcc00) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6f4f8 head: order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888009841dc0 ffffea00005be000 dead000000000002 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 head: 00fff00000000840 ffff888009841dc0 ffffea00005be000 dead000000000002 head: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 head: 00fff00000000003 ffffea0001bd3e01 dead000000000122 00000000ffffffff head: 0000000800000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 31912, tgid 1635365381 (syz-executor322), ts 31913, free_ts 448278845521 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x10f/0x130 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0x345c/0x3600 mm/page_alloc.c:3317 __alloc_pages+0x256/0x670 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page+0x5f/0x160 mm/slub.c:2175 allocate_slab mm/slub.c:2338 [inline] new_slab+0x70/0x270 mm/slub.c:2391 ___slab_alloc+0xb0d/0x1040 mm/slub.c:3525 __slab_alloc mm/slub.c:3610 [inline] __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc+0x2bf/0x480 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] kzalloc include/linux/slab.h:749 [inline] l2tp_session_create+0x33/0xa40 net/l2tp/l2tp_core.c:1586 pppol2tp_connect+0xab1/0x1680 net/l2tp/l2tp_ppp.c:781 __sys_connect_file net/socket.c:2048 [inline] __sys_connect+0x318/0x390 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x75/0x90 net/socket.c:2072 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 28152 tgid 28152 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x7e5/0x900 mm/page_alloc.c:2347 free_unref_page+0x37/0x3a0 mm/page_alloc.c:2487 __slab_free+0x2e9/0x3a0 mm/slub.c:4192 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x5e/0xc0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc+0x15f/0x390 mm/slub.c:3852 ptlock_alloc mm/memory.c:6431 [inline] ptlock_init include/linux/mm.h:2928 [inline] pmd_ptlock_init include/linux/mm.h:3028 [inline] pagetable_pmd_ctor include/linux/mm.h:3066 [inline] pmd_alloc_one include/asm-generic/pgalloc.h:137 [inline] __pmd_alloc+0x100/0x560 mm/memory.c:5852 pmd_alloc include/linux/mm.h:2827 [inline] copy_pmd_range mm/memory.c:1218 [inline] copy_pud_range mm/memory.c:1275 [inline] copy_p4d_range mm/memory.c:1299 [inline] copy_page_range+0x342f/0x38c0 mm/memory.c:1397 dup_mmap kernel/fork.c:751 [inline] dup_mm kernel/fork.c:1688 [inline] copy_mm+0xffa/0x1ac0 kernel/fork.c:1737 copy_process+0x146a/0x36b0 kernel/fork.c:2390 kernel_clone+0x195/0x6d0 kernel/fork.c:2797 __do_sys_clone kernel/fork.c:2940 [inline] __se_sys_clone kernel/fork.c:2924 [inline] __x64_sys_clone+0x253/0x2a0 kernel/fork.c:2924 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88806f4fc700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88806f4fc780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88806f4fc800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88806f4fc880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88806f4fc900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================