ci2 starts bisection 2023-08-19 19:14:19.552355898 +0000 UTC m=+75854.079932928 bisecting fixing commit since 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 building syzkaller on f08b59ac0d8759f409d594ddca4f08c920e23237 ensuring issue is reproducible on original commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c1961b5c58ff87dc976263806c5b45248c93e98f54f95401cbb3221d82ec4be6 run #0: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #1: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #12: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #13: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #14: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #15: crashed: INFO: rcu detected stall in corrupted run #16: crashed: INFO: rcu detected stall in corrupted run #17: crashed: INFO: rcu detected stall in corrupted run #18: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail run #19: crashed: BUG: unable to handle kernel paging request in sctp_outq_tail representative crash: BUG: unable to handle kernel paging request in sctp_outq_tail, types: [UNKNOWN HANG] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77101dc366dbf61a0e28f34f02db53466d9ab6a9476fe9d01266054856610e3e run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in corrupted run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted representative crash: BUG: unable to handle kernel NULL pointer dereference in corrupted, types: [UNKNOWN HANG] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], they are not needed kconfig minimization: base=7498 full=9693 leaves diff=1936 split chunks (needed=false): <1936> split chunk #0 of len 1936 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0ebabc431190196aa4f4cf6e5978803c841080970a957c328eb72644ef281024 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f7bb9fcc1c6e4bd98fe09e42272b6149764d587d0ababa8204f8958cfdd48cf0 all runs: boot failed: can't ssh into the instance unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42f7cb585c2f93536b55ca4916ee960e0183bdaa0fef8279d597964df16b251f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29f22870f8f8f7ee2abc1dacc104adc3ba672b5cd40e636b3eac3372fd7d2291 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], they are not needed testing commit 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d4d9185189f721340f6b2d3785a34d9cc875cea04b6308f11db3d44090d7a768 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] the chunk can be dropped minimized to 388 configs; suspects: [6LOWPAN ACPI_VIDEO DLM DRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_V3D DRM_VC4 DRM_VGEM DRM_VIRTIO_GPU DRM_VKMS DRM_VRAM_HELPER DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB 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_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 E100 ECRYPT_FS ECRYPT_FS_MESSAGING EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS 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_POSIX_ACL EXT3_FS_SECURITY EXT4_FS_SECURITY 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 FB_DEFERRED_IO FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_FOPS FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VIRTUAL FDDI FIB_RULES FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FRAMEBUFFER_CONSOLE_ROTATION FRONTSWAP FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FW_LOADER_COMPRESS FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIO_DLN2 GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GTP GVE HAVE_ARCH_USERFAULTFD_MINOR HAVE_IMA_KEXEC HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HIDRAW HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_CMEDIA HID_CORSAIR HID_CP2112 HID_ELECOM HID_ELO HID_EMS_FF HID_GEMBIRD HID_GFRM HID_GREENASIA HID_GT683R HID_GYRATION HID_HOLTEK HID_ICADE HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MAGICMOUSE HID_MAYFLASH HID_NTI HID_NTRIG HID_ORTEK HID_PENMOUNT HID_PETALYNX HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PID HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SAMSUNG HID_SENSOR_ACCEL_3D HID_SENSOR_ALS 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_SPEEDLINK HID_STEELSERIES HID_SUNPLUS HID_THINGM HID_TIVO HID_TOPSEED HID_TWINHAN HID_UCLOGIC HID_UDRAW_PS3 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPFS_FS I2C_DIOLAN_U2C I2C_DLN2 I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB 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_AH INET6_ESP INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_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_JOYSTICK 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 IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_IPV6HEADER IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL 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_ADVANCED_ROUTER IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE IP_MROUTE_COMMON 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_CLUSTERIP IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_PIMSM_V1 IP_PIMSM_V2 IP_PNP_RARP IP_ROUTE_CLASSID IP_ROUTE_MULTIPATH IP_ROUTE_VERBOSE 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_DH IP_VS_FO IP_VS_FTP 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_TCP IP_VS_PROTO_UDP IP_VS_RR IP_VS_SED IP_VS_SH IP_VS_TWOS IP_VS_WLC IP_VS_WRR IR_IGORPLUGUSB IR_IGUANA IR_IMON IR_MCEUSB IR_REDRAT3 IR_STREAMZAP IR_TTUSBIR ISDN ISDN_CAPI_MIDDLEWARE ISO9660_FS 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 JOLIET 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 LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_RADIO_SUPPORT MEDIA_TEST_SUPPORT MFD_DLN2 MFD_VIPERBOARD MPTCP NET_IPGRE_DEMUX NFT_FWD_NETDEV NF_CONNTRACK_FTP NF_CONNTRACK_SIP NF_TABLES NF_TABLES_NETDEV PARTITION_ADVANCED RADIO_ADAPTERS RADIO_SI4713 RFKILL SND SND_SOC SOUND WAN XFRM ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing current HEAD 6c44e13dc284f7f4db17706ca48fd016d6b3d49a testing commit 6c44e13dc284f7f4db17706ca48fd016d6b3d49a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fbcf315762e45b9b565d87a911cb677edbb8c9e6dab8cfcce2db0fc9224e2121 all runs: OK false negative chance: 0.000 # git bisect start 6c44e13dc284f7f4db17706ca48fd016d6b3d49a 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 Bisecting: 2921 revisions left to test after this (roughly 12 steps) [e2efb94966e7e233d450bde509a13cd7bf9c1019] net/sched: act_mirred: Add carrier check determine whether the revision contains the guilty commit revision 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 crashed and is reachable testing commit e2efb94966e7e233d450bde509a13cd7bf9c1019 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0abb7aecf5fd27cb2d07246d7ff674049ac166dcb2f87f7d3d49d976634e5c4 all runs: OK false negative chance: 0.000 # git bisect bad e2efb94966e7e233d450bde509a13cd7bf9c1019 Bisecting: 1459 revisions left to test after this (roughly 11 steps) [9f66c5dbaf0a8c12109092d28e67252a02588246] arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes determine whether the revision contains the guilty commit revision 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 crashed and is reachable testing commit 9f66c5dbaf0a8c12109092d28e67252a02588246 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 54cd2f739ed6918a23971b17b085e8e1f6db2df784a253f3c3cb2480ca827292 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] # git bisect good 9f66c5dbaf0a8c12109092d28e67252a02588246 Bisecting: 729 revisions left to test after this (roughly 10 steps) [b28def6ed97045b2f6606940cb3d575b52aea76c] ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook determine whether the revision contains the guilty commit revision 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 crashed and is reachable testing commit b28def6ed97045b2f6606940cb3d575b52aea76c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e7cf0c6f9e9a4b237133c8b5fd01c6419f85cab14801a214ccbd60719ab96c8 all runs: OK false negative chance: 0.000 # git bisect bad b28def6ed97045b2f6606940cb3d575b52aea76c Bisecting: 364 revisions left to test after this (roughly 9 steps) [0fc6fea41c7122aa5f2088117f50144b507e13d7] drm/i915: Disable DC states for all commits determine whether the revision contains the guilty commit revision 9f66c5dbaf0a8c12109092d28e67252a02588246 crashed and is reachable testing commit 0fc6fea41c7122aa5f2088117f50144b507e13d7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 70664fc8ebb17565c08745c611069e2e7b09a9df3657048f903b8186c4179576 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] # git bisect good 0fc6fea41c7122aa5f2088117f50144b507e13d7 Bisecting: 182 revisions left to test after this (roughly 8 steps) [0102425ac76bd184704c698cab7cb4fe37997556] Linux 6.1.24 determine whether the revision contains the guilty commit revision 9f66c5dbaf0a8c12109092d28e67252a02588246 crashed and is reachable testing commit 0102425ac76bd184704c698cab7cb4fe37997556 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6eb3c9996b8a85e52e54b8f228d8111680d98f7e71fbde090cab84ba0cfaf10a all runs: OK false negative chance: 0.000 # git bisect bad 0102425ac76bd184704c698cab7cb4fe37997556 Bisecting: 90 revisions left to test after this (roughly 7 steps) [59d667d7ae4673657843b985297bec067f0ed856] iio: dac: cio-dac: Fix max DAC write value check for 12-bit determine whether the revision contains the guilty commit revision 0fc6fea41c7122aa5f2088117f50144b507e13d7 crashed and is reachable testing commit 59d667d7ae4673657843b985297bec067f0ed856 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c65762eb3c493f7f83e77d7e51abfaf21707d5f709d0b986bedd32277cc82130 all runs: OK false negative chance: 0.000 # git bisect bad 59d667d7ae4673657843b985297bec067f0ed856 Bisecting: 45 revisions left to test after this (roughly 6 steps) [b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3] nfsd: call op_release, even when op_func returns an error determine whether the revision contains the guilty commit revision 0fc6fea41c7122aa5f2088117f50144b507e13d7 crashed and is reachable testing commit b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7518bc3f4e8e1dc302a5c7c18eca28cfd20d29d283ce02267f6f88e749cf6efc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] # git bisect good b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 Bisecting: 22 revisions left to test after this (roughly 5 steps) [e3bcf2a77060bea4d8d09cb09d92c7056f07df5a] netlink: annotate lockless accesses to nlk->max_recvmsg_len determine whether the revision contains the guilty commit revision b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 crashed and is reachable testing commit e3bcf2a77060bea4d8d09cb09d92c7056f07df5a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 930cd80d8de01eea93d559e17d34b92ef4c795c39d067eacfd551ff1dbd82c60 all runs: OK false negative chance: 0.000 # git bisect bad e3bcf2a77060bea4d8d09cb09d92c7056f07df5a Bisecting: 11 revisions left to test after this (roughly 4 steps) [8309ca6f09b2020ef7305023d5bae2e8e2d10d53] gpio: davinci: Do not clear the bank intr enable bit in save_context determine whether the revision contains the guilty commit revision b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 crashed and is reachable testing commit 8309ca6f09b2020ef7305023d5bae2e8e2d10d53 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36935ce8acd5a0ff7770dc95b122fffb32ae6c7002d9004dc799449329ffdc28 all runs: OK false negative chance: 0.000 # git bisect bad 8309ca6f09b2020ef7305023d5bae2e8e2d10d53 Bisecting: 5 revisions left to test after this (roughly 3 steps) [d2128636b303aa9cf065055402ee6697409a8837] sctp: check send stream number after wait_for_sndbuf determine whether the revision contains the guilty commit revision 42616e0f09fb4e9a6c59892a227f7bdefbd2d6d3 crashed and is reachable testing commit d2128636b303aa9cf065055402ee6697409a8837 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c7d3396835555551d8c54ebd04139ec7ae22b59bee0c332ad8f7c278edaa5f3f all runs: OK false negative chance: 0.000 # git bisect bad d2128636b303aa9cf065055402ee6697409a8837 Bisecting: 2 revisions left to test after this (roughly 1 step) [8354db05809227a2608f74d0cfe7cc70f0a09cbd] ALSA: hda/hdmi: Preserve the previous PCM device upon re-enablement determine whether the revision contains the guilty commit revision b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 crashed and is reachable testing commit 8354db05809227a2608f74d0cfe7cc70f0a09cbd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0d125eceeeda7317f42324c1c8252b3e89e25b23dc619a5fa8fe84e339ca18d run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in corrupted run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in corrupted run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail run #9: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] # git bisect good 8354db05809227a2608f74d0cfe7cc70f0a09cbd Bisecting: 0 revisions left to test after this (roughly 1 step) [90c29c00b156061757ceaa14eb17a854c8f1f938] net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit determine whether the revision contains the guilty commit revision b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3 crashed and is reachable testing commit 90c29c00b156061757ceaa14eb17a854c8f1f938 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7bc7556b141fcc758fcf4145e9912e003133285370ae7a380b2014f001433659 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail representative crash: BUG: unable to handle kernel NULL pointer dereference in sctp_outq_tail, types: [UNKNOWN] # git bisect good 90c29c00b156061757ceaa14eb17a854c8f1f938 d2128636b303aa9cf065055402ee6697409a8837 is the first bad commit commit d2128636b303aa9cf065055402ee6697409a8837 Author: Xin Long Date: Sat Apr 1 19:09:57 2023 -0400 sctp: check send stream number after wait_for_sndbuf [ Upstream commit 2584024b23552c00d95b50255e47bd18d306d31a ] This patch fixes a corner case where the asoc out stream count may change after wait_for_sndbuf. When the main thread in the client starts a connection, if its out stream count is set to N while the in stream count in the server is set to N - 2, another thread in the client keeps sending the msgs with stream number N - 1, and waits for sndbuf before processing INIT_ACK. However, after processing INIT_ACK, the out stream count in the client is shrunk to N - 2, the same to the in stream count in the server. The crash occurs when the thread waiting for sndbuf is awake and sends the msg in a non-existing stream(N - 1), the call trace is as below: KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] Call Trace: sctp_cmd_send_msg net/sctp/sm_sideeffect.c:1114 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1777 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x197d/0x5310 net/sctp/sm_sideeffect.c:1170 sctp_primitive_SEND+0x9f/0xc0 net/sctp/primitive.c:163 sctp_sendmsg_to_asoc+0x10eb/0x1a30 net/sctp/socket.c:1868 sctp_sendmsg+0x8d4/0x1d90 net/sctp/socket.c:2026 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg+0xde/0x190 net/socket.c:745 The fix is to add an unlikely check for the send stream number after the thread wakes up from the wait_for_sndbuf. Fixes: 5bbbbe32a431 ("sctp: introduce stream scheduler foundations") Reported-by: syzbot+47c24ca20a2fa01f082e@syzkaller.appspotmail.com Signed-off-by: Xin Long Signed-off-by: David S. Miller Signed-off-by: Sasha Levin net/sctp/socket.c | 4 ++++ 1 file changed, 4 insertions(+) accumulated error probability: 0.00 culprit signature: c7d3396835555551d8c54ebd04139ec7ae22b59bee0c332ad8f7c278edaa5f3f parent signature: 7bc7556b141fcc758fcf4145e9912e003133285370ae7a380b2014f001433659 revisions tested: 20, total time: 8h38m24.790626242s (build: 6h5m5.908396814s, test: 2h16m20.273199624s) first good commit: d2128636b303aa9cf065055402ee6697409a8837 sctp: check send stream number after wait_for_sndbuf recipients (to): ["davem@davemloft.net" "lucien.xin@gmail.com" "sashal@kernel.org"] recipients (cc): []