ci starts bisection 2024-02-20 15:44:47.548900315 +0000 UTC m=+95306.972575100 bisecting cause commit starting from 74293ea1c4db62cb969e741fbfd479a34d935024 building syzkaller on 3af7dd651dc78ce0784bef793d14dd2f72d07138 ensuring issue is reproducible on original commit 74293ea1c4db62cb969e741fbfd479a34d935024 testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2420817a52c61037d641f00cdb6e2101a865b19e514c4d84c80592eb07e45d2e all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 84235f579f5be42e56a0163f090ed0dd44b38d7b5a46da97d0e8ca1c25cd5b67 run #0: failed: failed to run binary in VM: broken console: Permission denied (publickey) run #1: crashed: BUG: bad usercopy in raw_getsockopt run #2: crashed: BUG: bad usercopy in raw_getsockopt run #3: crashed: BUG: bad usercopy in raw_getsockopt run #4: crashed: BUG: bad usercopy in raw_getsockopt run #5: crashed: BUG: bad usercopy in raw_getsockopt run #6: crashed: BUG: bad usercopy in raw_getsockopt run #7: crashed: BUG: bad usercopy in raw_getsockopt run #8: crashed: BUG: bad usercopy in raw_getsockopt run #9: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3937 full=7969 leaves diff=2020 split chunks (needed=false): <2020> split chunk #0 of len 2020 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5816a04897a118461de4b2e1513b12432bf7abac5fb431621c378fbdba0afb28 all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6807874f4542d8e97587e4fdec214ae935d76d17ea1fb25cf383469af273c43b all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e4b23761935ebecf663494c7a30c1f946009b7929a9a81c2eca1c2b2711e0f94 all runs: OK false negative chance: 0.000 testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1419dad88f61781997c08d34226a1fbdc54c2b381d4ee78adcba02b10a46ab78 all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 74293ea1c4db62cb969e741fbfd479a34d935024 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b13b6e780c442cfe66a49a2aa070827b3f7296768e66b499ff58bd9c0427c77 all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] the chunk can be dropped minimized to 404 configs; suspects: [AX25 BRIDGE BRIDGE_NETFILTER CAN CFG80211 CHECKPOINT_RESTORE DVB_CORE FB_CORE 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_IPV6 IP_VS_LBLC IP_VS_LBLCR IP_VS_LC IP_VS_MH IP_VS_NFCT IP_VS_NQ IP_VS_OVF IP_VS_PE_SIP IP_VS_PROTO_AH IP_VS_PROTO_AH_ESP IP_VS_PROTO_ESP IP_VS_PROTO_SCTP IP_VS_PROTO_UDP 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_COMMON KVM_COMPAT KVM_GENERIC_DIRTYLOG_READ_PROTECT KVM_GENERIC_HARDWARE_ENABLING KVM_GENERIC_MEMORY_ATTRIBUTES KVM_GENERIC_MMU_NOTIFIER KVM_GENERIC_PRIVATE_MEM KVM_HYPERV KVM_MMIO KVM_PRIVATE_MEM KVM_PROVE_MMU KVM_SW_PROTECTED_VM 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 LRU_GEN LRU_GEN_ENABLED LRU_GEN_WALKS_MMU LWTUNNEL LWTUNNEL_BPF LZ4HC_COMPRESS LZ4_COMPRESS MAC80211 MAC80211_HAS_RC MAC80211_HWSIM MAC80211_MESH MAC80211_RC_DEFAULT_MINSTREL MAC80211_RC_MINSTREL MACSEC MACVLAN MACVTAP MAC_PARTITION MAPPING_DIRTY_HELPERS MD_RAID0 MD_RAID1 MD_RAID10 MD_RAID456 MEDIA_ANALOG_TV_SUPPORT MEDIA_ATTACH MEDIA_CONTROLLER MEDIA_CONTROLLER_DVB 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_BPF_LINK NETFILTER_FAMILY_ARP NETFILTER_FAMILY_BRIDGE NETFILTER_NETLINK_ACCT NETFILTER_NETLINK_GLUE_CT NETFILTER_NETLINK_OSF NETFILTER_NETLINK_QUEUE NETFILTER_SYNPROXY NETFILTER_XTABLES_COMPAT 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_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_MQPRIO_LIB 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_OVS NF_CONNTRACK_PPTP NF_CONNTRACK_SANE 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_TABLES NF_TABLES_BRIDGE NF_TABLES_INET NF_TABLES_IPV4 NF_TABLES_IPV6 NF_TABLES_NETDEV 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 [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed picked [v6.7 v6.6 v6.5 v6.3 v6.1 v5.19 v5.17 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 30 release tags testing release v6.7 testing commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d253b765c3f5118077f0b92fb53a9fc904ddadbf5c4334bf02978af8104785a7 all runs: OK false negative chance: 0.000 # git bisect start 74293ea1c4db62cb969e741fbfd479a34d935024 0dd3ee31125508cd67f7e7172247f05b7fd1753a Bisecting: 6695 revisions left to test after this (roughly 13 steps) [cf65598d5909acf5e7b7dc9e21786e386356bc81] Merge tag 'drm-next-2024-01-10' of git://anongit.freedesktop.org/drm/drm testing commit cf65598d5909acf5e7b7dc9e21786e386356bc81 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c3e5acee2574c00b8a356292d6d6d29aff8f37bf3948616dd2a93cd144d4358c all runs: OK false negative chance: 0.000 # git bisect good cf65598d5909acf5e7b7dc9e21786e386356bc81 Bisecting: 3347 revisions left to test after this (roughly 12 steps) [0b7359ccddaaa844044c62000734f0cb92ab6310] Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost testing commit 0b7359ccddaaa844044c62000734f0cb92ab6310 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5cb4481bc09c8002d8c7b80e7c445e7cdf574435d867080d0a443c81abbf0ac9 all runs: OK false negative chance: 0.000 # git bisect good 0b7359ccddaaa844044c62000734f0cb92ab6310 Bisecting: 1674 revisions left to test after this (roughly 11 steps) [644c64318de0df5f4ea9f00e4b8cc262b343a93f] Merge branch 'ena-driver-changes' testing commit 644c64318de0df5f4ea9f00e4b8cc262b343a93f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57a2eca70f28f469c26be7388dfcf5df9b5079b2be26ac470470ac45be2b4ea4 all runs: OK false negative chance: 0.000 # git bisect good 644c64318de0df5f4ea9f00e4b8cc262b343a93f Bisecting: 806 revisions left to test after this (roughly 10 steps) [1f719a2f3fa67665578c759ac34fd3d3690c1a20] Merge tag 'net-6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 1f719a2f3fa67665578c759ac34fd3d3690c1a20 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57c83aac6f9b86b7952188d93cfb71b608e3788cec912b0c4970de5010fba820 all runs: OK false negative chance: 0.000 # git bisect good 1f719a2f3fa67665578c759ac34fd3d3690c1a20 Bisecting: 419 revisions left to test after this (roughly 9 steps) [dfe7f12788f5428d8bc16e86eedcfa889a3e3b29] Merge branch 'net-ipv6-addrconf-ensure-that-temporary-addresses-preferred-lifetimes-are-long-enough' testing commit dfe7f12788f5428d8bc16e86eedcfa889a3e3b29 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 61ac29553ddcef0365728fa351695f0d77b13ef35d4048e9cf919c7dfafcc113 all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] # git bisect bad dfe7f12788f5428d8bc16e86eedcfa889a3e3b29 Bisecting: 191 revisions left to test after this (roughly 8 steps) [fd0bb2c7ccd93ae308ca1317c04765b26e88e3a1] Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue testing commit fd0bb2c7ccd93ae308ca1317c04765b26e88e3a1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 901aade58fbe3fff35221e609d8e8e1411abb9d9c3c57f09e705bd8b79039d71 all runs: OK false negative chance: 0.000 # git bisect good fd0bb2c7ccd93ae308ca1317c04765b26e88e3a1 Bisecting: 95 revisions left to test after this (roughly 7 steps) [1ebb85f9c03de0b66c334de219f224159e24e549] netfilter: conntrack: expedite rcu in nf_conntrack_cleanup_net_list testing commit 1ebb85f9c03de0b66c334de219f224159e24e549 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f03c96105ae542fc75fd85f15d167912dee5434baf34bbd6d7b5013aa21cc99 all runs: OK false negative chance: 0.000 # git bisect good 1ebb85f9c03de0b66c334de219f224159e24e549 Bisecting: 39 revisions left to test after this (roughly 6 steps) [e1a00373e1305578cd09526aa056940409e6b877] Merge tag 'linux-can-next-for-6.9-20240213' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next testing commit e1a00373e1305578cd09526aa056940409e6b877 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e1efed2ae635d936cfacef44f04d32f99dff1e27bd7abba9b83c5953861a8f5e all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] # git bisect bad e1a00373e1305578cd09526aa056940409e6b877 Bisecting: 27 revisions left to test after this (roughly 5 steps) [27accb3cc08a0ec4e348356774042d5fa5f30cce] veth: rely on skb_pp_cow_data utility routine testing commit 27accb3cc08a0ec4e348356774042d5fa5f30cce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac2d411f5a60383c55a24caafc13580f976e6d9b8d4aba6cf92c9220db42c03a all runs: OK false negative chance: 0.000 # git bisect good 27accb3cc08a0ec4e348356774042d5fa5f30cce Bisecting: 13 revisions left to test after this (roughly 4 steps) [80c5bac02a820dc569e38e102456ec4b34f6f607] can: m_can: Cache tx putidx testing commit 80c5bac02a820dc569e38e102456ec4b34f6f607 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 395629aa85aebe91babc0ac7136080deeac4dc5afb7a602322d4d81579accda2 all runs: OK false negative chance: 0.000 # git bisect good 80c5bac02a820dc569e38e102456ec4b34f6f607 Bisecting: 6 revisions left to test after this (roughly 3 steps) [7af9682d9eab968afe3293d0cde8f43d7bf4e622] can: change can network drivers maintainer testing commit 7af9682d9eab968afe3293d0cde8f43d7bf4e622 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4f46671ae3f38cac5a5acc8259901324c02cc85b413856b4a26cd47d08efdf65 all runs: OK false negative chance: 0.000 # git bisect good 7af9682d9eab968afe3293d0cde8f43d7bf4e622 Bisecting: 3 revisions left to test after this (roughly 2 steps) [383de5664c87abe097d6369d18305c3a6e559bb2] can: softing: remove redundant NULL check testing commit 383de5664c87abe097d6369d18305c3a6e559bb2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd03c70d818b6095b87e79610f1dc7dfa15c387c1421ecf50fdce6a5150e8c79 all runs: OK false negative chance: 0.000 # git bisect good 383de5664c87abe097d6369d18305c3a6e559bb2 Bisecting: 1 revision left to test after this (roughly 1 step) [73b8f5015889d4b5fbd885fa310ad8905fe50e4f] MAINTAINERS: can: xilinx_can: remove Naga Sureshkumar Relli testing commit 73b8f5015889d4b5fbd885fa310ad8905fe50e4f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b807266f11e6bb745c31c43da6463325d3247389ea5f069eaeab1a352323f6ff all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] # git bisect bad 73b8f5015889d4b5fbd885fa310ad8905fe50e4f Bisecting: 0 revisions left to test after this (roughly 0 steps) [c83c22ec1493c0b7cc77327bedbd387e295872b6] can: canxl: add virtual CAN network identifier support testing commit c83c22ec1493c0b7cc77327bedbd387e295872b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ac8c82063220c4c90120f33f6e7e8c3bd0f1c1a596639425281b787c3d11cc7 all runs: crashed: BUG: bad usercopy in raw_getsockopt representative crash: BUG: bad usercopy in raw_getsockopt, types: [BUG] # git bisect bad c83c22ec1493c0b7cc77327bedbd387e295872b6 c83c22ec1493c0b7cc77327bedbd387e295872b6 is the first bad commit commit c83c22ec1493c0b7cc77327bedbd387e295872b6 Author: Oliver Hartkopp Date: Mon Feb 12 22:35:50 2024 +0100 can: canxl: add virtual CAN network identifier support CAN XL data frames contain an 8-bit virtual CAN network identifier (VCID). A VCID value of zero represents an 'untagged' CAN XL frame. To receive and send these optional VCIDs via CAN_RAW sockets a new socket option CAN_RAW_XL_VCID_OPTS is introduced to define/access VCID content: - tx: set the outgoing VCID value by the kernel (one fixed 8-bit value) - tx: pass through VCID values from the user space (e.g. for traffic replay) - rx: apply VCID receive filter (value/mask) to be passed to the user space With the 'tx pass through' option CAN_RAW_XL_VCID_TX_PASS all valid VCID values can be sent, e.g. to replay full qualified CAN XL traffic. The VCID value provided for the CAN_RAW_XL_VCID_TX_SET option will override the VCID value in the struct canxl_frame.prio defined for CAN_RAW_XL_VCID_TX_PASS when both flags are set. With a rx_vcid_mask of zero all possible VCID values (0x00 - 0xFF) are passed to the user space when the CAN_RAW_XL_VCID_RX_FILTER flag is set. Without this flag only untagged CAN XL frames (VCID = 0x00) are delivered to the user space (default). The 8-bit VCID is stored inside the CAN XL prio element (only in CAN XL frames!) to not interfere with other CAN content or the CAN filters provided by the CAN_RAW sockets and kernel infrastruture. Signed-off-by: Oliver Hartkopp Link: https://lore.kernel.org/all/20240212213550.18516-1-socketcan@hartkopp.net Signed-off-by: Marc Kleine-Budde include/uapi/linux/can.h | 9 ++++- include/uapi/linux/can/raw.h | 16 ++++++++ net/can/af_can.c | 2 + net/can/raw.c | 93 ++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 110 insertions(+), 10 deletions(-) accumulated error probability: 0.00 culprit signature: 5ac8c82063220c4c90120f33f6e7e8c3bd0f1c1a596639425281b787c3d11cc7 parent signature: cd03c70d818b6095b87e79610f1dc7dfa15c387c1421ecf50fdce6a5150e8c79 revisions tested: 22, total time: 8h39m19.693255294s (build: 5h42m5.12572041s, test: 2h39m14.777623297s) first bad commit: c83c22ec1493c0b7cc77327bedbd387e295872b6 can: canxl: add virtual CAN network identifier support recipients (to): ["davem@davemloft.net" "edumazet@google.com" "kuba@kernel.org" "linux-can@vger.kernel.org" "mkl@pengutronix.de" "mkl@pengutronix.de" "netdev@vger.kernel.org" "pabeni@redhat.com" "socketcan@hartkopp.net" "socketcan@hartkopp.net"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: BUG: bad usercopy in raw_getsockopt usercopy: Kernel memory exposure attempt detected from null address (offset 0, size 4)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:102! invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 PID: 3387 Comm: syz-executor.0 Not tainted 6.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:usercopy_abort+0x84/0x90 mm/usercopy.c:102 Code: 49 89 ce 48 c7 c3 ae 1d 86 83 48 0f 44 de 48 c7 c7 47 1d 86 83 4c 89 de 48 89 c1 41 52 41 56 53 e8 91 f4 87 01 48 83 c4 18 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000195fdf8 EFLAGS: 00010282 RAX: 0000000000000057 RBX: ffffffff83905a75 RCX: ce6c1669cd340e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffffffffffff R08: ffffffff8126c7f3 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ffb248a26c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000109f0e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __check_object_size+0x442/0x6e0 check_object_size include/linux/thread_info.h:215 [inline] check_copy_size include/linux/thread_info.h:251 [inline] copy_to_user include/linux/uaccess.h:190 [inline] raw_getsockopt+0x2d0/0x390 net/can/raw.c:852 __sys_getsockopt+0x150/0x1b0 net/socket.c:2402 __do_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0x23/0x30 net/socket.c:2409 do_syscall_64+0xe6/0x230 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7ffb24d20da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb248a20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffb24e4ef80 RCX: 00007ffb24d20da9 RDX: 0000000000000008 RSI: 0000000000000065 RDI: 0000000000000003 RBP: 00007ffb24d6d47a R08: 0000000020001480 R09: 0000000000000000 R10: 0000000020001440 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007ffb24e4ef80 R15: 00007ffd2b2249e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:usercopy_abort+0x84/0x90 mm/usercopy.c:102 Code: 49 89 ce 48 c7 c3 ae 1d 86 83 48 0f 44 de 48 c7 c7 47 1d 86 83 4c 89 de 48 89 c1 41 52 41 56 53 e8 91 f4 87 01 48 83 c4 18 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000195fdf8 EFLAGS: 00010282 RAX: 0000000000000057 RBX: ffffffff83905a75 RCX: ce6c1669cd340e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffffffffffff R08: ffffffff8126c7f3 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ffb248a26c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000109f0e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400