ci2 starts bisection 2024-08-05 00:01:24.097980362 +0000 UTC m=+177442.715513215 bisecting fixing commit since 88690811da69826fdb59d908a6e5e9d0c63b581a building syzkaller on 27de0a5cccaebe20ffd8fce48c2c5ec9d4b358fa ensuring issue is reproducible on original commit 88690811da69826fdb59d908a6e5e9d0c63b581a testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4325cf7948b028a7819f213bd8561766f0ec7a981fb9ca0037a94e723517bad3 run #0: crashed: possible deadlock in sock_hash_delete_elem run #1: crashed: possible deadlock in sock_hash_delete_elem run #2: crashed: possible deadlock in sock_hash_delete_elem run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: possible deadlock in sock_hash_delete_elem run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: possible deadlock in sock_hash_delete_elem run #7: crashed: possible deadlock in sock_hash_delete_elem run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: possible deadlock in sock_hash_delete_elem run #12: crashed: INFO: rcu detected stall in corrupted run #13: crashed: INFO: rcu detected stall in corrupted run #14: crashed: possible deadlock in sock_hash_delete_elem run #15: crashed: possible deadlock in sock_hash_delete_elem run #16: crashed: INFO: rcu detected stall in corrupted run #17: crashed: possible deadlock in sock_hash_delete_elem run #18: crashed: possible deadlock in sock_hash_delete_elem run #19: crashed: INFO: rcu detected stall in corrupted representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49dde778312f78f90da97481242440bb2b343ad207c13114921072b9aca6e8b5 run #0: crashed: possible deadlock in sock_hash_delete_elem run #1: crashed: possible deadlock in sock_hash_delete_elem run #2: crashed: possible deadlock in sock_hash_delete_elem run #3: crashed: possible deadlock in sock_hash_delete_elem run #4: crashed: possible deadlock in sock_hash_delete_elem run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP UNKNOWN] the bug reproduces without the instrumentation disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=3822 full=7457 leaves diff=1989 split chunks (needed=false): <1989> split chunk #0 of len 1989 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1938dfc7c85a9910020edf1bdd146504adb22a286baeaf0bcf2071f896e71573 run #0: crashed: possible deadlock in sock_hash_delete_elem run #1: crashed: possible deadlock in sock_hash_delete_elem run #2: crashed: possible deadlock in sock_hash_delete_elem run #3: crashed: possible deadlock in sock_hash_delete_elem run #4: crashed: possible deadlock in sock_hash_delete_elem run #5: crashed: possible deadlock in sock_hash_delete_elem run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 170f847c7ee2fa9c5e5d3e0a4ad5b70074ee71ac920920fdd406449c7efe9f69 run #0: crashed: possible deadlock in sock_hash_delete_elem run #1: crashed: possible deadlock in sock_hash_delete_elem run #2: crashed: possible deadlock in sock_hash_delete_elem run #3: crashed: no output from test machine run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a3cddb20b69a340403940e0003a0568624b1813b5e86c216821d1bbac8beb502 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a48a77f1f97fdabc6f764525cfb72cf89c4bdaee9a58f418ba378c110199ba82 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 88690811da69826fdb59d908a6e5e9d0c63b581a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a64a562bd06c4365e5d1ad83ef6764596d22e7892d827ca9dfe99838dbe2b15c all runs: OK false negative chance: 0.000 minimized to 397 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA COMMON_CLK CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB GPIOLIB HID_ZEROPLUS I2C_MUX IIO IRQ_REMAP KVM KVM_INTEL LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_VIPERBOARD PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TARGET_CORE TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS USB_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM USB_CONFIGFS_F_UAC1 USB_CONFIGFS_F_UAC1_LEGACY USB_CONFIGFS_F_UAC2 USB_CONFIGFS_F_UVC USB_CONFIGFS_MASS_STORAGE USB_CONFIGFS_NCM USB_CONFIGFS_OBEX USB_CONFIGFS_PHONET USB_CONFIGFS_RNDIS USB_CONFIGFS_SERIAL USB_CXACRU USB_CYPRESS_CY7C63 USB_CYTHERM USB_DSBR USB_DUMMY_HCD USB_DWC2 USB_DWC2_HOST USB_DWC2_PCI USB_DWC3 USB_DWC3_GADGET USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_HCD_PLATFORM USB_EHCI_ROOT_HUB_TT USB_EHSET_TEST_FIXTURE USB_EMI26 USB_EMI62 USB_EPSON2888 USB_EZUSB_FX2 USB_FEW_INIT_RETRIES USB_FOTG210_HCD USB_FOTG210_UDC USB_FTDI_ELAN USB_F_ACM USB_F_ECM USB_F_EEM USB_F_FS USB_F_HID USB_F_MASS_STORAGE USB_F_MIDI USB_F_NCM USB_F_OBEX USB_F_PHONET USB_F_PRINTER USB_F_RNDIS USB_F_SERIAL USB_F_SS_LB USB_F_SUBSET USB_F_TCM USB_F_UAC1 USB_F_UAC1_LEGACY USB_F_UAC2 USB_F_UVC USB_GADGET USB_GADGETFS USB_GADGET_DEBUG_FILES USB_GADGET_DEBUG_FS USB_GL860 USB_GOKU USB_GPIO_VBUS USB_GR_UDC USB_GSPCA USB_GSPCA_BENQ USB_GSPCA_CONEX USB_GSPCA_CPIA1 USB_GSPCA_DTCS033 USB_GSPCA_ETOMS USB_GSPCA_FINEPIX USB_GSPCA_JEILINJ USB_GSPCA_JL2005BCD USB_GSPCA_KINECT USB_GSPCA_KONICA USB_GSPCA_MARS USB_GSPCA_MR97310A USB_GSPCA_NW80X USB_GSPCA_OV519 USB_GSPCA_OV534 USB_GSPCA_OV534_9 USB_GSPCA_PAC207 USB_GSPCA_PAC7302 USB_GSPCA_PAC7311 USB_GSPCA_SE401 USB_GSPCA_SN9C2028 USB_GSPCA_SN9C20X USB_GSPCA_SONIXB USB_GSPCA_SONIXJ USB_GSPCA_SPCA1528 USB_GSPCA_SPCA500 USB_GSPCA_SPCA501 USB_GSPCA_SPCA505 USB_GSPCA_SPCA506 USB_GSPCA_SPCA508 USB_GSPCA_SPCA561 USB_GSPCA_SQ905 USB_GSPCA_SQ905C USB_GSPCA_SQ930X USB_GSPCA_STK014 USB_GSPCA_STK1135 USB_GSPCA_STV0680 USB_GSPCA_SUNPLUS USB_GSPCA_T613 USB_GSPCA_TOPRO USB_GSPCA_TOUPTEK USB_GSPCA_TV8532 USB_GSPCA_VC032X USB_GSPCA_VICAM USB_GSPCA_XIRLINK_CIT USB_GSPCA_ZC3XX USB_HACKRF USB_HCD_BCMA USB_HCD_SSB USB_HSIC_USB3503 USB_HSIC_USB4604 USB_HSO USB_HUB_USB251XB USB_IDMOUSE USB_IOWARRIOR USB_IPHETH USB_ISIGHTFW USB_ISP116X_HCD USB_ISP1301 USB_ISP1760 USB_ISP1760_DUAL_ROLE USB_ISP1760_HCD USB_ISP1761_UDC USB_KAWETH USB_KC2190 USB_KEENE USB_LAN78XX USB_LCD USB_LD USB_LEDS_TRIGGER_USBPORT USB_LED_TRIG USB_LEGOTOWER USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_MV_U3D USB_MV_UDC USB_NET2272 USB_NET2272_DMA USB_NET2280 USB_NET_AX88179_178A USB_NET_AX8817X USB_NET_CDCETHER USB_NET_CDC_EEM USB_NET_CDC_MBIM USB_NET_CDC_NCM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_CH9200 USB_NET_CX82310_ETH USB_NET_DM9601 USB_NET_GL620A USB_NET_HUAWEI_CDC_NCM USB_NET_INT51X1 USB_NET_KALMIA USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_QMI_WWAN USB_NET_RNDIS_HOST USB_NET_RNDIS_WLAN USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_OXU210HP_HCD USB_PEGASUS USB_PULSE8_CEC USB_PWC USB_PWC_INPUT_EVDEV USB_PXA27X USB_R8A66597 USB_R8A66597_HCD USB_RAINSHADOW_CEC USB_RAREMONO USB_RAW_GADGET USB_RTL8150 USB_RTL8152 USB_RTL8153_ECM USB_S2255 USB_SERIAL USB_SERIAL_AIRCABLE USB_SERIAL_ARK3116 USB_SERIAL_BELKIN USB_SERIAL_CH341 USB_SERIAL_CONSOLE USB_SERIAL_CP210X USB_SERIAL_CYBERJACK USB_SERIAL_CYPRESS_M8 USB_SERIAL_DEBUG USB_SERIAL_DIGI_ACCELEPORT USB_SERIAL_EDGEPORT USB_SERIAL_EDGEPORT_TI USB_SERIAL_EMPEG USB_SERIAL_F81232 USB_SERIAL_F8153X USB_SERIAL_FTDI_SIO USB_SERIAL_GARMIN USB_SERIAL_GENERIC USB_SERIAL_IPAQ USB_SERIAL_IPW USB_SERIAL_IR USB_SERIAL_IUU USB_SERIAL_KEYSPAN USB_SERIAL_KEYSPAN_PDA USB_SERIAL_KLSI USB_SERIAL_KOBIL_SCT USB_SERIAL_MCT_U232 USB_SERIAL_METRO USB_SERIAL_MOS7715_PARPORT USB_SERIAL_MOS7720 USB_SERIAL_MOS7840 USB_SERIAL_MXUPORT USB_SERIAL_NAVMAN USB_SERIAL_OMNINET USB_SERIAL_OPTICON USB_SERIAL_OPTION USB_SERIAL_OTI6858 USB_SERIAL_PL2303 USB_SERIAL_QCAUX USB_SERIAL_QT2 USB_SERIAL_QUALCOMM USB_SERIAL_SAFE USB_SERIAL_SIERRAWIRELESS USB_SERIAL_SIMPLE USB_SERIAL_SPCP8X5 USB_SERIAL_SSU100 USB_SERIAL_SYMBOL USB_SERIAL_TI USB_SERIAL_UPD78F0730 USB_SERIAL_VISOR USB_SERIAL_WHITEHEAT USB_SERIAL_WISHBONE USB_SERIAL_WWAN USB_SERIAL_XR USB_SERIAL_XSENS_MT USB_SEVSEG USB_SI470X USB_SI4713 USB_SIERRA_NET USB_SISUSBVGA USB_SL811_CS USB_SL811_HCD USB_SL811_HCD_ISO USB_SNP_CORE USB_SPEEDTOUCH USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_ENE_UB6250 USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_STV06XX USB_TEST USB_TMC USB_TRANCEVIBRATOR USB_U132_HCD USB_UAS USB_UEAGLEATM USB_ULPI_BUS USB_USBNET USB_USS720 USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_VIDEO_CLASS USB_VIDEO_CLASS_INPUT_EVDEV USB_VL600 USB_WDM USB_XHCI_DBGCAP USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VDPA_SIM VDPA_SIM_BLOCK VDPA_SIM_NET VDPA_USER VETH VFIO VFIO_IOMMU_TYPE1 VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_PCI_MMAP VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_IOTLB VHOST_NET VHOST_RING VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOMODE_HELPERS VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CS53L32A VIDEO_CX231XX VIDEO_CX231XX_ALSA VIDEO_CX231XX_DVB VIDEO_CX231XX_RC VIDEO_CX2341X VIDEO_CX25840 VIDEO_DEV VIDEO_EM28XX VIDEO_EM28XX_ALSA VIDEO_EM28XX_DVB VIDEO_EM28XX_RC VIDEO_EM28XX_V4L2 VIDEO_GO7007 VIDEO_GO7007_LOADER VIDEO_GO7007_USB VIDEO_GO7007_USB_S2250_BOARD VIDEO_HDPVR VIDEO_MSP3400 VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_STK1160_COMMON VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2_I2C VIDEO_V4L2_SUBDEV_API VIDEO_V4L2_TPG VIDEO_VICODEC VIDEO_VIM2M VIDEO_VIMC VIDEO_VIVID VIDEO_VIVID_CEC VIDEO_WM8775 VIPERBOARD_ADC VIRTIO_BALLOON VIRTIO_DMA_SHARED_BUFFER VIRTIO_MEM VIRTIO_MMIO VIRTIO_MMIO_CMDLINE_DEVICES VIRTIO_PMEM VIRTIO_VDPA VIRTIO_VSOCKETS VIRTIO_VSOCKETS_COMMON VIRT_WIFI VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMAP_PFN VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING VXFS_FS WANT_DEV_COREDUMP WEXT_CORE WEXT_PRIV WEXT_PROC WIREGUARD WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ADMTEK WLAN_VENDOR_PURELIFI WLAN_VENDOR_SILABS X86_SGX X86_SGX_KVM X86_X2APIC X86_X32_ABI XARRAY_MULTI XDP_SOCKETS XDP_SOCKETS_DIAG XFRM_ESPINTCP XFRM_INTERFACE XFRM_IPCOMP XFRM_MIGRATE XFRM_OFFLOAD XFRM_STATISTICS XFRM_SUB_POLICY XFRM_USER_COMPAT XFS_FS XFS_POSIX_ACL XFS_QUOTA XFS_RT XOR_BLOCKS YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZBUD ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZBUD] disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed determining the merge base between 88690811da69826fdb59d908a6e5e9d0c63b581a and de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed 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: 75084455da9eab58eebd938a330392a13fb3209f0d79775060d900c27c3b35f8 run #0: crashed: possible deadlock in add_timer_on run #1: crashed: possible deadlock in scheduler_tick run #2: crashed: inconsistent lock state in sock_hash_delete_elem run #3: crashed: possible deadlock in scheduler_tick run #4: crashed: possible deadlock in rcu_report_exp_cpu_mult run #5: crashed: invalid opcode in irq_work_run_list run #6: crashed: possible deadlock in scheduler_tick run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in add_timer_on, types: [LOCKDEP UNKNOWN] testing current HEAD de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed testing commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 735258aac3b8c7c5a7033b96dff00475b66afdbf88619cd618bafda936a981d4 all runs: OK false negative chance: 0.000 # git bisect start de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 78024 revisions left to test after this (roughly 16 steps) [2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a] 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 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bf008cd98da270610b3087e2a2d3fc52ebba5d7e14ef8f454811d9e78fddd961 run #0: crashed: possible deadlock in scheduler_tick run #1: crashed: inconsistent lock state in sock_hash_delete_elem run #2: crashed: possible deadlock in rcu_report_exp_cpu_mult run #3: crashed: inconsistent lock state in sock_hash_delete_elem run #4: crashed: possible deadlock in hrtimer_run_queues run #5: crashed: possible deadlock in scheduler_tick run #6: crashed: inconsistent lock state in sock_hash_delete_elem run #7: crashed: possible deadlock in swake_up_one run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in scheduler_tick, types: [LOCKDEP] # git bisect good 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a Bisecting: 38326 revisions left to test after this (roughly 15 steps) [9187210eee7d87eea37b45ea93454a88681894a4] Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 9187210eee7d87eea37b45ea93454a88681894a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 21882456490494b6b97a851714e43758ac0c3097c90b34c0c3598c7169b96ac5 run #0: crashed: possible deadlock in swake_up_one run #1: crashed: BUG: using __this_cpu_add() in preemptible code in graph_lock run #2: crashed: possible deadlock in scheduler_tick run #3: crashed: possible deadlock in scheduler_tick run #4: crashed: possible deadlock in scheduler_tick run #5: crashed: inconsistent lock state in sock_hash_delete_elem run #6: crashed: inconsistent lock state in sock_hash_delete_elem run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in swake_up_one, types: [LOCKDEP UNKNOWN] # git bisect good 9187210eee7d87eea37b45ea93454a88681894a4 Bisecting: 19149 revisions left to test after this (roughly 14 steps) [ff9a79307f89563da6d841da8b7cc4a0afceb0e2] Merge tag 'kbuild-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit ff9a79307f89563da6d841da8b7cc4a0afceb0e2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8518ca65502686716328de6b3a6fb7bc6695dc32f79da2cef1fe40d90a065ffd all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good ff9a79307f89563da6d841da8b7cc4a0afceb0e2 Bisecting: 8817 revisions left to test after this (roughly 13 steps) [51835949dda3783d4639cfa74ce13a3c9829de00] Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 51835949dda3783d4639cfa74ce13a3c9829de00 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 02cb2f2e9194a255c0f89cb3991b91ffba34c29acb615458f83720727a989f41 all runs: OK false negative chance: 0.000 # git bisect bad 51835949dda3783d4639cfa74ce13a3c9829de00 Bisecting: 5166 revisions left to test after this (roughly 12 steps) [20e69650d51f20e430d5b46d53bb48248b4c66ca] Merge patch series "can: xilinx_can: Document driver description to list all supported IPs" determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 20e69650d51f20e430d5b46d53bb48248b4c66ca gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9bbc6638f137bb5d89d5a53da222129e897beb49c49b032691c4d7208a84385f all runs: OK false negative chance: 0.000 # git bisect bad 20e69650d51f20e430d5b46d53bb48248b4c66ca Bisecting: 2508 revisions left to test after this (roughly 11 steps) [89601f675b008ed0fd66c060fb23354a106436bb] Merge tag 'usb-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb determine whether the revision contains the guilty commit revision ff9a79307f89563da6d841da8b7cc4a0afceb0e2 crashed and is reachable testing commit 89601f675b008ed0fd66c060fb23354a106436bb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b8822f7fcb16121cf4985a13a9db67a991a744a8c7d49694de42b44758c5d15 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 89601f675b008ed0fd66c060fb23354a106436bb Bisecting: 1254 revisions left to test after this (roughly 10 steps) [28add42dc226a4e7caf139407df714820b389bbc] Merge tag 'regulator-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator determine whether the revision contains the guilty commit revision ff9a79307f89563da6d841da8b7cc4a0afceb0e2 crashed and is reachable testing commit 28add42dc226a4e7caf139407df714820b389bbc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac115bbdca3e95659f80f8dd2fa5e5894b4191ad46c32566870c4e99b466ce28 all runs: OK false negative chance: 0.000 # git bisect bad 28add42dc226a4e7caf139407df714820b389bbc Bisecting: 642 revisions left to test after this (roughly 9 steps) [90e823498881fb8a91d83e9a8eed87c8c3ff2176] mm/ksm: fix possible UAF of stable_node determine whether the revision contains the guilty commit revision 89601f675b008ed0fd66c060fb23354a106436bb crashed and is reachable testing commit 90e823498881fb8a91d83e9a8eed87c8c3ff2176 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c03cee7d82fb7287d656b9a09c8e23bbc091c30d366f31bd2f35cd744df56b89 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 90e823498881fb8a91d83e9a8eed87c8c3ff2176 Bisecting: 317 revisions left to test after this (roughly 8 steps) [56fb6f92854f29dcb6c3dc3ba92eeda1b615e88c] Merge tag 'drm-next-2024-05-25' of https://gitlab.freedesktop.org/drm/kernel determine whether the revision contains the guilty commit revision ff9a79307f89563da6d841da8b7cc4a0afceb0e2 crashed and is reachable testing commit 56fb6f92854f29dcb6c3dc3ba92eeda1b615e88c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c8f5ebf32942c3740c09b912b2b9d7b3dea02a4906e74e5ce539cce0b27dc943 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 56fb6f92854f29dcb6c3dc3ba92eeda1b615e88c Bisecting: 179 revisions left to test after this (roughly 7 steps) [310fa3ec2859f1c094e6e9b5d2e1ca51738c409a] ALSA: seq: ump: Fix swapped song position pointer data determine whether the revision contains the guilty commit revision 90e823498881fb8a91d83e9a8eed87c8c3ff2176 crashed and is reachable testing commit 310fa3ec2859f1c094e6e9b5d2e1ca51738c409a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fc29a4d047f9e3e0582a445a9bba347cce9e40fe60444513ee612676efcda3d0 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 310fa3ec2859f1c094e6e9b5d2e1ca51738c409a Bisecting: 103 revisions left to test after this (roughly 7 steps) [13c7c941e72908b8cce5a84b45a7b5e485ca12ed] netdev: add qstat for csum complete determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 13c7c941e72908b8cce5a84b45a7b5e485ca12ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 77c0593bac78827c88195ff4c4d9f40dbd7fd6eaa363724fbb63f2b1371ef970 all runs: OK false negative chance: 0.000 # git bisect bad 13c7c941e72908b8cce5a84b45a7b5e485ca12ed Bisecting: 37 revisions left to test after this (roughly 5 steps) [0fe53c0ab018b3399b8d4be95f32fd017c9719e1] dt-bindings: net: pse-pd: microchip,pd692x0: Fix missing "additionalProperties" constraints determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 0fe53c0ab018b3399b8d4be95f32fd017c9719e1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e2b7eb5d87c2e22ac79714aaa1ec06c3d71bebc5dfac77267b9a5e6513f8d135 all runs: OK false negative chance: 0.000 # git bisect bad 0fe53c0ab018b3399b8d4be95f32fd017c9719e1 Bisecting: 20 revisions left to test after this (roughly 4 steps) [52a2f0608366a629d43dacd3191039c95fef74ba] net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 52a2f0608366a629d43dacd3191039c95fef74ba gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee4329f93826976ff5f91cc41c592a76ec380d5ce8b6ea25da121d02390fd1c8 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 52a2f0608366a629d43dacd3191039c95fef74ba Bisecting: 10 revisions left to test after this (roughly 3 steps) [d6fe532b7499e4575f9647879b7a34625817fe7f] netkit: Fix setting mac address in l2 mode determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit d6fe532b7499e4575f9647879b7a34625817fe7f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1609c72d978ca139b14f17772820fca51a51f6f473be81b27ac9c26073dc6e53 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good d6fe532b7499e4575f9647879b7a34625817fe7f Bisecting: 5 revisions left to test after this (roughly 3 steps) [3b9ce0491a43e9af7f108b2f1bced7cd35931660] Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem" determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 3b9ce0491a43e9af7f108b2f1bced7cd35931660 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 31154d9b225a5c2e19006c90818098a4510c3067a04d1484efe22561ea190496 all runs: OK false negative chance: 0.000 # git bisect bad 3b9ce0491a43e9af7f108b2f1bced7cd35931660 Bisecting: 2 revisions left to test after this (roughly 1 step) [998ffeb2738e26f134dc8e63b5dcaece22573957] selftests/bpf: Add netkit tests for mac address determine whether the revision contains the guilty commit revision 2606cf059c56bfb86d5d6bd0f41bd7eedefc8b0a crashed and is reachable testing commit 998ffeb2738e26f134dc8e63b5dcaece22573957 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f967ce58730f99c4092a8435fa734fd499a379da62c3e46ae35172ece59a583 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 998ffeb2738e26f134dc8e63b5dcaece22573957 Bisecting: 0 revisions left to test after this (roughly 1 step) [98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d] bpf: Allow delete from sockmap/sockhash only if update is allowed determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 40abb9f051693eab00a5d857b60cff2b48fe6f9c4cca481e104bba4393f0b37b all runs: OK false negative chance: 0.000 # git bisect bad 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d Bisecting: 0 revisions left to test after this (roughly 0 steps) [95348e463eabc803341c67d562f9e0a5f0a48fe6] selftests/bpf: Add netkit test for pkt_type determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 95348e463eabc803341c67d562f9e0a5f0a48fe6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ed541ae41ba99a75383d49333de25161cc502e8b67ef652a138269b2e8e79bc9 all runs: crashed: possible deadlock in sock_hash_delete_elem representative crash: possible deadlock in sock_hash_delete_elem, types: [LOCKDEP] # git bisect good 95348e463eabc803341c67d562f9e0a5f0a48fe6 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d is the first bad commit commit 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d Author: Jakub Sitnicki Date: Mon May 27 13:20:07 2024 +0200 bpf: Allow delete from sockmap/sockhash only if update is allowed We have seen an influx of syzkaller reports where a BPF program attached to a tracepoint triggers a locking rule violation by performing a map_delete on a sockmap/sockhash. We don't intend to support this artificial use scenario. Extend the existing verifier allowed-program-type check for updating sockmap/sockhash to also cover deleting from a map. From now on only BPF programs which were previously allowed to update sockmap/sockhash can delete from these map types. Fixes: ff9105993240 ("bpf, sockmap: Prevent lock inversion deadlock in map delete elem") Reported-by: Tetsuo Handa Reported-by: syzbot+ec941d6e24f633a59172@syzkaller.appspotmail.com Signed-off-by: Jakub Sitnicki Signed-off-by: Daniel Borkmann Tested-by: syzbot+ec941d6e24f633a59172@syzkaller.appspotmail.com Acked-by: John Fastabend Closes: https://syzkaller.appspot.com/bug?extid=ec941d6e24f633a59172 Link: https://lore.kernel.org/bpf/20240527-sockmap-verify-deletes-v1-1-944b372f2101@cloudflare.com kernel/bpf/verifier.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) accumulated error probability: 0.00 culprit signature: 40abb9f051693eab00a5d857b60cff2b48fe6f9c4cca481e104bba4393f0b37b parent signature: ed541ae41ba99a75383d49333de25161cc502e8b67ef652a138269b2e8e79bc9 revisions tested: 27, total time: 5h45m47.36905194s (build: 1h58m2.180739939s, test: 3h35m33.362868792s) first good commit: 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d bpf: Allow delete from sockmap/sockhash only if update is allowed recipients (to): ["daniel@iogearbox.net" "jakub@cloudflare.com" "john.fastabend@gmail.com" "syzbot+ec941d6e24f633a59172@syzkaller.appspotmail.com"] recipients (cc): []