ci starts bisection 2025-05-24 16:34:04.510978088 +0000 UTC m=+47966.676777122 bisecting cause commit starting from 176e917e010cb7dcc605f11d2bc33f304292482b building syzkaller on ed351ea732d889c7798e7f0226bcaec65a8a6b52 ensuring issue is reproducible on original commit 176e917e010cb7dcc605f11d2bc33f304292482b testing commit 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: d8a44e65158a908d5a5e992aed511823094c34d699530b5d8c929bf8932a9d5c run #0: crashed: KASAN: slab-use-after-free Write in binder_add_device run #1: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #2: crashed: KASAN: slab-use-after-free Write in binder_add_device run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binder_add_device run #5: crashed: KASAN: slab-use-after-free Write in binder_add_device run #6: crashed: KASAN: slab-use-after-free Write in binder_add_device run #7: crashed: KASAN: slab-use-after-free Write in binder_add_device run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device run #10: crashed: KASAN: slab-use-after-free Write in binder_add_device run #11: crashed: KASAN: slab-use-after-free Write in binder_add_device run #12: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #13: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #14: crashed: KASAN: slab-use-after-free Write in binder_add_device run #15: crashed: KASAN: slab-use-after-free Write in binder_add_device run #16: crashed: KASAN: slab-use-after-free Write in binder_add_device run #17: crashed: KASAN: slab-use-after-free Write in binder_add_device run #18: crashed: KASAN: slab-use-after-free Write in binder_add_device run #19: crashed: KASAN: slab-out-of-bounds Read in nexthop_is_blackhole representative crash: KASAN: slab-use-after-free Write in binder_add_device, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: d21f16e10c1cc4b0a8bf404d1234eccf9df290a3cb05fb40ff9653ed528d1f13 all runs: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binder_add_device, 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=4091 full=8361 leaves diff=2131 split chunks (needed=false): <2131> split chunk #0 of len 2131 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: a79bc3986c9f2a9020bf1e2a6d8d0714969dffa3a2cb7ad45870e37ba7d5d716 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 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 9857d6f9e31336165d336b50bbcd85fb4a827dbcec896c54543814df37fe38d9 all runs: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binder_add_device, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 2a2118677369beada9bb2a05aa004a5d573616b35a88cff5ce07104352bac9e9 run #0: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #1: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #2: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #3: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #4: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #5: crashed: KASAN: slab-use-after-free Write in binder_add_device run #6: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #7: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binder_remove_device, 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 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 7d1cf0acac8bd932ecde1a4d0f338f60c742b166a30f4efda77c1a98267fb5d5 run #0: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #1: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #2: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #5: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #6: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #7: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #8: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #9: crashed: KASAN: slab-use-after-free Write in binder_remove_device representative crash: KASAN: slab-use-after-free Write in binder_remove_device, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 176e917e010cb7dcc605f11d2bc33f304292482b gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 2e53a6c6f087aef42f4dd57d90016372efb3733cd956543741724d2ea62d0ce7 run #0: crashed: KASAN: slab-use-after-free Write in binder_add_device run #1: crashed: KASAN: slab-use-after-free Write in binder_add_device run #2: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #3: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #4: crashed: KASAN: slab-use-after-free Write in binder_add_device run #5: crashed: KASAN: slab-use-after-free Write in binder_add_device run #6: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #7: crashed: KASAN: slab-use-after-free Write in binder_add_device run #8: crashed: KASAN: slab-use-after-free Write in binder_remove_device run #9: crashed: KASAN: slab-use-after-free Write in binder_remove_device representative crash: KASAN: slab-use-after-free Write in binder_add_device, types: [KASAN] the chunk can be dropped minimized to 427 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_MRRM ACPI_NFIT ACPI_NHLT ACPI_PLATFORM_PROFILE 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_HAS_USER_SHADOW_STACK ARCH_SUPPORTS_HUGE_PFNMAP ARCH_SUPPORTS_PMD_PFNMAP ARCH_SUPPORTS_PUD_PFNMAP 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_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_MTKSDIO BT_MTKUART 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 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_MAX 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 CRC64 CRC64_ARCH CRC8 CRC_CCITT CRC_ITU_T CRC_T10DIF CRC_T10DIF_ARCH CRYPTO_842 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_ARCH_HAVE_LIB_SHA256 CRYPTO_ARCH_HAVE_LIB_SHA256_SIMD 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_CRC32C 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_ECDH CRYPTO_ECRDSA CRYPTO_ENGINE CRYPTO_ESSIV CRYPTO_FCRYPT CRYPTO_GHASH_CLMUL_NI_INTEL CRYPTO_HCTR2 CRYPTO_HKDF CRYPTO_KDF800108_CTR CRYPTO_KHAZAD CRYPTO_KPP CRYPTO_KRB5 CRYPTO_KRB5ENC CRYPTO_LIB_ARC4 CRYPTO_LIB_CHACHA CRYPTO_LIB_CHACHA20POLY1305 CRYPTO_LIB_CHACHA_GENERIC CRYPTO_LIB_CURVE25519 CRYPTO_LIB_CURVE25519_GENERIC CRYPTO_LIB_CURVE25519_INTERNAL CRYPTO_LIB_DES CRYPTO_LIB_POLY1305 CRYPTO_LIB_POLY1305_GENERIC CRYPTO_LIB_SHA256_GENERIC CRYPTO_LIB_SM3 CRYPTO_LRW CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_MICHAEL_MIC CRYPTO_NHPOLY1305 CRYPTO_NHPOLY1305_AVX2 CRYPTO_NHPOLY1305_SSE2 CRYPTO_PCBC CRYPTO_PCRYPT 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_X86_64 CRYPTO_SHA512_SSSE3 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_WP512 CRYPTO_XCBC CRYPTO_XCTR CRYPTO_XTS CRYPTO_XXHASH CRYPTO_ZSTD CUSE CYPRESS_FIRMWARE DAMON DAMON_PADDR DAMON_RECLAIM DAMON_VADDR DAX DCA DCB DEBUG_VFS DEFAULT_CODEL 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_CLIENT DRM_CLIENT_DEFAULT_FBDEV DRM_CLIENT_LIB DRM_CLIENT_SELECTION DRM_CLIENT_SETUP DRM_DEBUG_MM DRM_DISPLAY_DP_AUX_BUS DRM_DISPLAY_DP_HELPER DRM_DISPLAY_HELPER DRM_FBDEV_EMULATION ENCRYPTED_KEYS FSCACHE FUSE_FS GPIOLIB HAMRADIO HID_DRAGONRISE IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_RTRS_CLIENT IOSCHED_BFQ 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 WLAN WLAN_VENDOR_ATH ZONE_DEVICE] disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed picked [v6.14 v6.13 v6.12 v6.10 v6.8 v6.6 v6.4 v6.2 v5.19 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 37 release tags testing release v6.14 testing commit 38fec10eb60d687e30c8c6b5420d86e8149f7557 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: c4a0cac4c679d5640dc863d287a12c29a54ca0d725640fff06237de76e57f12b run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #4: crashed: KASAN: slab-use-after-free Write in binder_add_device run #5: crashed: KASAN: slab-use-after-free Write in binder_add_device run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binder_add_device run #8: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] testing release v6.13 testing commit ffd294d346d185b70e28b1a28abe367bbfe53c04 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: b57074c811b1dcaa18d553e991e9dc1103c17182f30b42ac0348e4e94348f00d all runs: OK false negative chance: 0.000 # git bisect start 38fec10eb60d687e30c8c6b5420d86e8149f7557 ffd294d346d185b70e28b1a28abe367bbfe53c04 Bisecting: 6039 revisions left to test after this (roughly 13 steps) [2c8d2a510c15c003749e43ac2b8e1bc79a7a00d6] Merge tag 'sound-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 2c8d2a510c15c003749e43ac2b8e1bc79a7a00d6 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 628a0f47bb0daae8bda0f920f750cc80cfd818136ec25c025a5bc93fd5992831 all runs: OK false negative chance: 0.000 # git bisect good 2c8d2a510c15c003749e43ac2b8e1bc79a7a00d6 Bisecting: 3064 revisions left to test after this (roughly 12 steps) [9ff28f2fad67e173ed25b8c3a183b15da5445d2d] Merge tag 'loongarch-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson testing commit 9ff28f2fad67e173ed25b8c3a183b15da5445d2d gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 22427c70c736ab3ae83cbd454a80aa61935118d2600e7458da4d8af0fd4e85c9 run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binder_add_device run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 9ff28f2fad67e173ed25b8c3a183b15da5445d2d Bisecting: 1492 revisions left to test after this (roughly 11 steps) [647d69605c70368d54fc012fce8a43e8e5955b04] Merge tag 'pci-v6.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci testing commit 647d69605c70368d54fc012fce8a43e8e5955b04 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 040ed8512c96feccad229caf234a2fe5901118dade3bced8842fce3fe9671304 all runs: OK false negative chance: 0.000 # git bisect good 647d69605c70368d54fc012fce8a43e8e5955b04 Bisecting: 757 revisions left to test after this (roughly 10 steps) [805ba04cb7ccfc7d72e834ebd796e043142156ba] Merge tag 'mips_6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux testing commit 805ba04cb7ccfc7d72e834ebd796e043142156ba gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 9057a4f33ecd3c5b0196f84860e4bfe3d1706f42deb93207ec0680835a519eed all runs: OK false negative chance: 0.000 # git bisect good 805ba04cb7ccfc7d72e834ebd796e043142156ba Bisecting: 435 revisions left to test after this (roughly 9 steps) [970b9757cb44c315b5c3da6b1b35a1ffb07cca5a] ntsync: Fix reference leaks in the remaining create ioctls. testing commit 970b9757cb44c315b5c3da6b1b35a1ffb07cca5a gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: e91b4b30ba730c0c28cf4614022d9b6b990b8492cebee0b2d720f4420a9923f1 run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binder_add_device run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 970b9757cb44c315b5c3da6b1b35a1ffb07cca5a Bisecting: 170 revisions left to test after this (roughly 7 steps) [b8ae08db7a317c988b28c3ffc45d81af36e8ae40] Merge tag 'extcon-next-for-6.14' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next testing commit b8ae08db7a317c988b28c3ffc45d81af36e8ae40 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: d3ee7befa16a8e5004c70d4cfc0d4771b5fc9afc868219388eb39887fabdd35e run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binder_add_device run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: general protection fault in refill_obj_stock run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad b8ae08db7a317c988b28c3ffc45d81af36e8ae40 Bisecting: 75 revisions left to test after this (roughly 6 steps) [154916f4b59dc2228caad5fc98e9e6a7e1a84e19] scripts/spdxcheck: Handle license identifiers in Jinja comments testing commit 154916f4b59dc2228caad5fc98e9e6a7e1a84e19 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 46e127971a2fae9a9598109ff20c3163876387c2c0095f876914f97fbd79f51a run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 154916f4b59dc2228caad5fc98e9e6a7e1a84e19 Bisecting: 37 revisions left to test after this (roughly 5 steps) [b3b9b3cccb32a6df2f3f9f3177b06de628939cb7] Documentation ABI: add PPS generators documentation testing commit b3b9b3cccb32a6df2f3f9f3177b06de628939cb7 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 0eec6c6a4486fb16dace84dc6abd2c745032afda143c4a3a96787578028d2a78 run #0: ignore: 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 false negative chance: 0.000 # git bisect good b3b9b3cccb32a6df2f3f9f3177b06de628939cb7 Bisecting: 18 revisions left to test after this (roughly 4 steps) [0b3c31449d28c83c0b8a8a7be569aa30d70b7764] ntsync: Introduce NTSYNC_IOC_MUTEX_READ. testing commit 0b3c31449d28c83c0b8a8a7be569aa30d70b7764 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: a81cd606727ec48c18a62a204e7eef29c24fb2bfdb0532340f7a3228a1fcdd3a run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binder_add_device run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #9: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 0b3c31449d28c83c0b8a8a7be569aa30d70b7764 Bisecting: 9 revisions left to test after this (roughly 3 steps) [b4a7b5fe3f5149fa35278807e0dc13ddb093f4b8] ntsync: Introduce NTSYNC_IOC_WAIT_ANY. testing commit b4a7b5fe3f5149fa35278807e0dc13ddb093f4b8 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 85233f71eb9112d9416c79baf3126834fb32f3c703a612791f3d3345e7fcd722 run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binder_add_device run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad b4a7b5fe3f5149fa35278807e0dc13ddb093f4b8 Bisecting: 4 revisions left to test after this (roughly 2 steps) [6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68] misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors testing commit 6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 597e66c5822f78d6eed347541747716d77ee58e9dad4e244992a88984278e8ae run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binder_add_device run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68 Bisecting: 1 revision left to test after this (roughly 1 step) [2a8f84b5b1b6a76dea8c3bccb95370076cddbba0] binder: fix kernel-doc warning of 'file' member testing commit 2a8f84b5b1b6a76dea8c3bccb95370076cddbba0 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: e1a9774f685956e234a45b254e317fdd042b381ff55078755325bfcf92b968ad run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binder_add_device run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #7: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #8: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #9: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 2a8f84b5b1b6a76dea8c3bccb95370076cddbba0 Bisecting: 0 revisions left to test after this (roughly 0 steps) [12d909cac1e1c4147cc3417fee804ee12fc6b984] binderfs: add new binder devices to binder_devices testing commit 12d909cac1e1c4147cc3417fee804ee12fc6b984 gcc compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6 kernel signature: 55eb37ac1da025974df8afce57e160124eb7132d6eed6278667c6c967c72534a run #0: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #1: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #2: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #3: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #4: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #5: crashed: KASAN: slab-use-after-free Write in binderfs_evict_inode run #6: crashed: KASAN: slab-use-after-free Write in binder_add_device run #7: crashed: KASAN: slab-use-after-free Write in binder_add_device run #8: crashed: KASAN: slab-use-after-free Write in binder_add_device run #9: crashed: KASAN: slab-use-after-free Write in binder_add_device representative crash: KASAN: slab-use-after-free Write in binderfs_evict_inode, types: [KASAN] # git bisect bad 12d909cac1e1c4147cc3417fee804ee12fc6b984 12d909cac1e1c4147cc3417fee804ee12fc6b984 is the first bad commit commit 12d909cac1e1c4147cc3417fee804ee12fc6b984 Author: Li Li Date: Wed Dec 18 13:29:34 2024 -0800 binderfs: add new binder devices to binder_devices When binderfs is not enabled, the binder driver parses the kernel config to create all binder devices. All of the new binder devices are stored in the list binder_devices. When binderfs is enabled, the binder driver creates new binder devices dynamically when userspace applications call BINDER_CTL_ADD ioctl. But the devices created in this way are not stored in the same list. This patch fixes that. Signed-off-by: Li Li Acked-by: Carlos Llamas Link: https://lore.kernel.org/r/20241218212935.4162907-2-dualli@chromium.org Signed-off-by: Greg Kroah-Hartman drivers/android/binder.c | 5 +++++ drivers/android/binder_internal.h | 11 +++++++++-- drivers/android/binderfs.c | 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 55eb37ac1da025974df8afce57e160124eb7132d6eed6278667c6c967c72534a parent signature: 0eec6c6a4486fb16dace84dc6abd2c745032afda143c4a3a96787578028d2a78 revisions tested: 22, total time: 9h28m24.129530804s (build: 6h24m26.230387239s, test: 2h38m58.431520958s) first bad commit: 12d909cac1e1c4147cc3417fee804ee12fc6b984 binderfs: add new binder devices to binder_devices recipients (to): ["cmllamas@google.com" "dualli@google.com" "gregkh@linuxfoundation.org"] recipients (cc): [] crash: KASAN: slab-use-after-free Write in binderfs_evict_inode ================================================================== BUG: KASAN: slab-use-after-free in __hlist_del include/linux/list.h:982 [inline] BUG: KASAN: slab-use-after-free in hlist_del_init include/linux/list.h:1008 [inline] BUG: KASAN: slab-use-after-free in binderfs_evict_inode+0x1ac/0x280 drivers/android/binderfs.c:277 Write of size 8 at addr ffff88810f3ab408 by task syz.3.19/4998 CPU: 0 UID: 0 PID: 4998 Comm: syz.3.19 Not tainted 6.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0xf5/0x170 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xac/0x230 mm/kasan/report.c:489 kasan_report+0x118/0x150 mm/kasan/report.c:602 __hlist_del include/linux/list.h:982 [inline] hlist_del_init include/linux/list.h:1008 [inline] binderfs_evict_inode+0x1ac/0x280 drivers/android/binderfs.c:277 evict+0x440/0x940 fs/inode.c:796 __dentry_kill+0x194/0x5c0 fs/dcache.c:625 shrink_kill+0x29/0xa0 fs/dcache.c:1070 shrink_dentry_list+0x1b4/0x410 fs/dcache.c:1097 shrink_dcache_parent+0xa2/0x1d0 fs/dcache.c:-1 do_one_tree+0x1b/0xd0 fs/dcache.c:1560 shrink_dcache_for_umount+0x6f/0x100 fs/dcache.c:1577 generic_shutdown_super+0x61/0x260 fs/super.c:620 kill_anon_super+0x3f/0x1f0 fs/super.c:1237 binderfs_kill_super+0x40/0x80 drivers/android/binderfs.c:792 deactivate_locked_super+0x9b/0x390 fs/super.c:473 cleanup_mnt+0x114/0x300 fs/namespace.c:1373 task_work_run+0x14a/0x1e0 kernel/task_work.c:239 resume_user_mode_work+0x52/0x60 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x77/0xc0 kernel/entry/common.c:218 do_syscall_64+0x9c/0x170 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbdfc78e969 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:00007ffeb5bffff8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000016950 RCX: 00007fbdfc78e969 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fbdfc9b7ba0 R08: 0000000000000001 R09: 00000006b5c002ef R10: 00007fbdfc600000 R11: 0000000000000246 R12: 00007fbdfc9b5fac R13: 00007fbdfc9b5fa0 R14: ffffffffffffffff R15: 00007ffeb5c00110 Allocated by task 2975: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __kmalloc_cache_noprof+0x221/0x410 mm/slub.c:4329 kmalloc_noprof include/linux/slab.h:901 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] binderfs_binder_device_create+0x14e/0x970 drivers/android/binderfs.c:147 binderfs_fill_super+0x926/0xd00 drivers/android/binderfs.c:730 vfs_get_super fs/super.c:1280 [inline] get_tree_nodev+0xa4/0x120 fs/super.c:1299 vfs_get_tree+0x84/0x1a0 fs/super.c:1814 do_new_mount+0x1c9/0x850 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x21c/0x2c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 8: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:582 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4613 [inline] kfree+0x17a/0x3e0 mm/slub.c:4761 binder_free_proc drivers/android/binder.c:5249 [inline] binder_proc_dec_tmpref+0x1e5/0x420 drivers/android/binder.c:1565 binder_deferred_release drivers/android/binder.c:6293 [inline] binder_deferred_func+0xef/0x1360 drivers/android/binder.c:6320 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x989/0x12d0 kernel/workqueue.c:3310 worker_thread+0x850/0xc50 kernel/workqueue.c:3391 kthread+0x235/0x290 kernel/kthread.c:389 ret_from_fork+0x32/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 The buggy address belongs to the object at ffff88810f3ab400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 8 bytes inside of freed 512-byte region [ffff88810f3ab400, ffff88810f3ab600) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10f3a8 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x100000000000040(head|node=0|zone=2) page_type: f5(slab) raw: 0100000000000040 ffff888100041c80 ffffea0004481700 dead000000000002 raw: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000 head: 0100000000000040 ffff888100041c80 ffffea0004481700 dead000000000002 head: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000 head: 0100000000000002 ffffea00043cea01 ffffffffffffffff 0000000000000000 head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1414, tgid 1414 (S02acpid), ts 7496181167, free_ts 4922515553 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0xf2/0x120 mm/page_alloc.c:1556 prep_new_page mm/page_alloc.c:1564 [inline] get_page_from_freelist+0x3799/0x38a0 mm/page_alloc.c:3474 __alloc_pages_noprof+0x1e4/0x430 mm/page_alloc.c:4751 alloc_pages_mpol_noprof+0x1d5/0x380 mm/mempolicy.c:2269 alloc_slab_page+0x5d/0x110 mm/slub.c:2423 allocate_slab+0x5d/0x260 mm/slub.c:2589 new_slab mm/slub.c:2642 [inline] ___slab_alloc+0x9de/0x10e0 mm/slub.c:3830 __slab_alloc mm/slub.c:3920 [inline] __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_noprof+0x2ea/0x500 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] tomoyo_init_log+0x178f/0x1cf0 security/tomoyo/audit.c:275 tomoyo_supervisor+0x2d3/0xdd0 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0x28f/0x520 security/tomoyo/file.c:777 security_file_open+0x45/0xd0 security/security.c:3105 do_dentry_open+0x2fd/0x1060 fs/open.c:928 vfs_open+0x36/0x2b0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x23b7/0x2b80 fs/namei.c:3987 do_filp_open+0x1e2/0x3c0 fs/namei.c:4014 page last free pid 43 tgid 43 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_page+0xa87/0xc60 mm/page_alloc.c:2657 vfree+0x103/0x200 mm/vmalloc.c:3382 delayed_vfree_work+0x3c/0x70 mm/vmalloc.c:3303 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x989/0x12d0 kernel/workqueue.c:3310 worker_thread+0x850/0xc50 kernel/workqueue.c:3391 kthread+0x235/0x290 kernel/kthread.c:389 ret_from_fork+0x32/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Memory state around the buggy address: ffff88810f3ab300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810f3ab380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810f3ab400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810f3ab480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810f3ab500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================