ci starts bisection 2024-04-13 10:30:17.375014678 +0000 UTC m=+43893.097130168 bisecting cause commit starting from fe46a7dd189e25604716c03576d05ac8a5209743 building syzkaller on 56086b24bdfd822d3b227edb3064db443cd8c971 ensuring issue is reproducible on original commit fe46a7dd189e25604716c03576d05ac8a5209743 testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f8d0ebd9346ba312850820486eca5e46dc226c5afba8de1be04882336c5fabb1 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ee0b051edc1488b03814e4a5453adfc088ccf8f50d7e904cc3d13c5aca8fb20 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3979 full=7986 leaves diff=2010 split chunks (needed=false): <2010> split chunk #0 of len 2010 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c730c1e74e58ffddd9970a39ad3c7be7705bf3f2a925dd178e941c67c6e545ff all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f02e4ad29cd49d86dd848b8a99b11ca68f2bd6c4cd63b0d4a250696ecf753c7a all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4cdbf517acca63c45fbf319f1d7e7e852eae207a15a37d2edddde2c99c1e394 run #0: crashed: inconsistent lock state in snd_timer_interrupt run #1: crashed: inconsistent lock state in snd_timer_interrupt run #2: crashed: inconsistent lock state in snd_timer_interrupt run #3: crashed: inconsistent lock state in snd_timer_interrupt run #4: crashed: inconsistent lock state in snd_timer_interrupt run #5: crashed: inconsistent lock state in snd_timer_interrupt run #6: crashed: inconsistent lock state in snd_timer_interrupt run #7: crashed: inconsistent lock state in snd_timer_interrupt run #8: crashed: inconsistent lock state in snd_timer_interrupt run #9: OK representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5853d343a35f155636e1ea906870eff7acfd3bfe9cf4deb4e4fb9322f26724cd all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit fe46a7dd189e25604716c03576d05ac8a5209743 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 88f6d9ddb7b8f0783f1c0cea04537b4c4df9e7e5340ee057439934d5a94be177 all runs: OK false negative chance: 0.000 minimized to 402 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_ZSTD DVB_CORE EXTCON FB GPIOLIB HAVE_KVM HID_ZEROPLUS HW_CONSOLE I2C_MUX IIO IOMMUFD 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_ECM USB_CONFIGFS_ECM_SUBSET USB_CONFIGFS_EEM USB_CONFIGFS_F_FS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI 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_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_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_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 UVC_COMMON 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_DEVICE_CDEV 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_TASK VHOST_VDPA VHOST_VSOCK VIDEO 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_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_USER_SHADOW_STACK X86_X2APIC X86_X32_ABI 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 ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_SHRINKER_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZSMALLOC] disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed picked [v6.8 v6.7 v6.6 v6.4 v6.2 v6.0 v5.18 v5.16 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 31 release tags testing release v6.8 testing commit e8f897f4afef0031fe618a8e94127a0934896aba gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8b212eaa96677a74600dad170118dbe0e5c5aa2d2324f6c229114e84882808ec all runs: OK false negative chance: 0.000 # git bisect start fe46a7dd189e25604716c03576d05ac8a5209743 e8f897f4afef0031fe618a8e94127a0934896aba Bisecting: 3748 revisions left to test after this (roughly 12 steps) [9187210eee7d87eea37b45ea93454a88681894a4] Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 9187210eee7d87eea37b45ea93454a88681894a4 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9095cb919519571d0c55087730629b0dffc4a1dfd8d5e29039f0dbca9e03c818 all runs: OK false negative chance: 0.000 # git bisect good 9187210eee7d87eea37b45ea93454a88681894a4 Bisecting: 2295 revisions left to test after this (roughly 11 steps) [119b225f01e4d3ce974cd3b4d982c76a380c796d] Merge tag 'amd-drm-next-6.9-2024-03-08-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next testing commit 119b225f01e4d3ce974cd3b4d982c76a380c796d gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b453385c530673cfc674b12f24d1fcf7c242e36d56af5c607a0d2cb15334b6cc all runs: OK false negative chance: 0.000 # git bisect good 119b225f01e4d3ce974cd3b4d982c76a380c796d Bisecting: 1148 revisions left to test after this (roughly 10 steps) [70ef654469b371d0a71bcf967fa3dcbca05d4b25] Merge tag 'efi-next-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi testing commit 70ef654469b371d0a71bcf967fa3dcbca05d4b25 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53d07ba9fc32284c8f933dbd0fd2f400dd437c664249d145a3f75031e89f58db all runs: OK false negative chance: 0.000 # git bisect good 70ef654469b371d0a71bcf967fa3dcbca05d4b25 Bisecting: 589 revisions left to test after this (roughly 9 steps) [8403ce70be339d462892a2b935ae30ee52416f92] Merge tag 'mfd-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd testing commit 8403ce70be339d462892a2b935ae30ee52416f92 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 70aea6ea8c09505aa29938c433c7a86dfc5d3bde20de0ea52cf1275c795bed58 all runs: OK false negative chance: 0.000 # git bisect good 8403ce70be339d462892a2b935ae30ee52416f92 Bisecting: 266 revisions left to test after this (roughly 8 steps) [f5d9ddf1214bf878ca69c905c2f410c5b51de99c] Merge tag 'asoc-v6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus testing commit f5d9ddf1214bf878ca69c905c2f410c5b51de99c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b223187fe17888ee4a7e9956eeb7c2f62674af295e13a11e8421f3e5b1c327f4 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad f5d9ddf1214bf878ca69c905c2f410c5b51de99c Bisecting: 162 revisions left to test after this (roughly 7 steps) [c06a7a8e885753a024163bbb0dfd7349e8054643] ASoC: dt-bindings: microchip: add sam9x7 testing commit c06a7a8e885753a024163bbb0dfd7349e8054643 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6d03e4b53c26f95a98cd41cde3d51e28e337d6552bb32029a0a571154c58f447 all runs: OK false negative chance: 0.000 # git bisect good c06a7a8e885753a024163bbb0dfd7349e8054643 Bisecting: 81 revisions left to test after this (roughly 6 steps) [d648843aa4742377b22e273c80d575e98195930f] ALSA: compress_offload: Use guard() for locking testing commit d648843aa4742377b22e273c80d575e98195930f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0473c85dca9a551513a5b69b51eb223bb7f69c85ea42a789f007c3e78dcc8655 all runs: OK false negative chance: 0.000 # git bisect good d648843aa4742377b22e273c80d575e98195930f Bisecting: 40 revisions left to test after this (roughly 5 steps) [5f51de7e30c7282162a631af8a425b54a4576346] ALSA: hda/tas2781: do not call pm_runtime_force_* in system_resume/suspend testing commit 5f51de7e30c7282162a631af8a425b54a4576346 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8768ba7195cb1bdf2861fb593fbf56f82211a6b0ab50f3a5abbbce3b0c508be0 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad 5f51de7e30c7282162a631af8a425b54a4576346 Bisecting: 20 revisions left to test after this (roughly 4 steps) [650224fe8d5f6dbe6cc5875d14bf80da60dd56f8] ALSA: pcm: Use guard() for PCM stream locks testing commit 650224fe8d5f6dbe6cc5875d14bf80da60dd56f8 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa07286d8f16726688bacac55b40f1435f11a7255342971754578545a5e88ec2 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad 650224fe8d5f6dbe6cc5875d14bf80da60dd56f8 Bisecting: 9 revisions left to test after this (roughly 3 steps) [68f014a58b6540847b0939a9a4023ed6eb834608] ALSA: seq: fifo: Use guard() for locking testing commit 68f014a58b6540847b0939a9a4023ed6eb834608 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b3a1172f207bb5d96b80c44f080c3e2059526886a33a1032c4cf73adb4ebae1f all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad 68f014a58b6540847b0939a9a4023ed6eb834608 Bisecting: 4 revisions left to test after this (roughly 2 steps) [2dc49651fca1e8ecd6c177cd9b576a26761a5cdf] ALSA: mixer_oss: Use guard() for locking testing commit 2dc49651fca1e8ecd6c177cd9b576a26761a5cdf gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa2b99ddcfe3cd5848f3dd30996cf0f1c667d1966140f8feb2896e73340faee0 all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad 2dc49651fca1e8ecd6c177cd9b576a26761a5cdf Bisecting: 2 revisions left to test after this (roughly 1 step) [b04892691d2659a592eaaa0444d60eb12cfa4df8] ALSA: hrtimer: Use guard() for locking testing commit b04892691d2659a592eaaa0444d60eb12cfa4df8 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b9055d105394ee7417aeeec8bde3ebeb5caeb6c7428731b460ac15f647d6e34e all runs: crashed: inconsistent lock state in snd_timer_interrupt representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad b04892691d2659a592eaaa0444d60eb12cfa4df8 Bisecting: 0 revisions left to test after this (roughly 0 steps) [beb45974dd49068b24788bbfc2abe20d50503761] ALSA: timer: Use guard() for locking testing commit beb45974dd49068b24788bbfc2abe20d50503761 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 709cd4dc9c1705568f523b546d0c2c0da12b442b0054fcb5ff1ce6bf4e3b2e63 run #0: crashed: inconsistent lock state in snd_timer_interrupt run #1: crashed: inconsistent lock state in snd_timer_interrupt run #2: crashed: inconsistent lock state in snd_timer_interrupt run #3: crashed: inconsistent lock state in snd_timer_interrupt run #4: crashed: inconsistent lock state in snd_timer_interrupt run #5: crashed: inconsistent lock state in snd_timer_interrupt run #6: crashed: inconsistent lock state in snd_timer_interrupt run #7: crashed: inconsistent lock state in snd_timer_interrupt run #8: crashed: inconsistent lock state in snd_timer_interrupt run #9: OK representative crash: inconsistent lock state in snd_timer_interrupt, types: [LOCKDEP] # git bisect bad beb45974dd49068b24788bbfc2abe20d50503761 beb45974dd49068b24788bbfc2abe20d50503761 is the first bad commit commit beb45974dd49068b24788bbfc2abe20d50503761 Author: Takashi Iwai Date: Tue Feb 27 09:52:45 2024 +0100 ALSA: timer: Use guard() for locking We can simplify the code gracefully with new guard() macro and co for automatic cleanup of locks. For making changes easier, some functions widen the application of register_mutex, but those shouldn't influence on any actual performance. Also, one code block was factored out as a function so that guard() can be applied cleanly without much indentation. There are still a few remaining explicit spin_lock/unlock calls, and those are for the places where we do temporary unlock/relock, which doesn't fit well with the guard(), so far. Only the code refactoring, and no functional changes. Signed-off-by: Takashi Iwai Link: https://lore.kernel.org/r/20240227085306.9764-4-tiwai@suse.de sound/core/timer.c | 429 +++++++++++++++++++--------------------------- sound/core/timer_compat.c | 7 +- 2 files changed, 177 insertions(+), 259 deletions(-) accumulated error probability: 0.00 culprit signature: 709cd4dc9c1705568f523b546d0c2c0da12b442b0054fcb5ff1ce6bf4e3b2e63 parent signature: 0473c85dca9a551513a5b69b51eb223bb7f69c85ea42a789f007c3e78dcc8655 revisions tested: 21, total time: 15h0m15.12539162s (build: 9h45m47.407326981s, test: 5h0m27.689183064s) first bad commit: beb45974dd49068b24788bbfc2abe20d50503761 ALSA: timer: Use guard() for locking recipients (to): ["linux-sound@vger.kernel.org" "perex@perex.cz" "tiwai@suse.com" "tiwai@suse.de"] recipients (cc): ["cujomalainey@chromium.org" "linux-kernel@vger.kernel.org" "oswald.buddenhagen@gmx.de"] crash: inconsistent lock state in snd_timer_interrupt ================================ WARNING: inconsistent lock state 6.8.0-rc2-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. udevd/1928 [HC0[0]:SC1[1]:HE0:SE0] takes: ffff8881023f3148 (&timer->lock){+.?.}-{2:2}, at: class_spinlock_irqsave_constructor include/linux/spinlock.h:574 [inline] ffff8881023f3148 (&timer->lock){+.?.}-{2:2}, at: snd_timer_interrupt.part.0+0x23/0x3f0 sound/core/timer.c:818 {SOFTIRQ-ON-W} state was registered at: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0xcd/0x2d0 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] class_spinlock_constructor include/linux/spinlock.h:561 [inline] snd_timer_close_locked+0x2e/0x2f0 sound/core/timer.c:412 snd_timer_close sound/core/timer.c:464 [inline] snd_timer_user_release+0x76/0x140 sound/core/timer.c:1468 __fput+0x8d/0x2c0 fs/file_table.c:376 __do_sys_close fs/open.c:1554 [inline] __se_sys_close fs/open.c:1539 [inline] __x64_sys_close+0x38/0x80 fs/open.c:1539 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x86/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 irq event stamp: 603783 hardirqs last enabled at (603782): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (603782): [] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202 hardirqs last disabled at (603783): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (603783): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (596962): [] invoke_softirq kernel/softirq.c:427 [inline] softirqs last enabled at (596962): [] __irq_exit_rcu kernel/softirq.c:632 [inline] softirqs last enabled at (596962): [] irq_exit_rcu+0x8e/0xf0 kernel/softirq.c:644 softirqs last disabled at (603779): [] invoke_softirq kernel/softirq.c:427 [inline] softirqs last disabled at (603779): [] __irq_exit_rcu kernel/softirq.c:632 [inline] softirqs last disabled at (603779): [] irq_exit_rcu+0x8e/0xf0 kernel/softirq.c:644 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&timer->lock); lock(&timer->lock); *** DEADLOCK *** 1 lock held by udevd/1928: #0: ffffc900001b3dc8 ((&priv->tlist)){+.-.}-{0:0}, at: call_timer_fn+0x6c/0x1d0 kernel/time/timer.c:1697 stack backtrace: CPU: 1 PID: 1928 Comm: udevd Not tainted 6.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5c/0xc0 lib/dump_stack.c:106 print_usage_bug kernel/locking/lockdep.c:3971 [inline] valid_state kernel/locking/lockdep.c:4013 [inline] mark_lock_irq kernel/locking/lockdep.c:4216 [inline] mark_lock+0x621/0x750 kernel/locking/lockdep.c:4678 mark_usage kernel/locking/lockdep.c:4567 [inline] __lock_acquire+0xade/0x1a90 kernel/locking/lockdep.c:5091 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0xcd/0x2d0 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 class_spinlock_irqsave_constructor include/linux/spinlock.h:574 [inline] snd_timer_interrupt.part.0+0x23/0x3f0 sound/core/timer.c:818 call_timer_fn+0x9a/0x1d0 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x1dd/0x2a0 kernel/time/timer.c:2038 run_timer_softirq+0x2a/0x50 kernel/time/timer.c:2051 __do_softirq+0x161/0x42a kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0x8e/0xf0 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x57/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0033:0x7fc3303ba41e Code: 29 c5 48 01 c3 48 8b 55 08 48 83 e2 f8 48 39 c2 0f 85 f9 fc ff ff 48 89 ef e8 78 f5 ff ff 4d 39 6e 60 74 6e 43 f6 44 25 08 01 <75> 0d 4c 89 ef 4c 01 e3 e8 5f f5 ff ff eb 05 49 83 65 08 fe 49 8b RSP: 002b:00007ffdd520ba50 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000008040 RCX: 0000000000000802 RDX: 0000000000020c80 RSI: 000056190e2cc010 RDI: 00007fc3304a893d RBP: 000056190e321d30 R08: 0000000000000000 R09: 0000000001000000 R10: 0000000000000812 R11: 0000000000000293 R12: 0000000000002cc0 R13: 000056190e329d70 R14: 00007fc3304e4aa0 R15: 0000000000000000