ci2 starts bisection 2024-08-06 03:15:59.728724452 +0000 UTC m=+7416.224536879 bisecting fixing commit since 6741e066ec7633450d3186946035c1f80c4226b8 building syzkaller on 18f6e127bf6e515fc3eee0936bde2415e676e160 ensuring issue is reproducible on original commit 6741e066ec7633450d3186946035c1f80c4226b8 testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9e159b93b7880a23604c91a0883f1a3f9a9218dfabd42af1f9980ade9d09d796 run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: possible deadlock in htab_lock_bucket 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 run #10: crashed: possible deadlock in htab_lock_bucket run #11: crashed: INFO: rcu detected stall in corrupted run #12: crashed: INFO: rcu detected stall in corrupted run #13: crashed: possible deadlock in htab_lock_bucket run #14: crashed: INFO: rcu detected stall in corrupted run #15: crashed: possible deadlock in htab_lock_bucket run #16: crashed: no output from test machine run #17: crashed: no output from test machine run #18: crashed: no output from test machine run #19: crashed: no output from test machine representative crash: possible deadlock in htab_lock_bucket, types: [LOCKDEP UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1dcc4c3b5002701e6c82d874e8acde56475baef698b74474d14bdf972d204256 run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: possible deadlock in htab_lock_bucket 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 bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3822 full=7455 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 93a3e198c6ead56fcc2cc2ca6460d10c620a6ede0bf894e75a6ef0247d8cdd3e run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: possible deadlock in htab_lock_bucket run #4: crashed: possible deadlock in htab_lock_bucket 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 htab_lock_bucket, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8b5d45dccc057f58748c68dbd9b37939cdf24591a925d58bb57948110684f01 run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket 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 [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f7e705f35292a7861c61c98e864cfbfcff027719768d5010675e29a4de4bbc05 run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: possible deadlock in htab_lock_bucket run #4: crashed: possible deadlock in htab_lock_bucket run #5: crashed: possible deadlock in htab_lock_bucket 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 htab_lock_bucket, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 41024e5ad9979fff0a38a52b4026ca7755ceb6321928ef18822ded1016b86aa2 run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: possible deadlock in htab_lock_bucket run #4: crashed: possible deadlock in htab_lock_bucket run #5: crashed: possible deadlock in htab_lock_bucket run #6: crashed: possible deadlock in htab_lock_bucket run #7: crashed: possible deadlock in htab_lock_bucket run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: possible deadlock in htab_lock_bucket, 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 6741e066ec7633450d3186946035c1f80c4226b8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 202ad1316e048a22ade5ac88ac72b2fd6251aff86791f1dc147967b1e6fb5ad4 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 [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 48d525b0e4634c487cf46a41c1e2824e9ee258ce testing commit 48d525b0e4634c487cf46a41c1e2824e9ee258ce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4557da24ea344c14bdb23b3865702f417209d1d1d84bcd203a6bf5f8ebf5e65a run #0: crashed: possible deadlock in htab_lock_bucket run #1: crashed: possible deadlock in htab_lock_bucket run #2: crashed: possible deadlock in htab_lock_bucket run #3: crashed: possible deadlock in htab_lock_bucket run #4: crashed: possible deadlock in htab_lock_bucket run #5: crashed: possible deadlock in htab_lock_bucket 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 htab_lock_bucket, types: [LOCKDEP UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h35m8.711166729s (build: 27m34.838480836s, test: 1h4m57.345153367s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.103 crash: possible deadlock in htab_lock_bucket ====================================================== WARNING: possible circular locking dependency detected 6.1.103-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.2/2897 is trying to acquire lock: ffff888100161b60 (&htab->lockdep_key#5){..-.}-{2:2}, at: htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 but task is already holding lock: ffff888100161c20 (&htab->lockdep_key#6){....}-{2:2}, at: htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&htab->lockdep_key#6){....}-{2:2}: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0x468/0x480 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x95/0xa0 kernel/locking/spinlock_debug.c:115 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __mutex_lock_common kernel/locking/mutex.c:612 [inline] __mutex_lock+0x808/0x970 kernel/locking/mutex.c:747 arch_jump_label_transform_queue+0x1e/0x60 arch/x86/kernel/jump_label.c:136 __jump_label_update+0x85/0xd0 kernel/jump_label.c:488 __static_key_slow_dec_cpuslocked+0x36/0x70 kernel/jump_label.c:288 __static_key_slow_dec kernel/jump_label.c:296 [inline] static_key_slow_dec+0x11/0x20 kernel/jump_label.c:311 bpf_stats_release+0x1a/0x30 kernel/bpf/syscall.c:4832 __fput+0x7a/0x220 fs/file_table.c:320 task_work_run+0x79/0xa0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd2/0xe0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xa2/0x100 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x5e/0x210 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> #0 (&htab->lockdep_key#5){..-.}-{2:2}: check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain kernel/locking/lockdep.c:3825 [inline] __lock_acquire+0x146d/0x2830 kernel/locking/lockdep.c:5049 lock_acquire+0xe3/0x270 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0x468/0x480 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x95/0xa0 kernel/locking/spinlock_debug.c:115 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __mutex_lock_common kernel/locking/mutex.c:612 [inline] __mutex_lock+0x808/0x970 kernel/locking/mutex.c:747 futex_cleanup_begin kernel/futex/core.c:1076 [inline] futex_exit_release+0x19/0xc0 kernel/futex/core.c:1128 exit_mm_release+0xe/0x20 kernel/fork.c:1505 exit_mm+0x33/0x150 kernel/exit.c:537 do_exit+0x237/0xa30 kernel/exit.c:858 do_group_exit+0x81/0xa0 kernel/exit.c:1021 get_signal+0x6fd/0x7a0 kernel/signal.c:2870 arch_do_signal_or_restart+0x8c/0x7c0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0xe0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xa2/0x100 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x5e/0x210 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&htab->lockdep_key#6); lock(&htab->lockdep_key#5); lock(&htab->lockdep_key#6); lock(&htab->lockdep_key#5); *** DEADLOCK *** 4 locks held by syz-executor.2/2897: #0: ffff88811b4ecb10 (&tsk->futex_exit_mutex){+.+.}-{3:3}, at: futex_cleanup_begin kernel/futex/core.c:1076 [inline] #0: ffff88811b4ecb10 (&tsk->futex_exit_mutex){+.+.}-{3:3}, at: futex_exit_release+0x19/0xc0 kernel/futex/core.c:1128 #1: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #1: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #1: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2272 [inline] #1: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x50/0x190 kernel/trace/bpf_trace.c:2312 #2: ffff888100161c20 (&htab->lockdep_key#6){....}-{2:2}, at: htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 #3: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #3: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #3: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2272 [inline] #3: ffffffff83186d60 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x50/0x190 kernel/trace/bpf_trace.c:2312 stack backtrace: CPU: 0 PID: 2897 Comm: syz-executor.2 Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x89/0xd7 lib/dump_stack.c:106 print_circular_bug+0x2c5/0x300 kernel/locking/lockdep.c:2048 check_noncircular+0x106/0x110 kernel/locking/lockdep.c:2170 check_prev_add kernel/locking/lockdep.c:3090 [inline] check_prevs_add kernel/locking/lockdep.c:3209 [inline] validate_chain kernel/locking/lockdep.c:3825 [inline] __lock_acquire+0x146d/0x2830 kernel/locking/lockdep.c:5049 lock_acquire+0xe3/0x270 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0x468/0x480 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x95/0xa0 kernel/locking/spinlock_debug.c:115 htab_lock_bucket+0x92/0x140 kernel/bpf/hashtab.c:166 htab_map_delete_elem+0x91/0x210 kernel/bpf/hashtab.c:1399 ____bpf_map_delete_elem kernel/bpf/helpers.c:73 [inline] bpf_map_delete_elem+0x38/0x40 kernel/bpf/helpers.c:69 ___bpf_prog_run+0x816/0x1b20 kernel/bpf/core.c:1842 __bpf_prog_run32+0xb7/0xe0 kernel/bpf/core.c:2068 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x161/0x190 kernel/trace/bpf_trace.c:2312 __traceiter_contention_end+0x26/0x40 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __mutex_lock_common kernel/locking/mutex.c:612 [inline] __mutex_lock+0x808/0x970 kernel/locking/mutex.c:747 futex_cleanup_begin kernel/futex/core.c:1076 [inline] futex_exit_release+0x19/0xc0 kernel/futex/core.c:1128 exit_mm_release+0xe/0x20 kernel/fork.c:1505 exit_mm+0x33/0x150 kernel/exit.c:537 do_exit+0x237/0xa30 kernel/exit.c:858 do_group_exit+0x81/0xa0 kernel/exit.c:1021 get_signal+0x6fd/0x7a0 kernel/signal.c:2870 arch_do_signal_or_restart+0x8c/0x7c0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0xe0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xa2/0x100 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x5e/0x210 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f4af4af9ea9 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:00007f4af467b178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4af4c27f88 RCX: 00007f4af4af9ea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4af4c27f88 RBP: 00007f4af4c27f80 R08: 00007f4af467b6c0 R09: 00007f4af467b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4af4c27f8c R13: 000000000000000b R14: 00007ffcbb53df20 R15: 00007ffcbb53e008