ci starts bisection 2023-07-15 08:47:27.646858039 +0000 UTC m=+39492.596689426 bisecting fixing commit since 89d77f71f493a3663b10fa812d17f472935d24be building syzkaller on 62df2017e3b1edd786a4c737bd4ccba2b4581d88 ensuring issue is reproducible on original commit 89d77f71f493a3663b10fa812d17f472935d24be testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ba6bfad83171363f5f4d14b82ed1d4d0a3e9dddea5bcc75eb16f8ca9479a8e79 all runs: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c5e542eee448d06bc0cb0ad782818dfb379289da1c491e17806ab703e2a4e3e6 all runs: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed kconfig minimization: base=3883 full=7593 leaves diff=2000 split chunks (needed=false): <2000> split chunk #0 of len 2000 into 5 parts testing without sub-chunk 1/5 testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e63dd639228ad00991c5c5abe6e7d8b9d02e87acba60ecd4d5495b6457d7a110 all runs: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f804c693db3239046835dd62dadf122824090db24f7b8776bcec2df729ca6b86 run #0: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #1: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #2: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #3: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #4: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #5: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #6: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #7: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #8: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #9: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #10: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #11: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #12: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #13: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #14: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #15: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #16: OK run #17: OK representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e64b8ff28a4cbb17d51b89af7a0a59ed58c59bcdcabcac2dca2736e79adec668 run #0: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #1: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #2: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #3: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #4: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #5: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #6: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #7: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #8: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #9: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #10: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #11: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #12: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #13: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #14: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #15: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #16: OK run #17: OK representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 235424988a364fb811fe5091ae5690ea844d7c344fee5f7eb0d5b7eb5474c332 run #0: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #1: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #2: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #3: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #4: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #5: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #6: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #7: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 testing commit 89d77f71f493a3663b10fa812d17f472935d24be gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0e012fb13db6d30f2a5e33ac66f7f1bd4190e908e9a1d2d3e6abce36f5fe5568 all runs: OK false negative chance: 0.000 minimized to 400 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 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_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_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_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_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 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_CMDLINE 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_NOMODESET 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_FEATURE_NAMES 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 XFS_SUPPORT_V4 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_ZPOOL_DEFAULT_ZBUD] disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD b6e6cc1f78c772e952495b7416c9ac9029f9390c testing commit b6e6cc1f78c772e952495b7416c9ac9029f9390c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e06ed8feb3882a0c5ee03d10802c0dd5014e111f21525f86216974424c556ce run #0: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #1: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #2: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #3: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #4: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #5: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #6: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #7: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #8: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #9: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #10: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #11: crashed: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK run #20: OK run #21: OK run #22: OK run #23: OK run #24: OK run #25: OK representative crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups, types: [KASAN] crash still not fixed/happens on the oldest tested release reproducer is flaky (1.00 repro chance estimate) revisions tested: 8, total time: 2h9m56.191625784s (build: 51m6.744753352s, test: 1h16m20.015741653s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge tag 'x86_urgent_for_6.5_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip crash: KASAN: slab-use-after-free Write in usb_anchor_suspend_wakeups ================================================================== BUG: KASAN: slab-use-after-free in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: slab-use-after-free in atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline] BUG: KASAN: slab-use-after-free in usb_anchor_suspend_wakeups drivers/usb/core/urb.c:942 [inline] BUG: KASAN: slab-use-after-free in usb_anchor_suspend_wakeups+0x1e/0x30 drivers/usb/core/urb.c:939 Write of size 4 at addr ffff888123036910 by task swapper/1/0 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xc4/0x620 mm/kasan/report.c:475 kasan_report+0xda/0x110 mm/kasan/report.c:588 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0xef/0x190 mm/kasan/generic.c:187 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline] usb_anchor_suspend_wakeups drivers/usb/core/urb.c:942 [inline] usb_anchor_suspend_wakeups+0x1e/0x30 drivers/usb/core/urb.c:939 __usb_hcd_giveback_urb+0x1d5/0x3f0 drivers/usb/core/hcd.c:1658 dummy_timer+0x10a7/0x3610 drivers/usb/gadget/udc/dummy_hcd.c:1987 call_timer_fn+0x159/0x370 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x4d7/0x890 kernel/time/timer.c:2022 run_timer_softirq+0x4d/0xb0 kernel/time/timer.c:2035 __do_softirq+0x250/0x672 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0x85/0xe0 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:__intel_idle_hlt drivers/idle/intel_idle.c:206 [inline] RIP: 0010:intel_idle_hlt+0x11/0x20 drivers/idle/intel_idle.c:224 Code: a8 08 0f 84 7a ff ff ff eb bb 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 89 d0 66 90 0f 00 2d b1 06 56 00 fb f4 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 89 d0 fb RSP: 0018:ffffc9000012fda8 EFLAGS: 00000256 RAX: 0000000000000001 RBX: ffffe8ffffd03b20 RCX: ffffffff84915e9f RDX: 0000000000000001 RSI: ffffffff85f3aa20 RDI: ffffe8ffffd03b20 RBP: ffffffff85f3aa20 R08: 0000000000000001 R09: ffffed103ede6cf5 R10: ffff8881f6f367ab R11: 00000000000001e8 R12: 0000000000000001 R13: ffffffff85f3aaa0 R14: 0000000000000001 R15: 0000000000000000 cpuidle_enter_state+0x77/0x2a0 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x49/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x2e8/0x3d0 kernel/sched/idle.c:282 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 start_secondary+0x1f5/0x270 arch/x86/kernel/smpboot.c:326 secondary_startup_64_no_verify+0x167/0x16b Allocated by task 3860: kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kmalloc include/linux/slab.h:582 [inline] kzalloc include/linux/slab.h:703 [inline] usbtmc_open+0x9c/0x950 drivers/usb/class/usbtmc.c:175 usb_open+0x1c2/0x250 drivers/usb/core/file.c:48 chrdev_open+0x21a/0x620 fs/char_dev.c:414 do_dentry_open+0x5db/0x1200 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x18b8/0x27c0 fs/namei.c:3793 do_filp_open+0x1bc/0x400 fs/namei.c:3820 do_sys_openat2+0x12c/0x170 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x134/0x1d0 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 3860: kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15e/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1792 [inline] slab_free_freelist_hook+0x10b/0x1e0 mm/slub.c:1818 slab_free mm/slub.c:3801 [inline] __kmem_cache_free+0xba/0x340 mm/slub.c:3814 usbtmc_release+0x233/0x340 drivers/usb/class/usbtmc.c:261 __fput+0x33f/0xa20 fs/file_table.c:384 task_work_run+0x114/0x1f0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x161/0x170 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff888123036800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 272 bytes inside of freed 1024-byte region [ffff888123036800, ffff888123036c00) The buggy address belongs to the physical page: page:ffffea00048c0c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x123030 head:ffffea00048c0c00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0x200000000010200(slab|head|node=0|zone=2) page_type: 0xffffffff() raw: 0200000000010200 ffff888100041dc0 0000000000000000 0000000000000001 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 2245, tgid 2245 (kworker/0:3), ts 75638035446, free_ts 75636840367 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x281/0x2f0 mm/page_alloc.c:1570 prep_new_page mm/page_alloc.c:1577 [inline] get_page_from_freelist+0xd6d/0x3420 mm/page_alloc.c:3221 __alloc_pages+0x1d0/0x470 mm/page_alloc.c:4477 alloc_slab_page mm/slub.c:1862 [inline] allocate_slab+0x24e/0x360 mm/slub.c:2009 new_slab mm/slub.c:2062 [inline] ___slab_alloc+0x7a7/0x1000 mm/slub.c:3215 __slab_alloc.constprop.0+0x4d/0x90 mm/slub.c:3314 __slab_alloc_node mm/slub.c:3367 [inline] slab_alloc_node mm/slub.c:3460 [inline] __kmem_cache_alloc_node+0x143/0x390 mm/slub.c:3509 __do_kmalloc_node mm/slab_common.c:984 [inline] __kmalloc_node_track_caller+0x4d/0x160 mm/slab_common.c:1005 kmalloc_reserve+0xb5/0x1f0 net/core/skbuff.c:575 __alloc_skb+0xd4/0x270 net/core/skbuff.c:644 alloc_skb include/linux/skbuff.h:1289 [inline] nlmsg_new include/net/netlink.h:1003 [inline] inet6_rt_notify+0xd6/0x270 net/ipv6/route.c:6170 fib6_add_rt2node net/ipv6/ip6_fib.c:1251 [inline] fib6_add+0x29f6/0x4e10 net/ipv6/ip6_fib.c:1477 __ip6_ins_rt net/ipv6/route.c:1301 [inline] ip6_route_add+0x6b/0xf0 net/ipv6/route.c:3844 addrconf_add_mroute+0x11b/0x170 net/ipv6/addrconf.c:2488 addrconf_add_dev+0x138/0x1d0 net/ipv6/addrconf.c:2506 addrconf_dev_config net/ipv6/addrconf.c:3381 [inline] addrconf_init_auto_addrs+0x789/0xc60 net/ipv6/addrconf.c:3468 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1161 [inline] free_unref_page_prepare+0x5ac/0xcf0 mm/page_alloc.c:2348 free_unref_page+0x33/0x350 mm/page_alloc.c:2443 __unfreeze_partials+0x1f1/0x210 mm/slub.c:2647 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x17d/0x1b0 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:186 [inline] slab_post_alloc_hook mm/slab.h:762 [inline] slab_alloc_node mm/slub.c:3470 [inline] __kmem_cache_alloc_node+0x1ac/0x390 mm/slub.c:3509 __do_kmalloc_node mm/slab_common.c:984 [inline] __kmalloc+0x4c/0x160 mm/slab_common.c:998 kmalloc include/linux/slab.h:586 [inline] kzalloc include/linux/slab.h:703 [inline] fib6_info_alloc+0x24/0xd0 net/ipv6/ip6_fib.c:155 ip6_route_info_create+0x2b3/0x1820 net/ipv6/route.c:3746 ip6_route_add+0x17/0xf0 net/ipv6/route.c:3840 addrconf_add_mroute+0x11b/0x170 net/ipv6/addrconf.c:2488 addrconf_add_dev+0x138/0x1d0 net/ipv6/addrconf.c:2506 addrconf_dev_config net/ipv6/addrconf.c:3381 [inline] addrconf_init_auto_addrs+0x789/0xc60 net/ipv6/addrconf.c:3468 addrconf_notify+0xd44/0x1290 net/ipv6/addrconf.c:3641 notifier_call_chain+0x95/0x260 kernel/notifier.c:93 Memory state around the buggy address: ffff888123036800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888123036880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888123036900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888123036980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888123036a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: a8 08 test $0x8,%al 2: 0f 84 7a ff ff ff je 0xffffff82 8: eb bb jmp 0xffffffc5 a: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 11: 00 00 00 00 15: 0f 1f 40 00 nopl 0x0(%rax) 19: f3 0f 1e fa endbr64 1d: 89 d0 mov %edx,%eax 1f: 66 90 xchg %ax,%ax 21: 0f 00 2d b1 06 56 00 verw 0x5606b1(%rip) # 0x5606d9 28: fb sti 29: f4 hlt * 2a: fa cli <-- trapping instruction 2b: c3 ret 2c: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 33: 00 00 00 00 37: 66 90 xchg %ax,%ax 39: f3 0f 1e fa endbr64 3d: 89 d0 mov %edx,%eax 3f: fb sti