ci2 starts bisection 2026-10-09 19:25:18.37468564 +0000 UTC m=+6763.813807026 bisecting fixing commit since 3d6d817622b0a9721e3cc404df3469171582be13 building syzkaller on 359b2492fb73a5bf44731ae260190a27e877d5ca ensuring issue is reproducible on original commit 3d6d817622b0a9721e3cc404df3469171582be13 testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 8ff8578b6278e63da5a7e38f8bf92811b8dafa49e21fcfe826ce7189aa00555f all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] check whether we can drop unnecessary instrumentation disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 7cb1ac41f13125a58541668fd02a8028fa939e7884f9bdfdeed1f4bab4d48d45 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] the bug reproduces without the instrumentation disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed kconfig minimization: base=4169 full=8398 leaves diff=2092 split chunks (needed=false): <2092> split chunk #0 of len 2092 into 5 parts testing without sub-chunk 1/5 disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 628b8bc64a7a77901fceeb58ce4c3970a777ae9fa9da5642e3e49e0feec0d29b all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 4397c40b8aaecae50885038cd49643fc0d91aca632341ec6371cf36a7bb8947a all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 58fd49e47180ea7bf5dddaec04b698e69de38b5a95ce18b6d8a2fd1d86a5c6e7 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: dd62b3f04fe7fa090789fa2110b5b3745f49fc275beb6719920ccd776eeb3990 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit 3d6d817622b0a9721e3cc404df3469171582be13 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 4ed3547f59c100f6aab63646fe420318f65d764a6af2455f0e7ab71a241a1d5d all runs: OK false negative chance: 0.000 minimized to 416 configs; suspects: [ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT COMMON_CLK CONTIG_ALLOC DVB_CORE EXTCON GPIOLIB HID_ZEROPLUS I2C_MUX IIO IOMMUFD 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 NOP_USB_XCEIV 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_CHIPIDEA USB_CHIPIDEA_GENERIC USB_CHIPIDEA_HOST USB_CHIPIDEA_MSM USB_CHIPIDEA_NPCM USB_CHIPIDEA_PCI USB_CHIPIDEA_UDC USB_CONFIGFS USB_CONFIGFS_ACM 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_MIDI2 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_CONN_GPIO 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_GENERIC_PLAT USB_DWC3_HAPS USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_FSL 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_MIDI2 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_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_LGM_PHY USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3420_UDC USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_NET2280 USB_NET_AQC111 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_PCI_RENESAS USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USERFAULTFD USERIO 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 VETH VFIO VFIO_DEVICE_CDEV VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX 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 VIRT_XFER_TO_GUEST_WORK VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING WANT_DEV_COREDUMP WEXT_CORE WEXT_PROC WIREGUARD WIRELESS WLAN WLAN_VENDOR_ADMTEK WLAN_VENDOR_SILABS X86_FRED X86_SGX X86_SGX_KVM X86_USER_SHADOW_STACK XDP_SOCKETS XDP_SOCKETS_DIAG XFRM_ESPINTCP XFRM_INTERFACE XFRM_IPCOMP XFRM_MIGRATE XFRM_OFFLOAD XFRM_STATISTICS XFRM_SUB_POLICY XFRM_USER_COMPAT XFS_BTREE_IN_MEM XFS_DRAIN_INTENTS XFS_FS XFS_LIVE_HOOKS XFS_MEMORY_BUFS XFS_ONLINE_REPAIR XFS_ONLINE_SCRUB XFS_POSIX_ACL XFS_QUOTA XFS_RT XILLYBUS_CLASS XILLYUSB XOR_BLOCKS XOR_BLOCKS_ARCH YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZRAM ZRAM_BACKEND_FORCE_LZO ZRAM_BACKEND_LZO ZRAM_DEF_COMP_LZO ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_842 ZSWAP_DEFAULT_ON ZSWAP_SHRINKER_DEFAULT_ON] disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing current HEAD af32da41b0327b9c6a37856ba82b6760d6c8d10e testing commit af32da41b0327b9c6a37856ba82b6760d6c8d10e gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: d092a191f962cf33eb5a47d31def373911082ad5cf11a41eb12b4638c767accd all runs: OK false negative chance: 0.000 # git bisect start af32da41b0327b9c6a37856ba82b6760d6c8d10e 3d6d817622b0a9721e3cc404df3469171582be13 Bisecting: 10843 revisions left to test after this (roughly 13 steps) [56ea4e86832d8abe8930394473566c194d189f85] nstree: check listing permission before taking a namespace reference determine whether the revision contains the guilty commit revision 3d6d817622b0a9721e3cc404df3469171582be13 crashed and is reachable testing commit 56ea4e86832d8abe8930394473566c194d189f85 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: ba0250f620d15075dcae15703edf927896e35b4f21f1c27aec22518ed778e54a all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 56ea4e86832d8abe8930394473566c194d189f85 Bisecting: 5414 revisions left to test after this (roughly 12 steps) [70f5376dbdefa675adec0800e9f21f20a0dc0cbd] Merge tag 'tty-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty determine whether the revision contains the guilty commit revision 3d6d817622b0a9721e3cc404df3469171582be13 crashed and is reachable testing commit 70f5376dbdefa675adec0800e9f21f20a0dc0cbd gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 487321996896076cea2c34ddfb6ff09123906698227823d0e4cde291afde359c all runs: OK false negative chance: 0.000 # git bisect bad 70f5376dbdefa675adec0800e9f21f20a0dc0cbd Bisecting: 2703 revisions left to test after this (roughly 11 steps) [7199989f3f3194d653b024ce8e79cea6b15e38b9] Merge tag 'landlock-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux determine whether the revision contains the guilty commit revision 3d6d817622b0a9721e3cc404df3469171582be13 crashed and is reachable testing commit 7199989f3f3194d653b024ce8e79cea6b15e38b9 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 2821dde1a919c7b8206400e841f71b0748a616d555501096d46bba6938fa4e1b all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 7199989f3f3194d653b024ce8e79cea6b15e38b9 Bisecting: 1358 revisions left to test after this (roughly 10 steps) [a0300e8cf0ed685851232973ccadbf62681f7f6d] Merge tag 'configfs-for-v7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/a.hindborg/linux determine whether the revision contains the guilty commit revision 3d6d817622b0a9721e3cc404df3469171582be13 crashed and is reachable testing commit a0300e8cf0ed685851232973ccadbf62681f7f6d gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: be6836b4a19114ea3d02c3ebb951028c030c7e80a2fb63c441c4f0c91b83b9de all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good a0300e8cf0ed685851232973ccadbf62681f7f6d Bisecting: 827 revisions left to test after this (roughly 9 steps) [8992f32c57607bdfaf5de2a2cd26b3b71f3a9d55] Merge tag 'coresight-next-v7.3' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux into char-misc-next determine whether the revision contains the guilty commit checking the merge base f5098b6bae761e346ebcd9da7f95622c04733cff no existing result, test the revision testing commit f5098b6bae761e346ebcd9da7f95622c04733cff gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: bc0d3c03ab453129783c6adf84a2e8a5fa19c6435c72f95ae2a5c553ebcfd75b all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] testing commit 8992f32c57607bdfaf5de2a2cd26b3b71f3a9d55 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 134de0e1d2e1d64a221c7ad824a6dc00cf1b50da7d15280aa3c13d95a116c8da all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 8992f32c57607bdfaf5de2a2cd26b3b71f3a9d55 Bisecting: 458 revisions left to test after this (roughly 9 steps) [93e4b3076b5f2d853462b9777d083c77fc0b7b23] Merge tag 'char-misc-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc determine whether the revision contains the guilty commit revision 7199989f3f3194d653b024ce8e79cea6b15e38b9 crashed and is reachable testing commit 93e4b3076b5f2d853462b9777d083c77fc0b7b23 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 624e229de99746c54050319c2c1757953793d43da5e264c5eecc2185ad80e0cd all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 93e4b3076b5f2d853462b9777d083c77fc0b7b23 Bisecting: 269 revisions left to test after this (roughly 8 steps) [29b0977977d7b77b192e434d1a94628cf006f795] Merge tag 'staging-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging determine whether the revision contains the guilty commit revision a0300e8cf0ed685851232973ccadbf62681f7f6d crashed and is reachable testing commit 29b0977977d7b77b192e434d1a94628cf006f795 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 902af407c8e9c20ba204e233a1b6c01486a19a28eb020bd2129ab7d1251c5181 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 29b0977977d7b77b192e434d1a94628cf006f795 Bisecting: 134 revisions left to test after this (roughly 7 steps) [5b1da38592efdc1a263d4c0353298cba19e9d6fc] usb: gadget: uvc: Fix null pointer dereference in uvcg_video_init() determine whether the revision contains the guilty commit revision f5098b6bae761e346ebcd9da7f95622c04733cff crashed and is reachable testing commit 5b1da38592efdc1a263d4c0353298cba19e9d6fc gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 25a135923be03636b6a7e00a814577637ba8957fd9848fe0a3694a695576631c all runs: OK false negative chance: 0.000 # git bisect bad 5b1da38592efdc1a263d4c0353298cba19e9d6fc Bisecting: 67 revisions left to test after this (roughly 6 steps) [b60af0b9e752aa77f29daac026dd2314cc2a0bb0] Merge 7.2-rc3 into usb-next determine whether the revision contains the guilty commit checking the merge base a13c140cc289c0b7b3770bce5b3ad42ab35074aa no existing result, test the revision testing commit a13c140cc289c0b7b3770bce5b3ad42ab35074aa gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: f3cd8eb41372fb6d3e12e70eb1c8aef46d12e3d63d9cdcd9506af06012b85d7d all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] testing commit b60af0b9e752aa77f29daac026dd2314cc2a0bb0 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: e369a739ed810f7e39c16ff05250fe6e174fc954a466131ec20ab3b15898c256 all runs: OK false negative chance: 0.000 # git bisect bad b60af0b9e752aa77f29daac026dd2314cc2a0bb0 Bisecting: 33 revisions left to test after this (roughly 5 steps) [0f0ea552cd215a01baca1e99eec02e2f8df0c897] usb: gadget: f_fs: Introduce rw_proxy file descriptors determine whether the revision contains the guilty commit checking the merge base dc59e4fea9d83f03bad6bddf3fa2e52491777482 no existing result, test the revision testing commit dc59e4fea9d83f03bad6bddf3fa2e52491777482 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 33c035f213078a18634449e1fa21c0512822375ccc650593ff210626d6c4dfa4 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] testing commit 0f0ea552cd215a01baca1e99eec02e2f8df0c897 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 65379461bc6c2898a0bf24fbe349a5f496c993fb0c8f48bc000a90fc6ec78153 all runs: OK false negative chance: 0.000 # git bisect bad 0f0ea552cd215a01baca1e99eec02e2f8df0c897 Bisecting: 16 revisions left to test after this (roughly 4 steps) [8c4871a4fa9776cca9185066253955cbd55e358b] usb: typec: tipd: name TPS_REG_POWER_STATUS field masks determine whether the revision contains the guilty commit revision dc59e4fea9d83f03bad6bddf3fa2e52491777482 crashed and is reachable testing commit 8c4871a4fa9776cca9185066253955cbd55e358b gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 448f24ad8c2e46ee7605c491d7e86218778cf1e11ae23a47efbb51c624038d2f all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 8c4871a4fa9776cca9185066253955cbd55e358b Bisecting: 8 revisions left to test after this (roughly 3 steps) [f23526d9cd97a0a60af252bbda3912035c21d7c3] usb: dwc3: qcom: make dwc3_qcom_glue_ops static determine whether the revision contains the guilty commit revision dc59e4fea9d83f03bad6bddf3fa2e52491777482 crashed and is reachable testing commit f23526d9cd97a0a60af252bbda3912035c21d7c3 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 94787f728071fc42f57241f35ae6130cc447f249c0dfa8ee100dd080a36caa85 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good f23526d9cd97a0a60af252bbda3912035c21d7c3 Bisecting: 4 revisions left to test after this (roughly 2 steps) [b106bebc8dae8dd91b9578bc035c151a8ee8a651] usb: mtu3: add support remote wakeup of mt8196 determine whether the revision contains the guilty commit revision dc59e4fea9d83f03bad6bddf3fa2e52491777482 crashed and is reachable testing commit b106bebc8dae8dd91b9578bc035c151a8ee8a651 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 4e11ae3b850f9638316d1203155924320410525c2be0fad2ef0c309a84f0fb63 all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good b106bebc8dae8dd91b9578bc035c151a8ee8a651 Bisecting: 2 revisions left to test after this (roughly 1 step) [844d83d5964b87919b958ff48405188c6ddae9cc] usb: gadget: uac: validate rate list length before storing determine whether the revision contains the guilty commit revision f23526d9cd97a0a60af252bbda3912035c21d7c3 crashed and is reachable testing commit 844d83d5964b87919b958ff48405188c6ddae9cc gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 1969193a7cd21777883b6058adcd9fe83157ed6f6fd1a523ff489391c7a71bbe all runs: OK false negative chance: 0.000 # git bisect bad 844d83d5964b87919b958ff48405188c6ddae9cc Bisecting: 0 revisions left to test after this (roughly 0 steps) [38ae123357127c1673ebd221ff58b66d7a6987e3] docs/zh_CN: usb: refine translated wording and formatting determine whether the revision contains the guilty commit revision f23526d9cd97a0a60af252bbda3912035c21d7c3 crashed and is reachable testing commit 38ae123357127c1673ebd221ff58b66d7a6987e3 gcc compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 kernel signature: 1363ee0ac365052803a2b0ea4d61e8b7912c1385aadc79b4546ff6ff168ad94e all runs: crashed: KASAN: invalid-free in f_uac2_opts_p_srate_store representative crash: KASAN: invalid-free in f_uac2_opts_p_srate_store, types: [KASAN-INVALID-FREE] # git bisect good 38ae123357127c1673ebd221ff58b66d7a6987e3 844d83d5964b87919b958ff48405188c6ddae9cc is the first bad commit commit 844d83d5964b87919b958ff48405188c6ddae9cc Author: Qing Ming Date: Tue May 19 22:33:19 2026 +0800 usb: gadget: uac: validate rate list length before storing UAC1 and UAC2 configfs rate-list attributes parse a comma-separated list of sampling rates and store each parsed value in fixed-size arrays. The arrays have UAC_MAX_RATES entries, but the store paths do not check that the input contains at most that many tokens before writing through opts->name##s[i++]. Writing more than ten rates therefore writes past the end of the p_srates[] or c_srates[] array in struct f_uac1_opts or struct f_uac2_opts. With CONFIG_UBSAN_BOUNDS enabled, writing an 11-entry rate list to the UAC1 p_srate attribute reports: UBSAN: array-index-out-of-bounds drivers/usb/gadget/function/f_uac1.c:1669:1 index 10 is out of range for type 'int [10]' __ubsan_handle_out_of_bounds.cold f_uac1_opts_p_srate_store configfs_write_iter vfs_write ksys_write do_syscall_64 The same reproducer against the UAC2 p_srate attribute reports: UBSAN: array-index-out-of-bounds drivers/usb/gadget/function/f_uac2.c:2087:1 index 10 is out of range for type 'int [10]' __ubsan_handle_out_of_bounds.cold f_uac2_opts_p_srate_store configfs_write_iter vfs_write ksys_write do_syscall_64 Reject additional tokens once UAC_MAX_RATES entries have been parsed. Also keep the original kstrdup() pointer for kfree(), because strsep() advances the parsing cursor. Freeing the advanced cursor leaks the original buffer on successful parses and can free an interior pointer on some error paths. Fixes: 695d39ffc2b5 ("usb: gadget: f_uac1: Support multiple sampling rates") Fixes: a7339e4f5788 ("usb: gadget: f_uac2: Support multiple sampling rates") Signed-off-by: Qing Ming Link: https://patch.msgid.link/20260519143319.147494-1-a0yami@mailbox.org Signed-off-by: Greg Kroah-Hartman drivers/usb/gadget/function/f_uac1.c | 13 +++++++++---- drivers/usb/gadget/function/f_uac2.c | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) accumulated error probability: 0.00 culprit signature: 1969193a7cd21777883b6058adcd9fe83157ed6f6fd1a523ff489391c7a71bbe parent signature: 1363ee0ac365052803a2b0ea4d61e8b7912c1385aadc79b4546ff6ff168ad94e revisions tested: 26, total time: 8h26m1.73797189s (build: 3h8m24.733480884s, test: 4h14m39.14021222s) first good commit: 844d83d5964b87919b958ff48405188c6ddae9cc usb: gadget: uac: validate rate list length before storing recipients (to): ["a0yami@mailbox.org" "gregkh@linuxfoundation.org"] recipients (cc): []