ci starts bisection 2024-09-22 14:15:59.763205269 +0000 UTC m=+257707.996545912 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: 7d6a444ce4a5a0321e171812ed4410c86940a6aa08429fde93cf91fe7dcea0cf 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: INFO: trying to register non-static key in netdev_unregister_kobject run #3: crashed: KASAN: slab-use-after-free Read 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: 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: INFO: trying to register non-static key in netdev_unregister_kobject run #11: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #12: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #13: crashed: KASAN: 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-use-after-free 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], 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: 25f1f7abd63a1ff4ddbf93f74fecfa86e8b562b8ecab02537f2fcba5dc668e85 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: use-after-free 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: INFO: trying to register non-static key in netdev_unregister_kobject run #6: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #7: crashed: INFO: trying to register non-static key 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 UNKNOWN] the bug reproduces without the instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=4045 full=8005 leaves diff=2002 split chunks (needed=false): <2002> split chunk #0 of len 2002 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 3cdb455946193bb7ad13df15333c7fe0054db6c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26eea9f62eca2850cdea6c286eefc275925965152ebc77856fbcd6dd0dbebbd9 all runs: OK false negative chance: 0.000 testing without sub-chunk 2/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: b7e6654a9860f397e2c9e493c50306c9edf62977829937b2fb5bdb565f87dda1 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: use-after-free Read in netdev_unregister_kobject run #3: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #4: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #5: crashed: KASAN: slab-out-of-bounds 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: slab-out-of-bounds Read in netdev_unregister_kobject run #9: crashed: INFO: trying to register non-static key 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 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], 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: 94e5abbb00939a1688b5e7e909623fc1091f8bba8e724483fd5637cdeb6d065e 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-out-of-bounds 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: slab-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: INFO: trying to register non-static key 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 chunk can be dropped testing without sub-chunk 4/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: f613b9f3e5080bb8b15da6990d3494baac5d4c0aa32d46dae9ba63921fe2adbb run #0: crashed: INFO: trying to register non-static key in netdev_unregister_kobject run #1: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #2: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #3: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #4: crashed: KASAN: use-after-free Read in netdev_unregister_kobject run #5: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #6: crashed: KASAN: slab-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: 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 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: d9650e5a850e1741220dd29055edca2172230a810b43928cd63e5a7e816b5ddb run #0: crashed: KASAN: slab-use-after-free Read in netdev_unregister_kobject run #1: crashed: KASAN: slab-out-of-bounds Read in netdev_unregister_kobject run #2: crashed: KASAN: slab-out-of-bounds 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-use-after-free Read in netdev_unregister_kobject representative crash: KASAN: slab-use-after-free Read in netdev_unregister_kobject, types: [KASAN] the chunk can be dropped minimized to 401 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_USES_PG_UNCACHED 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_CHACHA20POLY1305 CRYPTO_CHACHA20_X86_64 CRYPTO_CRC32 CRYPTO_CRC32C_INTEL CRYPTO_CRC32_PCLMUL CRYPTO_CRC64_ROCKSOFT CRYPTO_CRCT10DIF CRYPTO_CRCT10DIF_PCLMUL CRYPTO_CRYPTD 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_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_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LRW 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_AVX_X86_64 CRYPTO_SM4_AESNI_AVX2_X86_64 CRYPTO_SM4_AESNI_AVX_X86_64 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_XCTR 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 DMA_OPS 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 DRM_BUDDY DRM_CIRRUS_QEMU DRM_DEBUG_MM DRM_DISPLAY_DP_HELPER DRM_DISPLAY_HDCP_HELPER DRM_DISPLAY_HDMI_HELPER DRM_DISPLAY_HELPER DRM_DP_AUX_BUS DRM_FBDEV_EMULATION 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 [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing current HEAD 88264981f2082248e892a706b2c5004650faac54 testing commit 88264981f2082248e892a706b2c5004650faac54 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f2a835188c3fd7eb883dca3d013d0b4ae8002a878e5035c98cf4676d0ca19ae7 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: 1h50m51.115011711s (build: 1h5m4.688486995s, test: 40m54.192446384s) crash still not fixed or there were kernel test errors commit msg: Merge tag 'sched_ext-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext 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:4006 Read of size 8 at addr ffff8881752c9308 by task kbnepd bnep0/4330 CPU: 0 UID: 0 PID: 4330 Comm: kbnepd bnep0 Not tainted 6.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x108/0x280 lib/dump_stack.c:120 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:4006 pm_runtime_set_memalloc_noio+0x105/0x200 drivers/base/power/runtime.c:248 netdev_unregister_kobject+0x158/0x230 net/core/net-sysfs.c:2109 unregister_netdevice_many_notify+0x1762/0x1ac0 net/core/dev.c:11433 unregister_netdevice_many net/core/dev.c:11461 [inline] unregister_netdevice_queue net/core/dev.c:11335 [inline] unregister_netdevice include/linux/netdevice.h:3118 [inline] unregister_netdev+0x17c/0x1d0 net/core/dev.c:11479 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 1934: 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:377 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4265 [inline] __kmalloc_noprof+0x1d5/0x440 mm/slub.c:4277 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] hci_alloc_dev_priv+0x1d/0x2010 net/bluetooth/hci_core.c:2440 hci_alloc_dev include/net/bluetooth/hci_core.h:1621 [inline] __vhci_create_device drivers/bluetooth/hci_vhci.c:399 [inline] vhci_create_device+0x110/0x660 drivers/bluetooth/hci_vhci.c:470 vhci_get_user drivers/bluetooth/hci_vhci.c:527 [inline] vhci_write+0x2d4/0x3d0 drivers/bluetooth/hci_vhci.c:607 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xa95/0xef0 fs/read_write.c:683 ksys_write+0x163/0x250 fs/read_write.c:736 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 1934: 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 mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2343 [inline] slab_free mm/slub.c:4580 [inline] kfree+0x186/0x3e0 mm/slub.c:4728 hci_release_dev+0x1345/0x14b0 net/bluetooth/hci_core.c:2759 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+0x7e/0xc0 drivers/bluetooth/hci_vhci.c:665 __fput+0x1a6/0x660 fs/file_table.c:431 task_work_run+0x211/0x290 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x8b6/0x2550 kernel/exit.c:939 do_group_exit+0x1ba/0x280 kernel/exit.c:1088 __do_sys_exit_group kernel/exit.c:1099 [inline] __se_sys_exit_group kernel/exit.c:1097 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1097 x64_sys_call+0x2634/0x2640 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:2183 __queue_work+0x8a9/0xa80 kernel/workqueue.c:2343 queue_work_on+0x123/0x1f0 kernel/workqueue.c:2390 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x8ea/0x1360 kernel/workqueue.c:3310 worker_thread+0x868/0xc70 kernel/workqueue.c:3391 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:2183 __queue_work+0x88a/0xa80 kernel/workqueue.c:2339 call_timer_fn+0x128/0x320 kernel/time/timer.c:1794 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2419 [inline] __run_timer_base+0x560/0x600 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0x79/0xd0 kernel/time/timer.c:2449 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:1037 [inline] sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 The buggy address belongs to the object at ffff8881752c8000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 4872 bytes inside of freed 8192-byte region [ffff8881752c8000, ffff8881752ca000) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1752c8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x100000000000040(head|node=0|zone=2) page_type: f5(slab) raw: 0100000000000040 ffff888100042280 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000020002 00000001f5000000 0000000000000000 head: 0100000000000040 ffff888100042280 dead000000000122 0000000000000000 head: 0000000000000000 0000000000020002 00000001f5000000 0000000000000000 head: 0100000000000003 ffffea0005d4b201 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1934, tgid 1934 (syz-executor.5), ts 52753489487, free_ts 52746029914 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x10f/0x130 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x4213/0x43f0 mm/page_alloc.c:3457 __alloc_pages_noprof+0x256/0x670 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x289/0x4e0 mm/mempolicy.c:2265 alloc_slab_page+0x6a/0x120 mm/slub.c:2413 allocate_slab+0x5d/0x290 mm/slub.c:2579 new_slab mm/slub.c:2632 [inline] ___slab_alloc+0xa7f/0x11d0 mm/slub.c:3819 __slab_alloc mm/slub.c:3909 [inline] __slab_alloc_node mm/slub.c:3962 [inline] slab_alloc_node mm/slub.c:4123 [inline] __do_kmalloc_node mm/slub.c:4264 [inline] __kmalloc_noprof+0x25a/0x440 mm/slub.c:4277 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] hci_alloc_dev_priv+0x1d/0x2010 net/bluetooth/hci_core.c:2440 hci_alloc_dev include/net/bluetooth/hci_core.h:1621 [inline] __vhci_create_device drivers/bluetooth/hci_vhci.c:399 [inline] vhci_create_device+0x110/0x660 drivers/bluetooth/hci_vhci.c:470 vhci_get_user drivers/bluetooth/hci_vhci.c:527 [inline] vhci_write+0x2d4/0x3d0 drivers/bluetooth/hci_vhci.c:607 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xa95/0xef0 fs/read_write.c:683 ksys_write+0x163/0x250 fs/read_write.c:736 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 1921 tgid 1921 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xab7/0xc90 mm/page_alloc.c:2638 discard_slab mm/slub.c:2678 [inline] __put_partials+0x18e/0x1d0 mm/slub.c:3146 put_cpu_partial+0x151/0x1b0 mm/slub.c:3221 __slab_free+0x2b8/0x3a0 mm/slub.c:4450 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4086 [inline] slab_alloc_node mm/slub.c:4135 [inline] __kmalloc_cache_noprof+0x12a/0x360 mm/slub.c:4291 kmalloc_noprof include/linux/slab.h:878 [inline] tomoyo_print_header security/tomoyo/audit.c:156 [inline] tomoyo_init_log+0x1d3/0x1fe0 security/tomoyo/audit.c:255 tomoyo_supervisor+0x316/0xfb0 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x3c2/0x6c0 security/tomoyo/file.c:734 security_file_ioctl+0x5c/0x100 security/security.c:2908 __do_sys_ioctl fs/ioctl.c:901 [inline] __se_sys_ioctl+0x36/0xf0 fs/ioctl.c:893 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 Memory state around the buggy address: ffff8881752c9200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881752c9280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8881752c9300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881752c9380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881752c9400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================