ci starts bisection 2024-07-22 17:26:57.070190624 +0000 UTC m=+24600.263225105 bisecting fixing commit since 3cdb455946193bb7ad13df15333c7fe0054db6c3 building syzkaller on af24b0505c748561efb50f1d03c824d6642f6c0b ensuring issue is reproducible on original commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: edec77c58d7d8281084dc2727d3d1dd212e877ab62c3c8a1130b36d12c68bc16 run #0: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #1: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #2: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #3: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #4: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #5: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #6: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #7: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #8: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #9: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #10: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #11: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #12: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #13: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #14: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #15: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #16: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #17: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #18: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #19: crashed: KASAN: use-after-free Read in netdev_unregister_kobject representative crash: KASAN: use-after-free Read in netdev_unregister_kobject, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ada24bf1fecb2d80d711310e14464d01e26ee7c786ae841545c0df03e656e273 run #0: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #1: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #2: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #3: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #4: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #5: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #6: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #7: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #8: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #9: crashed: KASAN: use-after-free Read in netdev_unregister_kobject representative crash: KASAN: use-after-free Read in netdev_unregister_kobject, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=4001 full=8005 leaves diff=2008 split chunks (needed=false): <2008> split chunk #0 of len 2008 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f5f0ff6c70bbbbe4ea256dbad4654a5f2d8b5444ba673dff113983b69615425 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea66e9e44daa560ee615c9e64900e82649c9893a9322ef77d8e17342ed871e52 run #0: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #1: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #2: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #3: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #4: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #5: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #6: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #7: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #8: crashed: BUG: unable to handle kernel paging request in netdev_unregister_kobject run #9: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject representative crash: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject, 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 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0f54b0e6f565acbe991b89d27cccea657d01745c0370fe7e4368bebb90f8b522 run #0: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #1: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #2: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #3: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #4: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #5: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #6: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #7: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #8: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #9: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject representative crash: KASAN: use-after-free Read in netdev_unregister_kobject, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 70cc3faa7080f5002ba01a853e29c0199e1dbb6b2ce0ac82ca5f72ecd0ac6ac6 run #0: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #1: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #2: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #3: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #4: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #5: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #6: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #7: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #8: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #9: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject representative crash: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79400b32f46b4e927199dd93439c330a72c1ef0e778cfcf6df50b0f092782d09 run #0: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #1: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #2: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #3: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #4: crashed: BUG: unable to handle kernel paging request in netdev_unregister_kobject run #5: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #6: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #7: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #8: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #9: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject representative crash: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject, types: [KASAN] the chunk can be dropped minimized to 402 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_NFIT ACPI_PLATFORM_PROFILE ADDRESS_MASKING ADFS_FS AFFS_FS AFS_FS AFS_FSCACHE AF_KCM AF_RXRPC AF_RXRPC_IPV6 AIX_PARTITION AMIGA_PARTITION ANDROID_BINDERFS ANDROID_BINDER_IPC ANON_VMA_NAME APERTURE_HELPERS AR5523 ARCH_ENABLE_MEMORY_HOTREMOVE ARCH_ENABLE_THP_MIGRATION ARCH_WANT_PMD_MKWRITE ASM_MODVERSIONS 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_PCI ATH10K_USB ATH11K ATH6KL ATH6KL_USB ATH9K ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_CHANNEL_CONTEXT ATH9K_COMMON ATH9K_COMMON_DEBUG 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 BASE_FULL 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_DEBUG_FS_ZONED BLK_DEV_BSGLIB BLK_DEV_INTEGRITY BLK_DEV_INTEGRITY_T10 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_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_HIDP 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_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_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_BQ24190 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_SM2 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_BOCHS ENCRYPTED_KEYS EXTCON 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 933069701c1b507825b514317d4edd5d3fd9d417 testing commit 933069701c1b507825b514317d4edd5d3fd9d417 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 56aded275f9077ed6b3b41ad2f92f32150dcc7d8ebf52878335bcf30b74784d2 all runs: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject representative crash: KASAN: slab-use-after-free Read in netdev_unregister_kobject, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 2h48m53.470030414s (build: 1h44m18.817942714s, test: 45m28.98658423s) crash still not fixed or there were kernel test errors commit msg: Merge tag '6.11-rc-smb3-server-fixes' of git://git.samba.org/ksmbd crash: KASAN: slab-use-after-free Read in netdev_unregister_kobject ================================================================== BUG: KASAN: slab-use-after-free in device_for_each_child+0xa1/0x160 drivers/base/core.c:4003 Read of size 8 at addr ffff888174ba5308 by task kbnepd bnep0/4310 CPU: 1 UID: 0 PID: 4310 Comm: kbnepd bnep0 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x108/0x280 lib/dump_stack.c:119 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 device_for_each_child+0xa1/0x160 drivers/base/core.c:4003 pm_runtime_set_memalloc_noio+0x105/0x200 drivers/base/power/runtime.c:248 netdev_unregister_kobject+0x158/0x230 net/core/net-sysfs.c:2106 unregister_netdevice_many_notify+0x1701/0x1a70 net/core/dev.c:11377 unregister_netdevice_many net/core/dev.c:11405 [inline] unregister_netdevice_queue net/core/dev.c:11280 [inline] unregister_netdevice include/linux/netdevice.h:3129 [inline] unregister_netdev+0x17c/0x1d0 net/core/dev.c:11423 bnep_session+0x28f3/0x2aa0 net/bluetooth/bnep/core.c:525 kthread+0x26a/0x2c0 kernel/kthread.c:389 ret_from_fork+0x34/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Allocated by task 1937: 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:4158 [inline] __kmalloc_noprof+0x1d5/0x440 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] kzalloc_noprof include/linux/slab.h:807 [inline] hci_alloc_dev_priv+0x1d/0x2010 net/bluetooth/hci_core.c:2441 hci_alloc_dev include/net/bluetooth/hci_core.h:1626 [inline] __vhci_create_device drivers/bluetooth/hci_vhci.c:399 [inline] vhci_create_device+0xf5/0x640 drivers/bluetooth/hci_vhci.c:472 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline] vhci_write+0x2ce/0x3c0 drivers/bluetooth/hci_vhci.c:609 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6df/0xe10 fs/read_write.c:590 ksys_write+0x163/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 1937: 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:2252 [inline] slab_free mm/slub.c:4473 [inline] kfree+0x12f/0x310 mm/slub.c:4594 hci_release_dev+0x1345/0x14b0 net/bluetooth/hci_core.c:2760 bt_host_release+0x5f/0x70 net/bluetooth/hci_sysfs.c:94 device_release+0x94/0x140 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x188/0x340 lib/kobject.c:737 vhci_release+0x81/0xc0 drivers/bluetooth/hci_vhci.c:667 __fput+0x1aa/0x690 fs/file_table.c:422 task_work_run+0x211/0x290 kernel/task_work.c:222 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x8b6/0x24d0 kernel/exit.c:882 do_group_exit+0x1ba/0x280 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x26c3/0x26d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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 insert_work+0x38/0x230 kernel/workqueue.c:2185 __queue_work+0x8a9/0xa80 kernel/workqueue.c:2345 queue_work_on+0x123/0x1f0 kernel/workqueue.c:2392 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0x8d1/0x1320 kernel/workqueue.c:3312 worker_thread+0x869/0xc60 kernel/workqueue.c:3390 kthread+0x26a/0x2c0 kernel/kthread.c:389 ret_from_fork+0x34/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Second to 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 insert_work+0x38/0x230 kernel/workqueue.c:2185 __queue_work+0x88a/0xa80 kernel/workqueue.c:2341 call_timer_fn+0x128/0x320 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1838 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x560/0x600 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0x79/0xd0 kernel/time/timer.c:2447 handle_softirqs+0x1b9/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 The buggy address belongs to the object at ffff888174ba4000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 4872 bytes inside of freed 8192-byte region [ffff888174ba4000, ffff888174ba6000) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x174ba0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x100000000000040(head|node=0|zone=2) page_type: 0xfdffffff(slab) raw: 0100000000000040 ffff888100042280 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000020002 00000001fdffffff 0000000000000000 head: 0100000000000040 ffff888100042280 dead000000000122 0000000000000000 head: 0000000000000000 0000000000020002 00000001fdffffff 0000000000000000 head: 0100000000000003 ffffea0005d2e801 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 1935, tgid 1935 (syz-executor.1), ts 53895679168, free_ts 53874529249 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x10f/0x130 mm/page_alloc.c:1493 prep_new_page mm/page_alloc.c:1501 [inline] get_page_from_freelist+0x3712/0x3820 mm/page_alloc.c:3438 __alloc_pages_noprof+0x256/0x670 mm/page_alloc.c:4696 __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:2321 allocate_slab+0x5d/0x290 mm/slub.c:2484 new_slab mm/slub.c:2537 [inline] ___slab_alloc+0xa7f/0x11d0 mm/slub.c:3723 __slab_alloc mm/slub.c:3813 [inline] __slab_alloc_node mm/slub.c:3866 [inline] slab_alloc_node mm/slub.c:4025 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x25a/0x440 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] kzalloc_noprof include/linux/slab.h:807 [inline] hci_alloc_dev_priv+0x1d/0x2010 net/bluetooth/hci_core.c:2441 hci_alloc_dev include/net/bluetooth/hci_core.h:1626 [inline] __vhci_create_device drivers/bluetooth/hci_vhci.c:399 [inline] vhci_create_device+0xf5/0x640 drivers/bluetooth/hci_vhci.c:472 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline] vhci_write+0x2ce/0x3c0 drivers/bluetooth/hci_vhci.c:609 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6df/0xe10 fs/read_write.c:590 ksys_write+0x163/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 1924 tgid 1924 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_page+0xbff/0xd50 mm/page_alloc.c:2608 discard_slab mm/slub.c:2583 [inline] __put_partials+0x18e/0x1d0 mm/slub.c:3051 put_cpu_partial+0x151/0x1b0 mm/slub.c:3126 __slab_free+0x2b8/0x3a0 mm/slub.c:4343 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:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x182/0x440 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] tomoyo_add_entry security/tomoyo/common.c:2023 [inline] tomoyo_supervisor+0xc62/0xfb0 security/tomoyo/common.c:2095 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0x679/0x960 security/tomoyo/file.c:780 security_file_open+0x2c/0x80 security/security.c:2988 do_dentry_open+0x31a/0xfa0 fs/open.c:946 vfs_open+0x36/0x290 fs/open.c:1089 do_open fs/namei.c:3727 [inline] path_openat+0x21bf/0x2870 fs/namei.c:3886 do_filp_open+0x22b/0x440 fs/namei.c:3913 do_sys_openat2+0xf6/0x180 fs/open.c:1416 Memory state around the buggy address: ffff888174ba5200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888174ba5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888174ba5300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888174ba5380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888174ba5400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================