ci starts bisection 2024-08-03 03:59:28.315687583 +0000 UTC m=+43855.711073371 bisecting cause commit starting from 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b building syzkaller on 1e9c4cf3ae82ef82220af312606fffe65e124563 ensuring issue is reproducible on original commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: adabd9ce91dd2709b06868305f955e1d64cddbc8184aaf49deaebd6dd63a07e8 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b1f147bd61299bd5871ee7cddd95f15070193ba068b10c96db9231a82285c4b7 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4001 full=8135 leaves diff=2114 split chunks (needed=false): <2114> split chunk #0 of len 2114 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 75c7b84d0561b200efbefadb11e4dd80de773cb9f69762e7996edd0ee8482b5e all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e384d043eb231ca019ab9a2c32a49056878002c56460b93f74ffbe6a67a9b84 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b4448648cb7ebdf13c265ccad28714ba3e30b63b6ded90d8a08106ee700e5624 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3fb170f3806ffab8e1ddd78ff88687dbe81267981ec587632d6f8b67e6d0883c all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f13044fd3f7b4d0137f35bcb122c7b38ac7ab386efe9be0e31d2f859ec07f694 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] the chunk can be dropped minimized to 423 configs; suspects: [6LOWPAN 6LOWPAN_GHC_EXT_HDR_DEST 6LOWPAN_GHC_EXT_HDR_FRAG 6LOWPAN_GHC_EXT_HDR_HOP 6LOWPAN_GHC_EXT_HDR_ROUTE 6LOWPAN_GHC_ICMPV6 6LOWPAN_GHC_UDP 6LOWPAN_NHC 6LOWPAN_NHC_DEST 6LOWPAN_NHC_FRAGMENT 6LOWPAN_NHC_HOP 6LOWPAN_NHC_IPV6 6LOWPAN_NHC_MOBILITY 6LOWPAN_NHC_ROUTING 6LOWPAN_NHC_UDP 6PACK 842_COMPRESS 842_DECOMPRESS 9P_FSCACHE 9P_FS_POSIX_ACL 9P_FS_SECURITY ACORN_PARTITION ACORN_PARTITION_ADFS ACORN_PARTITION_CUMANA ACORN_PARTITION_EESOX ACORN_PARTITION_ICS ACORN_PARTITION_POWERTEC ACORN_PARTITION_RISCIX ACPI_MADT_WAKEUP ACPI_NFIT ACPI_NHLT ACPI_PLATFORM_PROFILE ADDRESS_MASKING ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMD_SFH_HID AMIGA_PARTITION ANDROID_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS APPLE_MFI_FASTCHARGE AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS ASUS_TF103C_DOCK ASYNC_CORE ASYNC_MEMCPY ASYNC_PQ ASYNC_RAID6_RECOV ASYNC_TX_DMA ASYNC_XOR ATARI_PARTITION ATA_GENERIC ATA_OVER_ETH ATH10K ATH10K_CE ATH10K_LEDS ATH10K_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG ATH9K_COMMON_SPECTRAL ATH9K_DEBUGFS ATH9K_DYNACK ATH9K_HTC ATH9K_HTC_DEBUGFS ATH9K_HW ATH9K_PCI ATH9K_PCOEM ATH9K_RFKILL ATH_COMMON ATM ATM_BR2684 ATM_CLIP ATM_DRIVERS ATM_LANE ATM_MPOA ATM_TCP AUXILIARY_BUS AX25 AX25_DAMA_SLAVE AX88796B_PHY BAREUDP BATMAN_ADV BATMAN_ADV_BATMAN_V BATMAN_ADV_BLA BATMAN_ADV_DAT BATMAN_ADV_MCAST BATMAN_ADV_NC BCACHE BCACHEFS_DEBUG BCACHEFS_ERASURE_CODING BCACHEFS_FS BCACHEFS_POSIX_ACL BCACHEFS_QUOTA BCACHEFS_SIX_OPTIMISTIC_SPIN BCMA BCMA_HOST_PCI_POSSIBLE BEFS_FS BFQ_CGROUP_DEBUG BFQ_GROUP_IOSCHED BFS_FS BIG_KEYS BLK_CGROUP_PUNT_BIO BLK_CGROUP_RWSTAT BLK_DEV_BSGLIB BLK_DEV_INTEGRITY BLK_DEV_NBD BLK_DEV_NULL_BLK BLK_DEV_NULL_BLK_FAULT_INJECTION BLK_DEV_NVME BLK_DEV_PMEM BLK_DEV_RAM BLK_DEV_RNBD BLK_DEV_RNBD_CLIENT BLK_DEV_THROTTLING BLK_DEV_ZONED BLK_ICQ BLK_INLINE_ENCRYPTION BLK_INLINE_ENCRYPTION_FALLBACK BLK_WBT BLK_WBT_MQ BONDING BOOT_VESA_SUPPORT BPF_EVENTS BPF_JIT BPF_JIT_ALWAYS_ON BPF_JIT_DEFAULT_ON BPF_LSM BPF_PRELOAD BPF_PRELOAD_UMD BPF_STREAM_PARSER BPF_SYSCALL BPQETHER BRIDGE BRIDGE_CFM BRIDGE_EBT_802_3 BRIDGE_EBT_AMONG BRIDGE_EBT_ARP BRIDGE_EBT_ARPREPLY BRIDGE_EBT_BROUTE BRIDGE_EBT_DNAT BRIDGE_EBT_IP BRIDGE_EBT_IP6 BRIDGE_EBT_LIMIT BRIDGE_EBT_LOG BRIDGE_EBT_MARK BRIDGE_EBT_MARK_T BRIDGE_EBT_NFLOG BRIDGE_EBT_PKTTYPE BRIDGE_EBT_REDIRECT BRIDGE_EBT_SNAT BRIDGE_EBT_STP BRIDGE_EBT_T_FILTER BRIDGE_EBT_T_NAT BRIDGE_EBT_VLAN BRIDGE_IGMP_SNOOPING BRIDGE_MRP BRIDGE_NF_EBTABLES BRIDGE_NF_EBTABLES_LEGACY BRIDGE_VLAN_FILTERING BSD_DISKLABEL BSD_PROCESS_ACCT_V3 BT BTRFS_ASSERT BTRFS_FS BTRFS_FS_POSIX_ACL BTRFS_FS_REF_VERIFY BTT BT_6LOWPAN BT_ATH3K BT_BCM BT_BNEP BT_BNEP_MC_FILTER BT_BNEP_PROTO_FILTER BT_BREDR BT_CMTP BT_HCIBCM203X BT_HCIBFUSB BT_HCIBPA10X BT_HCIBTUSB BT_HCIBTUSB_AUTOSUSPEND BT_HCIBTUSB_BCM BT_HCIBTUSB_MTK BT_HCIBTUSB_POLL_SYNC BT_HCIBTUSB_RTL BT_HCIUART BT_HCIUART_3WIRE BT_HCIUART_AG6XX BT_HCIUART_BCSP BT_HCIUART_H4 BT_HCIUART_LL BT_HCIUART_MRVL BT_HCIUART_QCA BT_HCIUART_SERDEV BT_HCIVHCI BT_INTEL BT_LE BT_LEDS BT_LE_L2CAP_ECRED BT_MRVL BT_MRVL_SDIO BT_MSFTEXT BT_MTK BT_QCA BT_RFCOMM BT_RFCOMM_TTY BT_RTL CACHEFILES CAIF CAIF_DEBUG CAIF_DRIVERS CAIF_NETDEV CAIF_TTY CAIF_USB CAIF_VIRTIO CAN CAN_8DEV_USB CAN_BCM CAN_CALC_BITTIMING CAN_DEV CAN_EMS_USB CAN_ESD_USB CAN_ETAS_ES58X CAN_F81604 CAN_GS_USB CAN_GW CAN_IFI_CANFD CAN_ISOTP CAN_J1939 CAN_KVASER_USB CAN_MCBA_USB CAN_NETLINK CAN_PEAK_USB CAN_RAW CAN_RX_OFFLOAD CAN_SLCAN CAN_UCAN CAN_VCAN CAN_VXCAN CAPI_TRACE CARL9170 CARL9170_HWRNG CARL9170_LEDS CARL9170_WPC CEC_CORE CEPH_FS CEPH_FSCACHE CEPH_FS_POSIX_ACL CEPH_LIB CEPH_LIB_USE_DNS_RESOLVER CFG80211 CFG80211_CRDA_SUPPORT CFG80211_DEBUGFS CFG80211_DEFAULT_PS CFG80211_REQUIRE_SIGNED_REGDB CFG80211_USE_KERNEL_REGDB_KEYS CFG80211_WEXT CFS_BANDWIDTH CGROUP_BPF CHARGER_ISP1704 CHR_DEV_ST CIFS CIFS_ALLOW_INSECURE_LEGACY CIFS_DEBUG CIFS_DFS_UPCALL CIFS_FSCACHE CIFS_POSIX CIFS_SMB_DIRECT CIFS_SWN_UPCALL CIFS_UPCALL CIFS_XATTR CLOSURES CLS_U32_MARK CLS_U32_PERF CMA CMA_SIZE_SEL_MBYTES CMDLINE_PARTITION COMEDI COMEDI_DT9812 COMEDI_NI_USB6501 COMEDI_USBDUX COMEDI_USBDUXFAST COMEDI_USBDUXSIGMA COMEDI_USB_DRIVERS COMEDI_VMK80XX COMPAT_NETLINK_MESSAGES COUNTER CRAMFS CRAMFS_BLOCKDEV CRAMFS_MTD CRC4 CRC64 CRC64_ROCKSOFT CRC7 CRC8 CRC_ITU_T CRC_T10DIF CRYPTO_ADIANTUM CRYPTO_AEGIS128 CRYPTO_AEGIS128_AESNI_SSE2 CRYPTO_AES_NI_INTEL CRYPTO_AES_TI CRYPTO_ANSI_CPRNG CRYPTO_ANUBIS CRYPTO_ARC4 CRYPTO_ARCH_HAVE_LIB_BLAKE2S CRYPTO_ARCH_HAVE_LIB_CHACHA CRYPTO_ARCH_HAVE_LIB_CURVE25519 CRYPTO_ARCH_HAVE_LIB_POLY1305 CRYPTO_ARIA CRYPTO_ARIA_AESNI_AVX_X86_64 CRYPTO_BLAKE2B CRYPTO_BLAKE2S_X86 CRYPTO_BLOWFISH CRYPTO_BLOWFISH_COMMON CRYPTO_BLOWFISH_X86_64 CRYPTO_CAMELLIA CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 CRYPTO_CAMELLIA_AESNI_AVX_X86_64 CRYPTO_CAMELLIA_X86_64 CRYPTO_CAST5 CRYPTO_CAST5_AVX_X86_64 CRYPTO_CAST6 CRYPTO_CAST6_AVX_X86_64 CRYPTO_CAST_COMMON CRYPTO_CHACHA20 CRYPTO_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD CRYPTO_CTS CRYPTO_CURVE25519 CRYPTO_CURVE25519_X86 CRYPTO_DEFLATE CRYPTO_DES CRYPTO_DES3_EDE_X86_64 CRYPTO_DEV_CCP CRYPTO_DEV_CCP_DD CRYPTO_DEV_PADLOCK CRYPTO_DEV_PADLOCK_AES CRYPTO_DEV_PADLOCK_SHA CRYPTO_DEV_QAT CRYPTO_DEV_QAT_C3XXX CRYPTO_DEV_QAT_C3XXXVF CRYPTO_DEV_QAT_C62X CRYPTO_DEV_QAT_C62XVF CRYPTO_DEV_QAT_DH895xCC CRYPTO_DEV_QAT_DH895xCCVF CRYPTO_DEV_VIRTIO CRYPTO_DH CRYPTO_DRBG_CTR CRYPTO_DRBG_HASH CRYPTO_ECC CRYPTO_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_KDF800108_CTR CRYPTO_KEYWRAP CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CHACHA_GENERIC CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW CRYPTO_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT CRYPTO_POLY1305 CRYPTO_POLY1305_X86_64 CRYPTO_POLYVAL CRYPTO_POLYVAL_CLMUL_NI CRYPTO_RMD160 CRYPTO_SEED CRYPTO_SERPENT CRYPTO_SERPENT_AVX2_X86_64 CRYPTO_SERPENT_AVX_X86_64 CRYPTO_SERPENT_SSE2_X86_64 CRYPTO_SHA1_SSSE3 CRYPTO_SHA256_SSSE3 CRYPTO_SHA512_SSSE3 CRYPTO_SIMD CRYPTO_SM3 CRYPTO_SM3_AVX_X86_64 CRYPTO_SM4 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 CRYPTO_SM4_GENERIC CRYPTO_STREEBOG CRYPTO_TEA CRYPTO_TWOFISH CRYPTO_TWOFISH_AVX_X86_64 CRYPTO_TWOFISH_COMMON CRYPTO_TWOFISH_X86_64 CRYPTO_TWOFISH_X86_64_3WAY CRYPTO_USER CRYPTO_USER_API CRYPTO_USER_API_AEAD CRYPTO_USER_API_ENABLE_OBSOLETE CRYPTO_USER_API_HASH CRYPTO_USER_API_RNG CRYPTO_USER_API_SKCIPHER CRYPTO_VMAC CRYPTO_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEFAULT_PFIFO_FAST DEVICE_MIGRATION DEVICE_PRIVATE DEV_COREDUMP DEV_DAX DLN2_ADC DMABUF_HEAPS DMABUF_HEAPS_CMA DMABUF_HEAPS_SYSTEM DMABUF_MOVE_NOTIFY DMA_CMA DMA_ENGINE_RAID DM_AUDIT DM_BIO_PRISON DM_BUFIO DM_CACHE DM_CACHE_SMQ DM_CLONE DM_CRYPT DM_FLAKEY DM_INTEGRITY DM_MULTIPATH DM_MULTIPATH_QL DM_MULTIPATH_ST DM_PERSISTENT_DATA DM_RAID DM_SNAPSHOT DM_THIN_PROVISIONING DM_UEVENT DM_VERITY DM_VERITY_FEC DM_WRITECACHE DM_ZONED DRAGONRISE_FF DRM DRM_AUX_BRIDGE DRM_BOCHS DRM_BRIDGE DRM_BUDDY DRM_CIRRUS_QEMU DRM_DEBUG_MM DRM_DISPLAY_DP_AUX_BUS DRM_DISPLAY_DP_HELPER DRM_DISPLAY_HDCP_HELPER DRM_DISPLAY_HDMI_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION DRM_GEM_SHMEM_HELPER DRM_GM12U320 DRM_GUD DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI ENCRYPTED_KEYS FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ ISDN ISDN_CAPI LIBNVDIMM MAC80211 MAC80211_DEBUGFS MAC80211_LEDS MEDIA_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MMC MTD NET_CLS_U32 NET_SCH_DEFAULT PARTITION_ADVANCED RFKILL SERIAL_DEV_BUS TLS TLS_DEVICE TRANSPARENT_HUGEPAGE TRUSTED_KEYS USB_GADGET USB_PHY VLAN_8021Q WANT_COMPAT_NETLINK_MESSAGES WEXT_CORE WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ATH X86_X32_ABI ZONE_DEVICE] disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.10 v6.9 v6.8 v6.6 v6.4 v6.2 v6.0 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 33 release tags testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a60583b5db118d70f54fe5e4fa9e42b4b5721cd1a232f52aade2b72a54f82ebd all runs: OK false negative chance: 0.000 # git bisect start 743ff02152bc46bb4a2f2a49ec891c87eba6ab5b 0c3836482481200ead7b416ca80c68a29cfdaabd Bisecting: 7102 revisions left to test after this (roughly 13 steps) [280e36f0d5b997173d014c07484c03a7f7750668] nsfs: use cleanup guard testing commit 280e36f0d5b997173d014c07484c03a7f7750668 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ccaf40aa5e5c8fb99c997f80cf31bf7a15a231be4ddcd9ebf4af53613c5b4429 all runs: OK false negative chance: 0.000 # git bisect good 280e36f0d5b997173d014c07484c03a7f7750668 Bisecting: 3548 revisions left to test after this (roughly 12 steps) [4305ca0087dd99c3c3e0e2ac8a228b7e53a21c78] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit 4305ca0087dd99c3c3e0e2ac8a228b7e53a21c78 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e0b15f1dbe794440ea386ef5ce63674c729a5a5568a7e083527cdf4f35a4be37 all runs: OK false negative chance: 0.000 # git bisect good 4305ca0087dd99c3c3e0e2ac8a228b7e53a21c78 Bisecting: 1755 revisions left to test after this (roughly 11 steps) [f557af081de6b45a25e27d633b4d8d2dbc2f428e] Merge tag 'riscv-for-linus-6.11-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux testing commit f557af081de6b45a25e27d633b4d8d2dbc2f428e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3586af2df56595f1372ce93123685e2528caf7a99f2925786a45bc32ddc429c1 all runs: OK false negative chance: 0.000 # git bisect good f557af081de6b45a25e27d633b4d8d2dbc2f428e Bisecting: 873 revisions left to test after this (roughly 10 steps) [fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c] Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 64861dd516600b1f5a5e4b9bdc5c4deefc3e7afb1292720b55dd4673095300a9 all runs: OK false negative chance: 0.000 # git bisect good fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c Bisecting: 418 revisions left to test after this (roughly 9 steps) [ca83c61cb3db964061ea186654bf8e1879589de3] Merge tag 'kbuild-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild testing commit ca83c61cb3db964061ea186654bf8e1879589de3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2264fda24a84257e8f04b489402129e7037e4a3650b724b1ecf8a7da6e880614 all runs: OK false negative chance: 0.000 # git bisect good ca83c61cb3db964061ea186654bf8e1879589de3 Bisecting: 210 revisions left to test after this (roughly 8 steps) [b2eed73360dffea91ea64e8f19330c950dd42ebb] Merge tag 'linux-watchdog-6.11-rc1' of git://www.linux-watchdog.org/linux-watchdog testing commit b2eed73360dffea91ea64e8f19330c950dd42ebb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4e8bfaca9375b5e942be11eac21cab86e6e657a5eb4066fa4350c61548cddb15 all runs: OK false negative chance: 0.000 # git bisect good b2eed73360dffea91ea64e8f19330c950dd42ebb Bisecting: 102 revisions left to test after this (roughly 7 steps) [f6464295247dd04b2070e110f0d5659577e393b9] Merge tag 'parisc-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux testing commit f6464295247dd04b2070e110f0d5659577e393b9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b3415dc1c45e491746a2ec8ceb08ef4fed3de5e7a28cf1013f9c7a8d5bcfb22c all runs: OK false negative chance: 0.000 # git bisect good f6464295247dd04b2070e110f0d5659577e393b9 Bisecting: 47 revisions left to test after this (roughly 6 steps) [1722389b0d863056d78287a120a1d6cadb8d4f7b] Merge tag 'net-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 1722389b0d863056d78287a120a1d6cadb8d4f7b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 266f6cb5e778a1e3ee7e483e85ac237945b66d105f473fcd74e7d3689b2b2a91 all runs: OK false negative chance: 0.000 # git bisect good 1722389b0d863056d78287a120a1d6cadb8d4f7b Bisecting: 23 revisions left to test after this (roughly 5 steps) [0908503ade5f5fecbdb16c5ce16b2b5ee6107e8d] net/smc: remove unused input parameters in smcr_new_buf_create testing commit 0908503ade5f5fecbdb16c5ce16b2b5ee6107e8d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9265e8036c8f570f38b142f688fc91bd4c4ed17e104cd09f95ce3f058c1b4c77 all runs: OK false negative chance: 0.000 # git bisect good 0908503ade5f5fecbdb16c5ce16b2b5ee6107e8d Bisecting: 11 revisions left to test after this (roughly 4 steps) [ec672931d150910b5f886d70a5305eb89681b076] mlxsw: core_thermal: Remove unnecessary assignments testing commit ec672931d150910b5f886d70a5305eb89681b076 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 00f8228560f3af1e26864e2d506d75f68a2e61b353013927ddd7d5a296d8d860 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 representative crash: lost connection to test machine, types: [UNKNOWN] unable to determine the verdict: 9 good runs (wanted 5), for bad wanted 5 in total, got 10 # git bisect skip ec672931d150910b5f886d70a5305eb89681b076 Bisecting: 11 revisions left to test after this (roughly 4 steps) [501c3005f0311a7810cc7e56546930638ae6b26f] net/mlx5: Reclaim max 50K pages at once testing commit 501c3005f0311a7810cc7e56546930638ae6b26f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 935f5eaac883bcee912cc1d10c363e523c0e3b4747fad1b9d754f3d62cda5779 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] # git bisect bad 501c3005f0311a7810cc7e56546930638ae6b26f Bisecting: 10 revisions left to test after this (roughly 3 steps) [e25f3040a61961c9f1bcb896b983a33b64d978e2] mlxsw: core_thermal: Simplify rollback testing commit e25f3040a61961c9f1bcb896b983a33b64d978e2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2dfeb9bbd8351a5d2c3ee2b931e00ae3e85a5d1052bdfb27446fa6331db8f2fb all runs: OK false negative chance: 0.000 # git bisect good e25f3040a61961c9f1bcb896b983a33b64d978e2 Bisecting: 5 revisions left to test after this (roughly 3 steps) [20a3bcfe9327e0559a25a9ecd45967fd4f11ff24] net: alteon: Convert tasklet API to new bottom half workqueue mechanism testing commit 20a3bcfe9327e0559a25a9ecd45967fd4f11ff24 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1cba1a2cbd1286cbe57b970d1368b611230695b717b71dfa07229cf38791ca2c all runs: OK false negative chance: 0.000 # git bisect good 20a3bcfe9327e0559a25a9ecd45967fd4f11ff24 Bisecting: 2 revisions left to test after this (roughly 2 steps) [c5092ba3155e0696e922fc9f1c2909f48fde2102] net: macb: Convert tasklet API to new bottom half workqueue mechanism testing commit c5092ba3155e0696e922fc9f1c2909f48fde2102 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 782298eb1050952d61b9377530a65fc9bd73d64204d61fb4f9278f2aeed374ea all runs: OK false negative chance: 0.000 # git bisect good c5092ba3155e0696e922fc9f1c2909f48fde2102 Bisecting: 1 revision left to test after this (roughly 1 step) [8e0c0ec9b7dc2aec84f141c26c501e24906ff765] Merge branch 'ethernet-convert-from-tasklet-to-bh-workqueue' testing commit 8e0c0ec9b7dc2aec84f141c26c501e24906ff765 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 177fcf291aa6afc1817e0789f34e195802ef5c8fff3844e1630ed95fed1f7c48 all runs: OK false negative chance: 0.000 # git bisect good 8e0c0ec9b7dc2aec84f141c26c501e24906ff765 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c9c0ee5f20c593faf289fa8850c3ed84031dd12a] net: skbuff: Skip early return in skb_unref when debugging testing commit c9c0ee5f20c593faf289fa8850c3ed84031dd12a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: caf8182da3940c8a352de36b953d617d57b3f83b4a1f3b92405d8fc278a384c0 all runs: crashed: WARNING: refcount bug in j1939_session_put representative crash: WARNING: refcount bug in j1939_session_put, types: [WARNING] # git bisect bad c9c0ee5f20c593faf289fa8850c3ed84031dd12a c9c0ee5f20c593faf289fa8850c3ed84031dd12a is the first bad commit commit c9c0ee5f20c593faf289fa8850c3ed84031dd12a Author: Breno Leitao Date: Mon Jul 29 03:47:40 2024 -0700 net: skbuff: Skip early return in skb_unref when debugging This patch modifies the skb_unref function to skip the early return optimization when CONFIG_DEBUG_NET is enabled. The change ensures that the reference count decrement always occurs in debug builds, allowing for more thorough checking of SKB reference counting. Previously, when the SKB's reference count was 1 and CONFIG_DEBUG_NET was not set, the function would return early after a memory barrier (smp_rmb()) without decrementing the reference count. This optimization assumes it's safe to proceed with freeing the SKB without the overhead of an atomic decrement from 1 to 0. With this change: - In non-debug builds (CONFIG_DEBUG_NET not set), behavior remains unchanged, preserving the performance optimization. - In debug builds (CONFIG_DEBUG_NET set), the reference count is always decremented, even when it's 1, allowing for consistent behavior and potentially catching subtle SKB management bugs. This modification enhances debugging capabilities for networking code without impacting performance in production kernels. It helps kernel developers identify and diagnose issues related to SKB management and reference counting in the network stack. Cc: Chris Mason Suggested-by: Jakub Kicinski Signed-off-by: Breno Leitao Reviewed-by: Eric Dumazet Link: https://patch.msgid.link/20240729104741.370327-1-leitao@debian.org Signed-off-by: Paolo Abeni include/linux/skbuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: caf8182da3940c8a352de36b953d617d57b3f83b4a1f3b92405d8fc278a384c0 parent signature: 177fcf291aa6afc1817e0789f34e195802ef5c8fff3844e1630ed95fed1f7c48 revisions tested: 24, total time: 7h34m4.635530475s (build: 3h54m49.051810655s, test: 3h24m45.885632632s) first bad commit: c9c0ee5f20c593faf289fa8850c3ed84031dd12a net: skbuff: Skip early return in skb_unref when debugging recipients (to): ["edumazet@google.com" "leitao@debian.org" "pabeni@redhat.com"] recipients (cc): [] crash: WARNING: refcount bug in j1939_session_put ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 3319 at lib/refcount.c:28 refcount_warn_saturate+0xad/0x130 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 3319 Comm: syz.0.15 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:refcount_warn_saturate+0xad/0x130 lib/refcount.c:28 Code: 59 ff 90 0f 0b 90 90 c3 cc cc cc cc 80 3d b1 cb 3f 02 00 75 97 c6 05 a8 cb 3f 02 01 90 48 c7 c7 a0 1a 91 83 e8 04 08 59 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 87 cb 3f 02 00 0f 85 6c ff ff ff RSP: 0018:ffffc900000e8cd0 EFLAGS: 00010246 RAX: 3d54262b5fa0aa00 RBX: ffff8881053fcf00 RCX: 0000000000000103 RDX: 0000000000000002 RSI: 00000000ffffdfff RDI: 00000000ffffffff RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff83cd0040 R10: ffffc900000e8ba8 R11: ffffc900000e8b50 R12: ffff888106702a10 R13: 0000000000000000 R14: ffff888109b71c00 R15: ffff888109b71c68 FS: 00007f00977af6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3545a81440 CR3: 00000001053b2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kfree_skb_reason include/linux/skbuff.h:1260 [inline] kfree_skb include/linux/skbuff.h:1269 [inline] j1939_session_destroy net/can/j1939/transport.c:282 [inline] __j1939_session_release net/can/j1939/transport.c:294 [inline] kref_put include/linux/kref.h:65 [inline] j1939_session_put+0xa5/0x190 net/can/j1939/transport.c:299 j1939_tp_cmd_recv net/can/j1939/transport.c:2113 [inline] j1939_tp_recv+0x2c9/0x4b0 net/can/j1939/transport.c:2161 j1939_can_recv+0x1e4/0x290 net/can/j1939/main.c:108 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0x80/0x190 net/can/af_can.c:606 can_receive+0xca/0x110 net/can/af_can.c:663 can_rcv+0x4b/0x90 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5660 [inline] __netif_receive_skb+0xa8/0x160 net/core/dev.c:5774 process_backlog+0x203/0x520 net/core/dev.c:6107 __napi_poll+0x28/0x160 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x275/0x480 net/core/dev.c:6962 handle_softirqs+0x118/0x390 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x45/0xc0 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 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x59/0xb0 kernel/locking/spinlock.c:194 Code: df e8 9b d7 48 fe 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 3b 41 f7 c6 00 02 00 00 74 01 fb bf 01 00 00 00 32 3b 45 fe 65 8b 05 e3 03 2f 7d 85 c0 74 2c 65 48 8b 04 25 28 RSP: 0018:ffffc900036cbbf8 EFLAGS: 00000206 RAX: 0000000000000001 RBX: ffff888237d20440 RCX: 0000000000000001 RDX: ffffffff83c72e30 RSI: ffffffff838588bc RDI: 0000000000000001 RBP: ffff888106b6c800 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff810700a0 R12: ffffc900036cbd50 R13: 0000000000000009 R14: 0000000000000282 R15: 0000000000000009 j1939_sk_send_loop net/can/j1939/socket.c:1164 [inline] j1939_sk_sendmsg+0x425/0x570 net/can/j1939/socket.c:1277 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x8e/0xb0 net/socket.c:745 ____sys_sendmsg+0x1a7/0x200 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2c7/0x310 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x220 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f00969773b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f00977af048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0096b05f80 RCX: 00007f00969773b9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007f00969e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f0096b05f80 R15: 00007fffbad957f8 ---------------- Code disassembly (best guess): 0: df e8 fucomip %st(0),%st 2: 9b fwait 3: d7 xlat %ds:(%rbx) 4: 48 fe 48 c7 rex.W decb -0x39(%rax) 8: 04 24 add $0x24,%al a: 00 00 add %al,(%rax) c: 00 00 add %al,(%rax) e: 9c pushf f: 8f 04 24 pop (%rsp) 12: f7 04 24 00 02 00 00 testl $0x200,(%rsp) 19: 75 3b jne 0x56 1b: 41 f7 c6 00 02 00 00 test $0x200,%r14d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 32 3b 45 fe call 0xfe453b61 <-- trapping instruction 2f: 65 8b 05 e3 03 2f 7d mov %gs:0x7d2f03e3(%rip),%eax # 0x7d2f0419 36: 85 c0 test %eax,%eax 38: 74 2c je 0x66 3a: 65 gs 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 04 25 add $0x25,%al 3f: 28 .byte 0x28