ci starts bisection 2024-11-23 15:28:36.079520843 +0000 UTC m=+83387.636557876 bisecting cause commit starting from 06afb0f36106ecb839c5e2509905e68c1e2677de building syzkaller on 68da6d951a345757b69b764ceb8dda1e9d65b038 ensuring issue is reproducible on original commit 06afb0f36106ecb839c5e2509905e68c1e2677de testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5072f9857411bb55c1a07b54e7d6dfb903b487c635d602f90039eb04b160ff5e all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, 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 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 82e46944fb8a371a77e9b613d12ab7e40166459f5137b49f651358771fa83c7a all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4047 full=8228 leaves diff=2118 split chunks (needed=false): <2118> split chunk #0 of len 2118 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a411aa8991bcadb867f5dd5a8f6cb3cd88efb8796f3a0af1056ed1b297db92ec all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 failed building 06afb0f36106ecb839c5e2509905e68c1e2677de: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29e32e5a488209f2fe6d1d431d456b047b6ee1a3560d2108637a0a9dda944765 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a21b2a14ae26adf071977fc8c3484d843d17211873db32475f5c3d7901066697 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 06afb0f36106ecb839c5e2509905e68c1e2677de gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f7cea5f29bc5a5a9a6cc0e2eb95e2ee4c594db6bfd81cd9624407698e0dc967 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] the chunk can be dropped minimized to 424 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_DRIVER_CORE IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IP_VS_FTP IP_VS_IPV6 IP_VS_PROTO_TCP IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce07b4ce6dc0d916f14e34b3a7a7f55c43c6366d0967b442c6bd7d0df874cb4a all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v6.11 testing commit 98f7e32f20d28ec452afb208f9cffc08448a2652 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3f622c399686d608108a9af92d66eab2b6baf3eeb630b43b45aa4b8b09bb938f all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f36baddb1a8fc8983545853436e461513c7b1b506a7cbcf868301da20dd32661 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a3701b5f4a06f90d6e97b89ed8be158173fd74f386f1ae261994cfbf25397c36 run #0: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #1: crashed: KFENCE: memory corruption in hfs_find_exit run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: KFENCE: out-of-bounds in hfs_bnode_read, types: [UNKNOWN] testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0400123bc918616c233c3fa1744c1f8e8c7b95dfbd68ab47cc214ac85ae448e4 run #0: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #1: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #2: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #3: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #4: crashed: KFENCE: memory corruption in hfs_find_exit run #5: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #6: crashed: KFENCE: memory corruption in hfs_find_exit run #7: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #8: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #9: crashed: KFENCE: memory corruption in hfs_find_exit run #10: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #11: crashed: KFENCE: memory corruption in hfs_find_exit run #12: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #13: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #14: crashed: KFENCE: memory corruption in hfs_find_exit run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: KFENCE: out-of-bounds in hfs_bnode_read, types: [UNKNOWN] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 543f2ec015696a795cc1568e5dde5d0dd2968ca57e7d1cf08a5f5e293159de27 run #0: crashed: KFENCE: out-of-bounds in hfs_bnode_read run #1: crashed: KFENCE: memory corruption in hfs_find_exit run #2: crashed: KFENCE: memory corruption in hfs_find_exit run #3: crashed: KFENCE: memory corruption in hfs_find_exit run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: KFENCE: out-of-bounds in hfs_bnode_read, types: [UNKNOWN] testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c890942687e1d1b98ec761fe5c053a8256a7cde8e9d084499ef39637336a346 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29c4b35063fdaa4f9b48f57d61a18225a567fd786fbdc1c19b4289e46df10874 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b8f14d0774f11bc0c0e4595e5bd0118f495f46243c41ee8f71fd0a8a069c92d6 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: adad9e2f26cfd4934bc3e0e725dbf281c50d5857dac45dc08e53ff2e28a335a9 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf0b31752d85b4c00fe5c50672f81707fb1582febe0e967b933bedca7ae28038 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key, types: [KASAN] testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c gcc compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0193d98145527e78148806068a57124720ab8ca4719c4dfc45bd9b66e18ae582 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key, types: [KASAN] testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 55c0afa3edc0708f2ce59a9083da39020109012ed608995a66f7da20580f63c5 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read_key, types: [KASAN] testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: d32b65d66a475a02a0d3cf1f714802d6423df03971f2f77c04af52f9ed3dab6c all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: af26a3fa67e06b7f6a9860478ca5dcb10d640209104c47bfb4d76de8ff05833c all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d gcc compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 04c329d7e9f460c07c0bf7ad316f9db2656d2b141f172ec8b1924b1d4a4021a9 all runs: crashed: KASAN: slab-out-of-bounds Write in hfs_bnode_read representative crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read, types: [KASAN] crash still not fixed/happens on the oldest tested release reproducer is flaky (1.00 repro chance estimate) revisions tested: 22, total time: 4h49m55.25512757s (build: 2h19m21.831858898s, test: 1h50m55.585414728s) oldest tested release already had the bug or it had kernel test errors commit msg: Linux 4.19 crash: KASAN: slab-out-of-bounds Write in hfs_bnode_read IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:345 [inline] BUG: KASAN: slab-out-of-bounds in hfs_bnode_read+0x9b/0xd0 fs/hfs/bnode.c:26 Write of size 94 at addr ffff8801e11fb780 by task syz.3.15/3877 CPU: 0 PID: 3877 Comm: syz.3.15 Not tainted 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x10c/0x17a lib/dump_stack.c:113 print_address_description.cold.6+0x9/0x244 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold.7+0x242/0x305 mm/kasan/report.c:396 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13c/0x1b0 mm/kasan/kasan.c:267 memcpy+0x37/0x50 mm/kasan/kasan.c:303 memcpy include/linux/string.h:345 [inline] hfs_bnode_read+0x9b/0xd0 fs/hfs/bnode.c:26 hfs_bnode_read_key+0x111/0x1b0 fs/hfs/bnode.c:58 hfs_brec_insert+0x687/0xbb0 fs/hfs/brec.c:159 hfs_cat_move+0x2fa/0x78d fs/hfs/catalog.c:320 hfs_rename+0xbb/0x1f0 fs/hfs/dir.c:298 vfs_rename+0xa18/0x1860 fs/namei.c:4477 do_renameat2+0x60d/0xa00 fs/namei.c:4627 __do_sys_renameat2 fs/namei.c:4662 [inline] __se_sys_renameat2 fs/namei.c:4659 [inline] __x64_sys_renameat2+0xb9/0x150 fs/namei.c:4659 do_syscall_64+0xd0/0x340 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7feaf11fb819 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:00007feaf0c7c038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007feaf13b2fa0 RCX: 00007feaf11fb819 RDX: 0000000000000004 RSI: 0000000020000380 RDI: 0000000000000004 RBP: 00007feaf126e75e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007feaf13b2fa0 R15: 00007ffc3ad26278 Allocated by task 3877: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc.part.1+0x62/0xf0 mm/kasan/kasan.c:553 kasan_kmalloc+0xaf/0xc0 mm/kasan/kasan.c:538 __kmalloc+0x139/0x260 mm/slub.c:3751 kmalloc include/linux/slab.h:518 [inline] hfs_find_init+0x96/0x180 fs/hfs/bfind.c:21 hfs_cat_move+0x10e/0x78d fs/hfs/catalog.c:293 hfs_rename+0xbb/0x1f0 fs/hfs/dir.c:298 vfs_rename+0xa18/0x1860 fs/namei.c:4477 do_renameat2+0x60d/0xa00 fs/namei.c:4627 __do_sys_renameat2 fs/namei.c:4662 [inline] __se_sys_renameat2 fs/namei.c:4659 [inline] __x64_sys_renameat2+0xb9/0x150 fs/namei.c:4659 do_syscall_64+0xd0/0x340 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 3204: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x167/0x240 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 slab_free_hook mm/slub.c:1371 [inline] slab_free_freelist_hook mm/slub.c:1398 [inline] slab_free mm/slub.c:2953 [inline] kfree+0x10c/0x280 mm/slub.c:3906 kzfree+0x28/0x30 mm/slab_common.c:1543 aa_free_file_ctx security/apparmor/include/file.h:76 [inline] apparmor_file_free_security+0x69/0x90 security/apparmor/lsm.c:448 security_file_free+0x40/0x70 security/security.c:889 file_free fs/file_table.c:54 [inline] __fput+0x2eb/0x740 fs/file_table.c:294 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x10e/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x170/0x1d0 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x2bf/0x340 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff8801e11fb780 which belongs to the cache kmalloc-96 of size 96 The buggy address is located 0 bytes inside of 96-byte region [ffff8801e11fb780, ffff8801e11fb7e0) The buggy address belongs to the page: page:ffffea0007847ec0 count:1 mapcount:0 mapping:ffff8801f6c03400 index:0x0 flags: 0x100000000000100(slab) raw: 0100000000000100 ffffea0007832e80 0000001900000019 ffff8801f6c03400 raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page allocated via order 0, migratetype Unmovable, gfp_mask 0x6012c0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY) set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook mm/page_alloc.c:1906 [inline] prep_new_page mm/page_alloc.c:1914 [inline] get_page_from_freelist+0x2c01/0x4060 mm/page_alloc.c:3345 __alloc_pages_nodemask+0x390/0x2300 mm/page_alloc.c:4370 alloc_pages_current+0xfd/0x290 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:509 [inline] alloc_slab_page mm/slub.c:1438 [inline] allocate_slab mm/slub.c:1583 [inline] new_slab+0x458/0x7d0 mm/slub.c:1654 new_slab_objects mm/slub.c:2417 [inline] ___slab_alloc+0x600/0x890 mm/slub.c:2569 __slab_alloc+0x2f/0x60 mm/slub.c:2609 slab_alloc_node mm/slub.c:2672 [inline] slab_alloc mm/slub.c:2714 [inline] kmem_cache_alloc_trace+0x1d7/0x220 mm/slub.c:2731 kmalloc include/linux/slab.h:513 [inline] kzalloc include/linux/slab.h:707 [inline] aa_alloc_file_ctx security/apparmor/include/file.h:60 [inline] apparmor_file_alloc_security+0x310/0x5e0 security/apparmor/lsm.c:438 security_file_alloc+0x40/0x80 security/security.c:884 __alloc_file+0x7a/0x280 fs/file_table.c:105 alloc_empty_file+0x45/0x110 fs/file_table.c:150 path_openat+0x101/0x2910 fs/namei.c:3523 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x98/0xf0 fs/open.c:1084 do_syscall_64+0xd0/0x340 arch/x86/entry/common.c:290 Memory state around the buggy address: ffff8801e11fb680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801e11fb700: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801e11fb780: 00 00 00 00 00 00 00 00 00 06 fc fc fc fc fc fc ^ ffff8801e11fb800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801e11fb880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ==================================================================