ci2 starts bisection 2025-03-31 03:25:08.682790505 +0000 UTC m=+123858.355385470 bisecting fixing commit since 91786f140358b1e56efdb0feccb337ce3a59c031 building syzkaller on d3ccff6372e07c6aabd02b5da419aa6492b5f0ad ensuring issue is reproducible on original commit 91786f140358b1e56efdb0feccb337ce3a59c031 testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1c15678512c9b459caf94c3f92d63c4a1fcf6592a7774ba88e503f8659e7cf6c run #0: crashed: KASAN: use-after-free Write in diWrite run #1: crashed: KASAN: slab-out-of-bounds Write in diWrite run #2: crashed: KASAN: use-after-free Write in diWrite run #3: crashed: KASAN: slab-out-of-bounds Write in diWrite run #4: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #5: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #6: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #7: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: slab-out-of-bounds Write in diWrite run #10: crashed: KASAN: use-after-free Write in diWrite run #11: crashed: KASAN: use-after-free Write in diWrite run #12: crashed: KASAN: use-after-free Write in diWrite run #13: crashed: KASAN: use-after-free Write in diWrite run #14: crashed: KASAN: use-after-free Write in diWrite run #15: crashed: KASAN: use-after-free Write in diWrite run #16: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #17: crashed: KASAN: use-after-free Write in diWrite run #18: crashed: KASAN: use-after-free Write in diWrite run #19: crashed: KASAN: slab-out-of-bounds Write in diWrite representative crash: KASAN: use-after-free Write in diWrite, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a63bb65f95c9ce5d3d4056eca7489cf1f316504ddef901d9608992570f386beb run #0: crashed: KASAN: slab-out-of-bounds Write in diWrite run #1: crashed: KASAN: use-after-free Write in diWrite run #2: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #3: crashed: KASAN: slab-out-of-bounds Write in diWrite run #4: crashed: KASAN: use-after-free Write in diWrite run #5: crashed: KASAN: slab-out-of-bounds Write in diWrite run #6: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #7: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: slab-out-of-bounds Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, 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=3706 full=7305 leaves diff=2038 split chunks (needed=false): <2038> split chunk #0 of len 2038 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc96783536375166b9f294a05f2d1d096991c8c89ac8cce41df4816eb953d5da run #0: crashed: KASAN: slab-out-of-bounds Write in diWrite run #1: crashed: general protection fault in evict run #2: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #3: crashed: KASAN: slab-out-of-bounds Write in diWrite run #4: crashed: KASAN: slab-out-of-bounds Read in jfs_readdir run #5: crashed: KASAN: slab-out-of-bounds Write in diWrite run #6: crashed: general protection fault in evict run #7: crashed: KASAN: use-after-free Write in diWrite run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: use-after-free Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4f5b09d5d190705bb65121aa3815210452dc28454ebff47c9e12c63b8f4a49b9 run #0: crashed: invalid opcode in corrupted run #1: crashed: KASAN: slab-out-of-bounds Write in diWrite run #2: crashed: KASAN: slab-out-of-bounds Write in diWrite run #3: crashed: KASAN: slab-out-of-bounds Write in diWrite run #4: crashed: invalid opcode in corrupted run #5: crashed: KASAN: use-after-free Write in diWrite run #6: crashed: KASAN: use-after-free Write in diWrite run #7: crashed: KASAN: use-after-free Write in diWrite run #8: crashed: KASAN: slab-out-of-bounds Write in diWrite run #9: crashed: KASAN: use-after-free Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, 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 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1736cb966a35acb3290de303543249c9d53c510ee89f7490ecf3e3c69bf88572 all runs: OK false negative chance: 0.000 testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30e320ad89c73032aa45f5576fcedb8c000395ae10e3bc3f174017d42a057510 run #0: crashed: KASAN: slab-out-of-bounds Write in diWrite run #1: crashed: KASAN: use-after-free Write in diWrite run #2: crashed: KASAN: use-after-free Write in diWrite run #3: crashed: KASAN: use-after-free Write in diWrite run #4: crashed: KASAN: use-after-free Write in diWrite run #5: crashed: KASAN: slab-out-of-bounds Write in diWrite run #6: crashed: KASAN: use-after-free Write in diWrite run #7: crashed: KASAN: use-after-free Write in diWrite run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: use-after-free Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, 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 91786f140358b1e56efdb0feccb337ce3a59c031 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bb5551716f75999596e6a73202a0787d946a19c48d3758f890926d21c6a1ca68 run #0: crashed: KASAN: slab-out-of-bounds Write in diWrite run #1: crashed: general protection fault in evict run #2: crashed: KASAN: slab-out-of-bounds Write in diWrite run #3: crashed: KASAN: slab-out-of-bounds Write in diWrite run #4: crashed: KASAN: use-after-free Write in diWrite run #5: crashed: KASAN: use-after-free Write in diWrite run #6: crashed: KASAN: slab-out-of-bounds Write in diWrite run #7: crashed: general protection fault in evict run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: slab-out-of-bounds Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, types: [KASAN] the chunk can be dropped minimized to 408 configs; suspects: [AX25 BRIDGE BRIDGE_NETFILTER CAN CFG80211 CHECKPOINT_RESTORE DVB_CORE FB FSCACHE HAMRADIO HSR INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_USER_ACCESS INPUT_JOYSTICK INPUT_MOUSE IP6_NF_RAW IPV6_MULTIPLE_TABLES IP_NF_RAW IP_SET IP_VS IR_TOY IR_TTUSBIR ISDN ISDN_CAPI_MIDDLEWARE JFFS2_CMODE_PRIORITY JFFS2_COMPRESSION_OPTIONS JFFS2_FS JFFS2_FS_POSIX_ACL JFFS2_FS_SECURITY JFFS2_FS_WRITEBUFFER JFFS2_FS_XATTR JFFS2_LZO JFFS2_RTIME JFFS2_RUBIN JFFS2_SUMMARY JFFS2_ZLIB JFS_DEBUG JFS_FS JFS_POSIX_ACL JFS_SECURITY JOYSTICK_IFORCE JOYSTICK_IFORCE_USB JOYSTICK_PXRC JOYSTICK_XPAD JOYSTICK_XPAD_FF JOYSTICK_XPAD_LEDS KARMA_PARTITION KCOV KCOV_ENABLE_COMPARISONS KCOV_INSTRUMENT_ALL KEYS_REQUEST_CACHE KEY_DH_OPERATIONS KEY_NOTIFICATIONS KSM KVM KVM_AMD KVM_ASYNC_PF KVM_COMPAT KVM_GENERIC_DIRTYLOG_READ_PROTECT KVM_INTEL KVM_MMIO KVM_VFIO KVM_XEN KVM_XFER_TO_GUEST_WORK L2TP L2TP_ETH L2TP_IP L2TP_V3 LAPB LAPBETHER LDM_PARTITION LEDS_TRIGGER_AUDIO LEGACY_PTYS LIBNVDIMM LINEAR_RANGES LLC LLC2 LOGIG940_FF LOGIRUMBLEPAD2_FF LOGO LOGO_LINUX_MONO LOGO_LINUX_VGA16 LPC_ICH LWTUNNEL LWTUNNEL_BPF LZ4HC_COMPRESS LZ4_COMPRESS MAC80211 MAC80211_DEBUGFS MAC80211_HAS_RC MAC80211_HWSIM MAC80211_MESH MAC80211_RC_DEFAULT_MINSTREL MAC80211_RC_MINSTREL MACSEC MACVLAN MACVTAP MAC_PARTITION MAPPING_DIRTY_HELPERS MDIO_MVUSB MD_LINEAR MD_MULTIPATH MD_RAID0 MD_RAID1 MD_RAID10 MD_RAID456 MEDIA_ANALOG_TV_SUPPORT MEDIA_ATTACH MEDIA_CONTROLLER MEDIA_CONTROLLER_DVB MEDIA_CONTROLLER_REQUEST_API MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_SUPPORT_FILTER MEDIA_TUNER MEDIA_TUNER_MSI001 MEDIA_TUNER_XC2028 MEDIA_TUNER_XC5000 MEMORY_BALLOON MEMORY_HOTPLUG MEMORY_HOTPLUG_DEFAULT_ONLINE MEMORY_ISOLATION MEMREGION MEMSTICK MEMSTICK_REALTEK_USB MEM_SOFT_DIRTY MFD_CORE MFD_SYSCON MHI_BUS MHI_WWAN_CTRL MHP_MEMMAP_ON_MEMORY MICROCHIP_PHY MINIX_FS MINIX_SUBPARTITION MISC_RTSX MISC_RTSX_USB MISDN MISDN_DSP MISDN_HFCUSB MISDN_L1OIP MKISS MLX4_CORE MLX4_INFINIBAND MMC MMC_REALTEK_USB MMC_USHC MMC_VUB300 MMU_NOTIFIER MODULE_SRCVERSION_ALL MODVERSIONS MOST MOST_USB_HDM MOUSE_APPLETOUCH MOUSE_BCM5974 MOUSE_PS2 MOUSE_PS2_ALPS MOUSE_PS2_BYD MOUSE_PS2_CYPRESS MOUSE_PS2_FOCALTECH MOUSE_PS2_LIFEBOOK MOUSE_PS2_LOGIPS2PP MOUSE_PS2_SMBUS MOUSE_PS2_SYNAPTICS MOUSE_PS2_SYNAPTICS_SMBUS MOUSE_PS2_TRACKPOINT MOUSE_SYNAPTICS_USB MPLS MPLS_IPTUNNEL MPLS_ROUTING MPTCP MPTCP_IPV6 MRP MTD MTD_BLKDEVS MTD_BLOCK MTD_BLOCK2MTD MTD_CFI_I1 MTD_CFI_I2 MTD_MAP_BANK_WIDTH_1 MTD_MAP_BANK_WIDTH_2 MTD_MAP_BANK_WIDTH_4 MTD_MTDRAM MTD_PHRAM MTD_SLRAM MUSB_PIO_ONLY ND_BLK ND_BTT ND_CLAIM ND_PFN NETDEVSIM NETFILTER_ADVANCED NETFILTER_FAMILY_ARP NETFILTER_FAMILY_BRIDGE NETFILTER_NETLINK_ACCT NETFILTER_NETLINK_GLUE_CT NETFILTER_NETLINK_OSF NETFILTER_NETLINK_QUEUE NETFILTER_SYNPROXY NETFILTER_XT_CONNMARK NETFILTER_XT_MATCH_BPF NETFILTER_XT_MATCH_CGROUP NETFILTER_XT_MATCH_CLUSTER NETFILTER_XT_MATCH_COMMENT NETFILTER_XT_MATCH_CONNBYTES NETFILTER_XT_MATCH_CONNLABEL NETFILTER_XT_MATCH_CONNLIMIT NETFILTER_XT_MATCH_CONNMARK NETFILTER_XT_MATCH_CPU NETFILTER_XT_MATCH_DCCP NETFILTER_XT_MATCH_DEVGROUP NETFILTER_XT_MATCH_DSCP NETFILTER_XT_MATCH_ECN NETFILTER_XT_MATCH_ESP NETFILTER_XT_MATCH_HASHLIMIT NETFILTER_XT_MATCH_HELPER NETFILTER_XT_MATCH_HL NETFILTER_XT_MATCH_IPCOMP NETFILTER_XT_MATCH_IPRANGE NETFILTER_XT_MATCH_IPVS NETFILTER_XT_MATCH_L2TP NETFILTER_XT_MATCH_LENGTH NETFILTER_XT_MATCH_LIMIT NETFILTER_XT_MATCH_MAC NETFILTER_XT_MATCH_MARK NETFILTER_XT_MATCH_MULTIPORT NETFILTER_XT_MATCH_NFACCT NETFILTER_XT_MATCH_OSF NETFILTER_XT_MATCH_OWNER NETFILTER_XT_MATCH_PHYSDEV NETFILTER_XT_MATCH_PKTTYPE NETFILTER_XT_MATCH_QUOTA NETFILTER_XT_MATCH_RATEEST NETFILTER_XT_MATCH_REALM NETFILTER_XT_MATCH_RECENT NETFILTER_XT_MATCH_SCTP NETFILTER_XT_MATCH_SOCKET NETFILTER_XT_MATCH_STATISTIC NETFILTER_XT_MATCH_STRING NETFILTER_XT_MATCH_TCPMSS NETFILTER_XT_MATCH_TIME NETFILTER_XT_MATCH_U32 NETFILTER_XT_SET NETFILTER_XT_TARGET_AUDIT NETFILTER_XT_TARGET_CHECKSUM NETFILTER_XT_TARGET_CLASSIFY NETFILTER_XT_TARGET_CONNMARK NETFILTER_XT_TARGET_CT NETFILTER_XT_TARGET_DSCP NETFILTER_XT_TARGET_HL NETFILTER_XT_TARGET_HMARK NETFILTER_XT_TARGET_IDLETIMER NETFILTER_XT_TARGET_LED NETFILTER_XT_TARGET_MARK NETFILTER_XT_TARGET_NETMAP NETFILTER_XT_TARGET_NFQUEUE NETFILTER_XT_TARGET_NOTRACK NETFILTER_XT_TARGET_RATEEST NETFILTER_XT_TARGET_REDIRECT NETFILTER_XT_TARGET_TCPOPTSTRIP NETFILTER_XT_TARGET_TEE NETFILTER_XT_TARGET_TPROXY NETFILTER_XT_TARGET_TRACE NETFS_SUPPORT NETLABEL NETLINK_DIAG NETROM NET_9P_RDMA NET_ACT_BPF NET_ACT_CONNMARK NET_ACT_CSUM NET_ACT_CT NET_ACT_CTINFO NET_ACT_GATE NET_ACT_IFE NET_ACT_IPT NET_ACT_MPLS NET_ACT_NAT NET_ACT_PEDIT NET_ACT_POLICE NET_ACT_SAMPLE NET_ACT_SIMP NET_ACT_SKBEDIT NET_ACT_SKBMOD NET_ACT_TUNNEL_KEY NET_ACT_VLAN NET_CLS_BASIC NET_CLS_BPF NET_CLS_CGROUP NET_CLS_FLOW NET_CLS_FLOWER NET_CLS_FW NET_CLS_MATCHALL NET_CLS_ROUTE4 NET_DEVLINK NET_DROP_MONITOR NET_DSA NET_DSA_TAG_BRCM NET_DSA_TAG_BRCM_COMMON NET_DSA_TAG_BRCM_PREPEND NET_DSA_TAG_MTK NET_DSA_TAG_QCA NET_DSA_TAG_RTL4_A NET_EGRESS NET_EMATCH_CANID NET_EMATCH_CMP NET_EMATCH_IPSET NET_EMATCH_IPT NET_EMATCH_META NET_EMATCH_NBYTE NET_EMATCH_TEXT NET_EMATCH_U32 NET_FC NET_FOU NET_FOU_IP_TUNNELS NET_IFE NET_IFE_SKBMARK NET_IFE_SKBPRIO NET_IFE_SKBTCINDEX NET_IPGRE NET_IPGRE_BROADCAST NET_IPGRE_DEMUX NET_IPIP NET_IPVTI NET_KEY NET_KEY_MIGRATE NET_L3_MASTER_DEV NET_MPLS_GSO NET_NCSI NET_NSH NET_REDIRECT NET_SCH_CAKE NET_SCH_CBS NET_SCH_CHOKE NET_SCH_CODEL NET_SCH_DRR NET_SCH_ETF NET_SCH_ETS NET_SCH_FQ NET_SCH_FQ_CODEL NET_SCH_FQ_PIE NET_SCH_GRED NET_SCH_HFSC NET_SCH_HHF NET_SCH_HTB NET_SCH_INGRESS NET_SCH_MQPRIO NET_SCH_MULTIQ NET_SCH_NETEM NET_SCH_PIE NET_SCH_PLUG NET_SCH_PRIO NET_SCH_QFQ NET_SCH_RED NET_SCH_SFB NET_SCH_SFQ NET_SCH_SKBPRIO NET_SCH_TAPRIO NET_SCH_TBF NET_SCH_TEQL NET_SOCK_MSG NET_SWITCHDEV NET_TC_SKB_EXT NET_TEAM NET_TEAM_MODE_ACTIVEBACKUP NET_TEAM_MODE_BROADCAST NET_TEAM_MODE_LOADBALANCE NET_TEAM_MODE_RANDOM NET_TEAM_MODE_ROUNDROBIN NET_UDP_TUNNEL NET_VRF NFC NFC_DIGITAL NFC_FDP NFC_HCI NFC_MRVL NFC_MRVL_USB NFC_NCI NFC_NCI_UART NFC_PN533 NFC_PN533_USB NFC_PORT100 NFC_SHDLC NFC_SIM NFC_VIRTUAL_NCI NFSD NFSD_BLOCKLAYOUT NFSD_FLEXFILELAYOUT NFSD_PNFS NFSD_SCSILAYOUT NFSD_V3_ACL NFSD_V4 NFSD_V4_2_INTER_SSC NFSD_V4_SECURITY_LABEL NFS_FSCACHE NFS_V4_1 NFS_V4_2 NFS_V4_2_READ_PLUS NFS_V4_2_SSC_HELPER NFS_V4_SECURITY_LABEL NFT_BRIDGE_META NFT_BRIDGE_REJECT NFT_COMPAT NFT_CONNLIMIT NFT_COUNTER NFT_CT NFT_DUP_IPV4 NFT_DUP_IPV6 NFT_DUP_NETDEV NFT_FIB NFT_FIB_INET NFT_FIB_IPV4 NFT_FIB_IPV6 NFT_FIB_NETDEV NFT_FLOW_OFFLOAD NFT_HASH NFT_LIMIT NFT_LOG NFT_MASQ NFT_NAT NFT_NUMGEN NFT_OBJREF NFT_OSF NFT_QUEUE NFT_QUOTA NFT_REDIR NFT_REJECT NFT_REJECT_INET NFT_REJECT_IPV4 NFT_REJECT_IPV6 NFT_REJECT_NETDEV NFT_SOCKET NFT_SYNPROXY NFT_TPROXY NFT_TUNNEL NFT_XFRM NF_CONNTRACK_AMANDA NF_CONNTRACK_BRIDGE NF_CONNTRACK_BROADCAST NF_CONNTRACK_EVENTS NF_CONNTRACK_H323 NF_CONNTRACK_LABELS NF_CONNTRACK_MARK NF_CONNTRACK_NETBIOS_NS NF_CONNTRACK_PPTP NF_CONNTRACK_SANE NF_CONNTRACK_SNMP NF_CONNTRACK_TFTP NF_CONNTRACK_TIMEOUT NF_CONNTRACK_TIMESTAMP NF_CONNTRACK_ZONES NF_CT_NETLINK_HELPER NF_CT_NETLINK_TIMEOUT NF_CT_PROTO_DCCP NF_CT_PROTO_GRE NF_CT_PROTO_SCTP NF_CT_PROTO_UDPLITE NF_DUP_IPV4 NF_DUP_IPV6 NF_DUP_NETDEV NF_FLOW_TABLE NF_FLOW_TABLE_INET NF_FLOW_TABLE_IPV4 NF_FLOW_TABLE_IPV6 NF_NAT_AMANDA NF_NAT_H323 NF_NAT_PPTP NF_NAT_REDIRECT NF_NAT_SNMP_BASIC NF_NAT_TFTP NF_SOCKET_IPV4 NF_SOCKET_IPV6 NF_TABLES NF_TABLES_ARP NF_TABLES_BRIDGE NF_TABLES_INET NF_TABLES_IPV4 NF_TABLES_IPV6 NF_TABLES_NETDEV NF_TPROXY_IPV4 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 NLS_CODEPAGE_737 NLS_CODEPAGE_775 NLS_CODEPAGE_850 NLS_CODEPAGE_852 NLS_CODEPAGE_855 NLS_CODEPAGE_857 NLS_CODEPAGE_860 NLS_CODEPAGE_861 NLS_CODEPAGE_862 NLS_CODEPAGE_863 NLS_CODEPAGE_864 NLS_CODEPAGE_865 NLS_CODEPAGE_866 PARTITION_ADVANCED PSAMPLE RC_CORE RC_DEVICES RFKILL SPI USB_GADGET USB_MUSB_HDRC VIDEO_DEV VIDEO_V4L2 WAN WATCH_QUEUE WIRELESS WLAN WWAN X25 X86_X32] disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 0c935c049b5c196b83b968c72d348ae6fff83ea2 testing commit 0c935c049b5c196b83b968c72d348ae6fff83ea2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad32c9553100239248f9120a7b9c65d235efefe2ec6896ac4c95ca5bb7e7df39 run #0: crashed: general protection fault in evict run #1: crashed: general protection fault in evict run #2: crashed: KASAN: slab-out-of-bounds Write in diWrite run #3: crashed: KASAN: use-after-free Write in diWrite run #4: crashed: KASAN: use-after-free Write in diWrite run #5: crashed: KASAN: slab-out-of-bounds Write in diWrite run #6: crashed: KASAN: use-after-free Write in diWrite run #7: crashed: KASAN: slab-out-of-bounds Write in diWrite run #8: crashed: KASAN: use-after-free Write in diWrite run #9: crashed: KASAN: use-after-free Write in diWrite representative crash: KASAN: slab-out-of-bounds Write in diWrite, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 2h26m1.658952671s (build: 1h41m50.415122754s, test: 39m26.724797967s) crash still not fixed or there were kernel test errors commit msg: Linux 5.15.179 crash: KASAN: slab-out-of-bounds Write in diWrite loop2: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in diWrite+0xaaa/0x1390 fs/jfs/jfs_imap.c:753 Write of size 32 at addr ffff88811704b0c0 by task syz.2.16/4341 CPU: 0 PID: 4341 Comm: syz.2.16 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8e/0xdd lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x6c/0x309 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:451 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 memcpy+0x39/0x60 mm/kasan/shadow.c:66 diWrite+0xaaa/0x1390 fs/jfs/jfs_imap.c:753 txCommit+0x6b7/0x4110 fs/jfs/jfs_txnmgr.c:1255 add_missing_indices fs/jfs/jfs_dtree.c:2959 [inline] jfs_readdir+0x28e0/0x4230 fs/jfs/jfs_dtree.c:3315 iterate_dir+0x1f9/0x700 fs/readdir.c:67 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __x64_sys_getdents64+0x13a/0x2a0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fece988dd29 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:00007fece9307038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fece9a7dfa0 RCX: 00007fece988dd29 RDX: 000000000000009e RSI: 0000000020000280 RDI: 0000000000000004 RBP: 00007fece9909b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fece9a7dfa0 R15: 00007ffe1bfa95d8 Allocated by task 4200: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x61/0x80 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x211/0x310 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_file_alloc security/security.c:574 [inline] security_file_alloc+0x34/0x170 security/security.c:1530 __alloc_file+0xd9/0x280 fs/file_table.c:137 alloc_empty_file+0x6d/0x170 fs/file_table.c:181 path_openat+0xe1/0x2890 fs/namei.c:3728 do_filp_open+0x1aa/0x400 fs/namei.c:3769 do_sys_openat2+0x16d/0x4d0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Freed by task 4200: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track+0x1c/0x30 mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:360 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xe0/0x110 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook mm/slub.c:1731 [inline] slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x7e/0x450 mm/slub.c:3515 security_file_free+0xa4/0xd0 security/security.c:1549 file_free fs/file_table.c:55 [inline] __fput+0x3b2/0x9f0 fs/file_table.c:324 task_work_run+0xdd/0x190 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xab2/0x2680 kernel/exit.c:874 do_group_exit+0x125/0x310 kernel/exit.c:996 __do_sys_exit_group kernel/exit.c:1007 [inline] __se_sys_exit_group kernel/exit.c:1005 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:1005 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88811704b070 which belongs to the cache lsm_file_cache of size 80 The buggy address is located 0 bytes to the right of 80-byte region [ffff88811704b070, ffff88811704b0c0) The buggy address belongs to the page: page:ffffea00045c12c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11704b flags: 0x200000000000200(slab|node=0|zone=2) raw: 0200000000000200 ffffea000477ac40 0000000f0000000f ffff888100189000 raw: 0000000000000000 0000000000240024 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 2901, ts 79856962444, free_ts 79855699697 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1309/0x2e30 mm/page_alloc.c:4192 __alloc_pages+0x2b3/0x590 mm/page_alloc.c:5466 alloc_pages+0x16f/0x3d0 mm/mempolicy.c:2185 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab+0x2eb/0x430 mm/slub.c:1912 new_slab mm/slub.c:1975 [inline] ___slab_alloc+0xb1c/0xf80 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x2d7/0x310 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_file_alloc security/security.c:574 [inline] security_file_alloc+0x34/0x170 security/security.c:1530 __alloc_file+0xd9/0x280 fs/file_table.c:137 alloc_empty_file+0x6d/0x170 fs/file_table.c:181 alloc_file+0x59/0x590 fs/file_table.c:223 alloc_file_pseudo+0x165/0x250 fs/file_table.c:263 sock_alloc_file+0x4f/0x190 net/socket.c:462 sock_map_fd net/socket.c:486 [inline] __sys_socket+0x13d/0x200 net/socket.c:1588 __do_sys_socket net/socket.c:1593 [inline] __se_sys_socket net/socket.c:1591 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1591 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare+0x34e/0x730 mm/page_alloc.c:1391 free_unref_page_prepare mm/page_alloc.c:3317 [inline] free_unref_page+0x19/0x4b0 mm/page_alloc.c:3396 mm_free_pgd kernel/fork.c:653 [inline] __mmdrop+0x51/0x2c0 kernel/fork.c:704 mmdrop include/linux/sched/mm.h:49 [inline] finish_task_switch.isra.0+0x49b/0x680 kernel/sched/core.c:4928 context_switch kernel/sched/core.c:5032 [inline] __schedule+0x895/0x1d80 kernel/sched/core.c:6375 schedule+0xff/0x210 kernel/sched/core.c:6458 schedule_timeout+0x1db/0x260 kernel/time/timer.c:1890 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion_killable+0x1a1/0x300 kernel/sched/completion.c:243 call_usermodehelper_exec+0x3ad/0x4c0 kernel/umh.c:440 call_modprobe kernel/kmod.c:98 [inline] __request_module+0x414/0x8c0 kernel/kmod.c:170 dev_load+0xc3/0x100 net/core/dev_ioctl.c:448 dev_ioctl+0x2d4/0xe20 net/core/dev_ioctl.c:511 sock_do_ioctl+0x15a/0x230 net/socket.c:1154 sock_ioctl+0x283/0x5f0 net/socket.c:1257 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 Memory state around the buggy address: ffff88811704af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88811704b000: fa fb fb fb fb fb fb fb fb fb fc fc fc fc fa fb >ffff88811704b080: fb fb fb fb fb fb fb fb fc fc fc fc fa fb fb fb ^ ffff88811704b100: fb fb fb fb fb fb fc fc fc fc fa fb fb fb fb fb ffff88811704b180: fb fb fb fb fc fc fc fc fa fb fb fb fb fb fb fb ==================================================================