ci starts bisection 2024-07-02 01:47:08.16146449 +0000 UTC m=+59890.211810102 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: e9028176e8a4cdc3034bbdbb2dda527d04a58f8590461029261e83ff5c0086e1 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 [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: 0aee2fff2ec3bc5c2026b6ffeaccb429255ccc3419d47446de04db6e1aeca02b run #0: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work run #1: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete run #2: crashed: KASAN: slab-use-after-free Write in l2tp_session_delete 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 Read in l2tp_tunnel_del_work, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], 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 [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: 7353a1dae9002fd71a14442fd089f1d328f4f27dec375073f49f5f2a639ad651 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 Write in l2tp_session_delete 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 Read in l2tp_tunnel_del_work 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 [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: 55f704927d9a24bcece981f3c0473c16b274c4785f1f57ce95bf0c632378044d 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 Read in l2tp_tunnel_del_work 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 3/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], 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: 2723ea3618b3624ade425b0459ea5cdf306bf4ba7123b26dba9b2303611cfb1f 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 4/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: b1c7cf098fea9246572256f4186269df034a160e313bd5366ae2c1f6bc44e1c7 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 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: ccbbb50e1dc37b6fec3eb41b0918ab3817f2795b4b42ef1eaa9946a9b2f95433 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 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 [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], 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: fb5f565dc64b66226c209bca5bca719fa5401cc35a9f2ed5c1403e282e042705 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: 833bba68f6a0532b836a73ed8119fa1e9b70c60a062ea9132b4cf8e43c640256 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: 29153ea8ca9d58e6a5dafee288f933e806f147b18b56c4f8b862ccdabe236d1e 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: a41b07982ffee442cea0aee88280be46917d9da2c8d1aab420b7dcf2bf4cb610 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: 6904242bec11fbb8e77c832dc55697342057e4b03405490e96e8defa0bc9c7b5 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: b8fdd4ef229e578721837b57cc0c64623ea3198186020862e2ce45835ff636bf all runs: OK false negative chance: 0.000 # git bisect good 93d4e8bb3f137e8037a65ea96f175f81c25c50e5 Bisecting: 212 revisions left to test after this (roughly 8 steps) [f703d56c03050b5d8f9bea6842569798b5407386] ionic: Use an u16 for rx_copybreak testing commit f703d56c03050b5d8f9bea6842569798b5407386 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a857d375e1c739277ad023267a60f27d1eec3794d1d15f352014bc3229af9d13 all runs: OK false negative chance: 0.000 # git bisect good f703d56c03050b5d8f9bea6842569798b5407386 Bisecting: 74 revisions left to test after this (roughly 7 steps) [d5a7fc58da039903b332041e8c67daae36f08b50] Merge tag 'net-6.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit d5a7fc58da039903b332041e8c67daae36f08b50 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d23e3ededb1c41fb3bdef2e9678cbb826835f4c5b5f53646460e79c04041a2c8 all runs: OK false negative chance: 0.000 # git bisect good d5a7fc58da039903b332041e8c67daae36f08b50 Bisecting: 37 revisions left to test after this (roughly 5 steps) [28ba5c11719134b39cc593e67b15fa666cd03bd8] Merge branch 'net-mscc-miim-switch-reset' testing commit 28ba5c11719134b39cc593e67b15fa666cd03bd8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57e1272127af17727de3ec96b3c1e8a6f6017e8b6f15508911499f43fcd343fa 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 Write in l2tp_session_delete 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 Read in l2tp_tunnel_del_work 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] # git bisect bad 28ba5c11719134b39cc593e67b15fa666cd03bd8 Bisecting: 18 revisions left to test after this (roughly 4 steps) [9413b1be0be644f29423efd6181c82c0802388e9] Merge branch 'net-cleanup-arc-emac' testing commit 9413b1be0be644f29423efd6181c82c0802388e9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35f87758cd10b4661bbfc298945e2bcf3f16f2098d571f36369ac323194cb967 all runs: OK false negative chance: 0.000 # git bisect good 9413b1be0be644f29423efd6181c82c0802388e9 Bisecting: 9 revisions left to test after this (roughly 3 steps) [aa5e17e1f5ecb68d3f67a069f7345dbf1a8f274f] l2tp: store l2tpv3 sessions in per-net IDR testing commit aa5e17e1f5ecb68d3f67a069f7345dbf1a8f274f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aea0119f746782bc8e0d2483c8ac26abcd608729046072a252d440ab98437f4e all runs: OK false negative chance: 0.000 # git bisect good aa5e17e1f5ecb68d3f67a069f7345dbf1a8f274f Bisecting: 4 revisions left to test after this (roughly 2 steps) [8c6245af4fc5b6d244fb0f953d493e848d1e1387] l2tp: drop the now unused l2tp_tunnel_get_session testing commit 8c6245af4fc5b6d244fb0f953d493e848d1e1387 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9abf6a823dc7db49edb5e3ac880da6e4b815efdbbd54d1fef335a6ba6bc3d31a all runs: OK false negative chance: 0.000 # git bisect good 8c6245af4fc5b6d244fb0f953d493e848d1e1387 Bisecting: 2 revisions left to test after this (roughly 1 step) [4fce809e4062b7e73642dfb3f5abf86026ea14f0] Merge branch 'l2tp-sk_user_data' testing commit 4fce809e4062b7e73642dfb3f5abf86026ea14f0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e707641f450d526646a5f8049522736e8d8abc4d3be4e157204ec045f6a5f0a2 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 Write in l2tp_session_delete run #3: crashed: KASAN: slab-use-after-free Read in l2tp_tunnel_del_work 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] # git bisect bad 4fce809e4062b7e73642dfb3f5abf86026ea14f0 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d18d3f0a24fc4a3513495892ab1a3753628b341b] l2tp: replace hlist with simple list for per-tunnel session list testing commit d18d3f0a24fc4a3513495892ab1a3753628b341b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2dbe1fb6c87eee6c0eb0fd873632786c9362a887fcdfc46d93e8fdd795646d3c 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] # git bisect bad d18d3f0a24fc4a3513495892ab1a3753628b341b d18d3f0a24fc4a3513495892ab1a3753628b341b is the first bad commit commit d18d3f0a24fc4a3513495892ab1a3753628b341b Author: James Chapman Date: Thu Jun 20 12:22:44 2024 +0100 l2tp: replace hlist with simple list for per-tunnel session list The per-tunnel session list is no longer used by the datapath. However, we still need a list of sessions in the tunnel for l2tp_session_get_nth, which is used by management code. (An alternative might be to walk each session IDR list, matching only sessions of a given tunnel.) Replace the per-tunnel hlist with a per-tunnel list. In functions which walk a list of sessions of a tunnel, walk this list instead. Signed-off-by: James Chapman Reviewed-by: Tom Parkin Signed-off-by: David S. Miller net/l2tp/l2tp_core.c | 109 +++++++++++++++++------------------------------- net/l2tp/l2tp_core.h | 19 ++++----- net/l2tp/l2tp_debugfs.c | 13 +++--- 3 files changed, 50 insertions(+), 91 deletions(-) accumulated error probability: 0.00 culprit signature: 2dbe1fb6c87eee6c0eb0fd873632786c9362a887fcdfc46d93e8fdd795646d3c parent signature: 9abf6a823dc7db49edb5e3ac880da6e4b815efdbbd54d1fef335a6ba6bc3d31a revisions tested: 21, total time: 8h4m35.149167113s (build: 4h19m36.252308132s, test: 3h21m0.336058587s) first bad commit: d18d3f0a24fc4a3513495892ab1a3753628b341b l2tp: replace hlist with simple list for per-tunnel session list recipients (to): ["davem@davemloft.net" "jchapman@katalix.com" "tparkin@katalix.com"] recipients (cc): [] 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+0x23/0x830 net/l2tp/l2tp_core.c:1639 Write of size 8 at addr ffff88807d2a9808 by task kworker/u8:7/943 CPU: 1 PID: 943 Comm: kworker/u8:7 Not tainted 6.10.0-rc4-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+0x23/0x830 net/l2tp/l2tp_core.c:1639 l2tp_tunnel_closeall net/l2tp/l2tp_core.c:1302 [inline] l2tp_tunnel_del_work+0xf3/0x3a0 net/l2tp/l2tp_core.c:1334 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0x8cf/0x1320 kernel/workqueue.c:3312 worker_thread+0x869/0xca0 kernel/workqueue.c:3393 kthread+0x268/0x2c0 kernel/kthread.c:389 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 5173: 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:4122 [inline] __kmalloc_noprof+0x1d5/0x440 mm/slub.c:4135 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] l2tp_session_create+0x34/0xb90 net/l2tp/l2tp_core.c:1675 pppol2tp_connect+0xb4e/0x1650 net/l2tp/l2tp_ppp.c:782 __sys_connect_file net/socket.c:2049 [inline] __sys_connect+0x318/0x390 net/socket.c:2066 __do_sys_connect net/socket.c:2076 [inline] __se_sys_connect net/socket.c:2073 [inline] __x64_sys_connect+0x75/0x90 net/socket.c:2073 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5177: 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+0xe0/0x150 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:2196 [inline] slab_free mm/slub.c:4437 [inline] kfree+0x12f/0x310 mm/slub.c:4558 __sk_destruct+0x4b/0x550 net/core/sock.c:2191 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0xc3c/0x1470 kernel/rcu/tree.c:2809 handle_softirqs+0x1b7/0x570 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x45/0xe0 kernel/softirq.c:637 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 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:3072 [inline] call_rcu+0x159/0x8e0 kernel/rcu/tree.c:3176 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+0x337/0x700 fs/file_table.c:422 task_work_run+0x20f/0x290 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0xb5/0x1c0 kernel/entry/common.c:218 do_syscall_64+0x9a/0x170 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88807d2a9800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 8 bytes inside of freed 1024-byte region [ffff88807d2a9800, ffff88807d2a9c00) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7d2a8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffefff(slab) raw: 00fff00000000040 ffff888009841dc0 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000001ffffefff 0000000000000000 head: 00fff00000000040 ffff888009841dc0 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000001ffffefff 0000000000000000 head: 00fff00000000003 ffffea0001f4aa01 ffffffffffffffff 0000000000000000 head: 0000000000000008 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 1904, tgid 1904 (kworker/u8:8), ts 33284139939, free_ts 33283193987 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x10f/0x130 mm/page_alloc.c:1468 prep_new_page mm/page_alloc.c:1476 [inline] get_page_from_freelist+0x2c3f/0x2cf0 mm/page_alloc.c:3420 __alloc_pages_noprof+0x256/0x670 mm/page_alloc.c:4678 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] alloc_slab_page+0x5f/0x120 mm/slub.c:2265 allocate_slab+0x5d/0x290 mm/slub.c:2428 new_slab mm/slub.c:2481 [inline] ___slab_alloc+0xa7f/0x11d0 mm/slub.c:3667 __slab_alloc mm/slub.c:3757 [inline] __slab_alloc_node mm/slub.c:3810 [inline] slab_alloc_node mm/slub.c:3989 [inline] __do_kmalloc_node mm/slub.c:4121 [inline] __kmalloc_noprof+0x25a/0x440 mm/slub.c:4135 kmalloc_noprof include/linux/slab.h:664 [inline] load_elf_phdrs fs/binfmt_elf.c:526 [inline] load_elf_binary+0x292/0x2390 fs/binfmt_elf.c:855 search_binary_handler fs/exec.c:1797 [inline] exec_binprm fs/exec.c:1839 [inline] bprm_execve+0x891/0x12f0 fs/exec.c:1891 kernel_execve+0x532/0x610 fs/exec.c:2058 call_usermodehelper_exec_async+0x204/0x320 kernel/umh.c:110 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 page last free pid 1809 tgid 1809 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xb6f/0xca0 mm/page_alloc.c:2583 __slab_free+0x2e9/0x3a0 mm/slub.c:4348 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/0x140 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:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_node_noprof+0x154/0x390 mm/slub.c:4044 __alloc_skb+0x25e/0x940 net/core/skbuff.c:656 alloc_skb include/linux/skbuff.h:1320 [inline] nlmsg_new include/net/netlink.h:1015 [inline] netlink_ack+0x11a/0xa50 net/netlink/af_netlink.c:2487 netlink_rcv_skb+0x234/0x390 net/netlink/af_netlink.c:2556 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x5b0/0x7d0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x72d/0xaf0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x1ec/0x230 net/socket.c:745 __sys_sendto+0x3b7/0x510 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xd9/0xf0 net/socket.c:2200 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88807d2a9700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807d2a9780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88807d2a9800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88807d2a9880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88807d2a9900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================