ci2 starts bisection 2025-02-14 01:30:43.626720939 +0000 UTC m=+118.427191710 bisecting fixing commit since aa4cd140bba57b7064b4c7a7141bebd336d32087 building syzkaller on 2a40360c27f1cd827c9fa0183aa402ef505d07db ensuring issue is reproducible on original commit aa4cd140bba57b7064b4c7a7141bebd336d32087 testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 296c5e86715b6cc44e07df91dead60fd1116a52d39804c0cae4f5956cd43751d all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] check whether we can drop unnecessary instrumentation disabling configs for [LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 522c03305104dc290a94b99578b0c544aa930c0351860d96a3a4eaedf37e9c07 run #0: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #1: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #2: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #3: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #4: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #5: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #6: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #7: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #8: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #9: basic kernel testing failed: no output from test machine representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK BUG KASAN LOCKDEP], they are not needed kconfig minimization: base=3823 full=7455 leaves diff=1985 split chunks (needed=false): <1985> split chunk #0 of len 1985 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK BUG], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 010c005f28a8153be02968d1ff9bacba9662620269e6cb00417d61fa7661b05d all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fe0a380a80cfb6019e0d39c7956e99633541e95acd2bcfa1a374f91b35a1b691 run #0: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #1: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #2: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #3: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #4: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #5: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #6: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #7: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #8: crashed: UBSAN: array-index-out-of-bounds in dbNextAG run #9: crashed: no output from test machine representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f447887200b16ecc44126d8702c5af7dbc6249ae8f05d96e4c728fe86bed477a all runs: OK false negative chance: 0.000 testing without sub-chunk 4/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbb0a29d18081a788f33b49376c5fff466f3be1015efdaacd131d276d22e1a1f all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit aa4cd140bba57b7064b4c7a7141bebd336d32087 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49b8ce00536c73e3f89077f080125e278836e85d1ba6d1e58cc398abf2b87de3 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] the chunk can be dropped minimized to 397 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 IP_VS_PROTO_AH IP_VS_PROTO_AH_ESP IP_VS_PROTO_ESP IP_VS_PROTO_SCTP IP_VS_RR IP_VS_SED IP_VS_SH IP_VS_TWOS IP_VS_WLC IP_VS_WRR IRQ_BYPASS_MANAGER IRQ_POLL IR_IGORPLUGUSB IR_IGUANA IR_IMON IR_MCEUSB IR_REDRAT3 IR_STREAMZAP 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_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_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 LIBCRC32C 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 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 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 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_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 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_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_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_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_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_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 PARTITION_ADVANCED PSAMPLE RC_CORE RC_DEVICES RFKILL SPI USB_GADGET USB_MUSB_HDRC VIDEO_DEV WAN WATCH_QUEUE WIRELESS WLAN WWAN X25 X86_X32_ABI] disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed determining the merge base between aa4cd140bba57b7064b4c7a7141bebd336d32087 and 68763b29e0a6441f57f9ee652bbf8e7bc59183e5 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7c6766b8e3139206ae8f0124a627a718d1904c2c6e401133801f030ae7b162f4 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] testing current HEAD 68763b29e0a6441f57f9ee652bbf8e7bc59183e5 testing commit 68763b29e0a6441f57f9ee652bbf8e7bc59183e5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d1741870fb435fbb7aa2777b2c233562d93b532fe6fb731338e1eb188a173e8 all runs: OK false negative chance: 0.000 # git bisect start 68763b29e0a6441f57f9ee652bbf8e7bc59183e5 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 98503 revisions left to test after this (roughly 17 steps) [e63c1822ac32a865dd02a18107fc933fd7b30f6f] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit e63c1822ac32a865dd02a18107fc933fd7b30f6f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2afc5103fafbd1edae16dc6e5c5397d1bdd51db89613abe2238097aab3938e1f all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good e63c1822ac32a865dd02a18107fc933fd7b30f6f Bisecting: 49279 revisions left to test after this (roughly 16 steps) [e0d97b04eceb637a476a2d0233bc7721611a9cb2] Merge tag 'backlight-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit e0d97b04eceb637a476a2d0233bc7721611a9cb2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c55656dde0769dde4e873bf729e94bb82b054c4a72c5395eadb502e156a21a2 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good e0d97b04eceb637a476a2d0233bc7721611a9cb2 Bisecting: 24626 revisions left to test after this (roughly 15 steps) [5516200c466f92954551406ea641376963c43a92] Merge tag 'v6.12-rc7' into __tmp-hansg-linux-tags_media_atomisp_6_13_1 determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit 5516200c466f92954551406ea641376963c43a92 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 25ff3faf324a8b1a7e9512d1c8e80f719215cd83097a3f0688547cdb2da1b59b all runs: OK false negative chance: 0.000 # git bisect bad 5516200c466f92954551406ea641376963c43a92 Bisecting: 12288 revisions left to test after this (roughly 14 steps) [7a40974fd0efa3698de4c6d1d0ee0436bcc4445d] Merge tag 'for-6.12-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit 7a40974fd0efa3698de4c6d1d0ee0436bcc4445d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9289f74d50bb18a28435a5d208efb630e6c41f666c44ef28772b59e141f11b25 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 7a40974fd0efa3698de4c6d1d0ee0436bcc4445d Bisecting: 6139 revisions left to test after this (roughly 13 steps) [88264981f2082248e892a706b2c5004650faac54] Merge tag 'sched_ext-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit 88264981f2082248e892a706b2c5004650faac54 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9155c5ca5d6177316ca4f44c861907921fd63fa9314ba67f08c119669941a5fa all runs: OK false negative chance: 0.000 # git bisect bad 88264981f2082248e892a706b2c5004650faac54 Bisecting: 3050 revisions left to test after this (roughly 12 steps) [8751b21ad9dc33f31dff20297dcae2063cbbcfc9] Merge tag 'xfs-6.12-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 8751b21ad9dc33f31dff20297dcae2063cbbcfc9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fcd874c279297ba3eb073b776c2b25ffefd1b4e22e343eb002de4e0bd985b6d9 all runs: OK false negative chance: 0.000 # git bisect bad 8751b21ad9dc33f31dff20297dcae2063cbbcfc9 Bisecting: 1557 revisions left to test after this (roughly 11 steps) [b8979c6b4d0d1b36e94f5bc483fd86e38107e554] Merge tag 'soc-drivers-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit b8979c6b4d0d1b36e94f5bc483fd86e38107e554 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26f3246bc1b9451d80a415b08527658c27469ec54b4d89f97ca6077a40080a1a all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good b8979c6b4d0d1b36e94f5bc483fd86e38107e554 Bisecting: 733 revisions left to test after this (roughly 10 steps) [067610ebaaec53809794807842a2fcf5f1f5b9eb] Merge tag 'rcu.release.v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux determine whether the revision contains the guilty commit revision b8979c6b4d0d1b36e94f5bc483fd86e38107e554 crashed and is reachable testing commit 067610ebaaec53809794807842a2fcf5f1f5b9eb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7035a5ebc68a41cd9426894128d6a79ed59908f59b0629aac6b03953cf030d62 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 067610ebaaec53809794807842a2fcf5f1f5b9eb Bisecting: 403 revisions left to test after this (roughly 9 steps) [39b3f4e0db5d85aa82678d9e7bc59f5e56667e2e] Merge tag 'hardening-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux determine whether the revision contains the guilty commit revision 067610ebaaec53809794807842a2fcf5f1f5b9eb crashed and is reachable testing commit 39b3f4e0db5d85aa82678d9e7bc59f5e56667e2e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: daeeaa92eee8858707b3245085163cb1a2c80617f6400c1dbf613afb0dc96ddb all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 39b3f4e0db5d85aa82678d9e7bc59f5e56667e2e Bisecting: 203 revisions left to test after this (roughly 8 steps) [941c122da5c8355335dc16011c1c291a32cd1118] Merge tag 'perf-urgent-2024-09-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit 941c122da5c8355335dc16011c1c291a32cd1118 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 39364f292d671f1bdc3247b6f2b125cb2fcd15ab76e0730f13c082e3c9a101d7 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 941c122da5c8355335dc16011c1c291a32cd1118 Bisecting: 99 revisions left to test after this (roughly 7 steps) [cc3804443b4b367aba9eed58bb98959376bce1d1] Merge tag 'jfs-6.12' of github.com:kleikamp/linux-shaggy determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit cc3804443b4b367aba9eed58bb98959376bce1d1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac8e3f09742b2bef94b19c4a619467454699d64759316546cd6ed6c96d95d041 all runs: OK false negative chance: 0.000 # git bisect bad cc3804443b4b367aba9eed58bb98959376bce1d1 Bisecting: 56 revisions left to test after this (roughly 6 steps) [210860e7f7337e47e77577fa5bb168767e2d8a1e] selftests: vDSO: check cpu caps before running chacha test determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit 210860e7f7337e47e77577fa5bb168767e2d8a1e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1666e8010f00374d9b54adc1192537e74182820f98cc2aeedd293d08eeac81e6 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 210860e7f7337e47e77577fa5bb168767e2d8a1e Bisecting: 28 revisions left to test after this (roughly 5 steps) [62c0b1061593d7012292f781f11145b2d46f43ab] perf/core: Fix small negative period being ignored determine whether the revision contains the guilty commit revision e0d97b04eceb637a476a2d0233bc7721611a9cb2 crashed and is reachable testing commit 62c0b1061593d7012292f781f11145b2d46f43ab gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 20ff9b0cf3d86f01e74d7d8978d627c645ea94c1c683d84828814878745355c0 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 62c0b1061593d7012292f781f11145b2d46f43ab Bisecting: 14 revisions left to test after this (roughly 4 steps) [5e645f31139183ac9a282238da18ca6bbc1c6f4a] Merge branch 'perf/urgent' into perf/core, to pick up fixes determine whether the revision contains the guilty commit revision e0d97b04eceb637a476a2d0233bc7721611a9cb2 crashed and is reachable testing commit 5e645f31139183ac9a282238da18ca6bbc1c6f4a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ae12b726f382e80c86699c19e96e64ee95f55f8872360a20d6a736b00122ab9 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 5e645f31139183ac9a282238da18ca6bbc1c6f4a Bisecting: 5 revisions left to test after this (roughly 3 steps) [45d986d11313ff2d8ed2cf6a34e2aefdc4639a99] Merge tag 'ovl-update-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs determine whether the revision contains the guilty commit revision 067610ebaaec53809794807842a2fcf5f1f5b9eb crashed and is reachable testing commit 45d986d11313ff2d8ed2cf6a34e2aefdc4639a99 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0cb6782f953c6d3bc1752633424db9e5d1486b6a5e7b31a72f2e4e19cc112fa all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good 45d986d11313ff2d8ed2cf6a34e2aefdc4639a99 Bisecting: 2 revisions left to test after this (roughly 2 steps) [d6c1b3599b2feb5c7291f5ac3a36e5fa7cedb234] jfs: Fix uaf in dbFreeBits determine whether the revision contains the guilty commit revision e0d97b04eceb637a476a2d0233bc7721611a9cb2 crashed and is reachable testing commit d6c1b3599b2feb5c7291f5ac3a36e5fa7cedb234 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d11ca763066919493f7cc66ad6050b8881569954b92468bcce989e2090ef6383 all runs: OK false negative chance: 0.000 # git bisect bad d6c1b3599b2feb5c7291f5ac3a36e5fa7cedb234 Bisecting: 0 revisions left to test after this (roughly 1 step) [e63866a475562810500ea7f784099bfe341e761a] jfs: fix out-of-bounds in dbNextAG() and diAlloc() determine whether the revision contains the guilty commit revision e63c1822ac32a865dd02a18107fc933fd7b30f6f crashed and is reachable testing commit e63866a475562810500ea7f784099bfe341e761a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e757a2acb4741a4b97c899d37cfd77566f9f626d98b02867bd13d2733515dad4 all runs: OK false negative chance: 0.000 # git bisect bad e63866a475562810500ea7f784099bfe341e761a Bisecting: 0 revisions left to test after this (roughly 0 steps) [b0b2fc815e514221f01384f39fbfbff65d897e1c] jfs: UBSAN: shift-out-of-bounds in dbFindBits determine whether the revision contains the guilty commit revision e0d97b04eceb637a476a2d0233bc7721611a9cb2 crashed and is reachable testing commit b0b2fc815e514221f01384f39fbfbff65d897e1c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0c4bf82b1a6cf5e27af6beca24365d0f065a807ca65c16714de6cd476b6d5f3 all runs: crashed: UBSAN: array-index-out-of-bounds in dbNextAG representative crash: UBSAN: array-index-out-of-bounds in dbNextAG, types: [UBSAN] # git bisect good b0b2fc815e514221f01384f39fbfbff65d897e1c e63866a475562810500ea7f784099bfe341e761a is the first bad commit commit e63866a475562810500ea7f784099bfe341e761a Author: Jeongjun Park Date: Mon Aug 19 13:05:46 2024 +0900 jfs: fix out-of-bounds in dbNextAG() and diAlloc() In dbNextAG() , there is no check for the case where bmp->db_numag is greater or same than MAXAG due to a polluted image, which causes an out-of-bounds. Therefore, a bounds check should be added in dbMount(). And in dbNextAG(), a check for the case where agpref is greater than bmp->db_numag should be added, so an out-of-bounds exception should be prevented. Additionally, a check for the case where agno is greater or same than MAXAG should be added in diAlloc() to prevent out-of-bounds. Reported-by: Jeongjun Park Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Jeongjun Park Signed-off-by: Dave Kleikamp fs/jfs/jfs_dmap.c | 4 ++-- fs/jfs/jfs_imap.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) accumulated error probability: 0.00 culprit signature: e757a2acb4741a4b97c899d37cfd77566f9f626d98b02867bd13d2733515dad4 parent signature: c0c4bf82b1a6cf5e27af6beca24365d0f065a807ca65c16714de6cd476b6d5f3 revisions tested: 27, total time: 7h31m33.758270903s (build: 2h28m28.734179491s, test: 2h37m25.199660469s) first good commit: e63866a475562810500ea7f784099bfe341e761a jfs: fix out-of-bounds in dbNextAG() and diAlloc() recipients (to): ["aha310510@gmail.com" "dave.kleikamp@oracle.com"] recipients (cc): []