ci2 starts bisection 2023-10-17 21:00:40.708991685 +0000 UTC m=+96432.682774132 bisecting fixing commit since adc4d740ad9ec780657327c69ab966fa4fdf0e8e building syzkaller on f757a3234f43deecbf7b1af37101b8ac6dd14cd0 ensuring issue is reproducible on original commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 672302d264f3cfbe2bba956f69402b0ab4f59042efc8ef93fd3214b75bd0de1d all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc1617467ab387ca89f7a5a4146885a61e321c766b94c801b7d4a9db279a6219 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3820 full=7527 leaves diff=1997 split chunks (needed=false): <1997> split chunk #0 of len 1997 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 170d55190eab83fb3460db39f820a3e80fd3bf2ba10c7d851a19098ee9688e87 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42e139ec24ebb9413f8004613b3a2d155cbda86bd6bcdc75a8890b6c6c125b89 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a535b2f33328eb7c0ff211f4b128ac4f87dde62abceb38bb6647fff1c1ad902d all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0612f99cd62f3606643636ed245cb57dd43df7c2fc0af334f15aae8840538b9 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit adc4d740ad9ec780657327c69ab966fa4fdf0e8e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 73e52521ab6ec4349e150adb1cbb277cf069bc643fd206647ef7e3be3feb32e4 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 TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS 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_ASYNC V4L2_FWNODE 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_CAMERA_SENSOR 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 [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed determining the merge base between adc4d740ad9ec780657327c69ab966fa4fdf0e8e and 213f891525c222e8ed145ce1ce7ae1f47921cb9c 830b3c68c1fb1e9176028d02ef86f3cf76aa2476/Linux 6.1 is a merge base, check if it has the bug testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 65f324ea267b1942dde636ed476707533748c218c29ff636315d9344c63b4955 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] testing current HEAD 213f891525c222e8ed145ce1ce7ae1f47921cb9c testing commit 213f891525c222e8ed145ce1ce7ae1f47921cb9c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 187b635100cde1f264c5441170bdca31ae1f5b15d939ffd7ba98825dd11b60d1 all runs: OK false negative chance: 0.000 # git bisect start 213f891525c222e8ed145ce1ce7ae1f47921cb9c 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 39810 revisions left to test after this (roughly 15 steps) [b68ee1c6131c540a62ecd443be89c406401df091] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit b68ee1c6131c540a62ecd443be89c406401df091 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f6cccd42428e4afc3e04d4a9d2111886378c1758201d3aa2ceabe7dd7aec5cc all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good b68ee1c6131c540a62ecd443be89c406401df091 Bisecting: 19899 revisions left to test after this (roughly 14 steps) [9c3255a8f3946a4c8844f1e2e093313f3b71cb30] Merge tag 'platform-drivers-x86-v6.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 9c3255a8f3946a4c8844f1e2e093313f3b71cb30 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4bc2a1057ae18de5d630871913e5d2f0b1a321f0518211d57877134b59a4059e all runs: OK false negative chance: 0.000 # git bisect bad 9c3255a8f3946a4c8844f1e2e093313f3b71cb30 Bisecting: 9952 revisions left to test after this (roughly 13 steps) [7fa217d4be0fd6f4f91e01ab7c4a7f225462e013] Merge branch 'tools-ynl-gen-dust-off-the-user-space-code' determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 7fa217d4be0fd6f4f91e01ab7c4a7f225462e013 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3a0fa9c853fc9a356cbe338c20b0bc14a54efd44a4c65200cf0e5c88c8d9721d all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good 7fa217d4be0fd6f4f91e01ab7c4a7f225462e013 Bisecting: 4987 revisions left to test after this (roughly 12 steps) [675285ad819293844018aa8096ba9a6d7c77b90b] Merge tag 'fbdev-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev determine whether the revision contains the guilty commit revision 7fa217d4be0fd6f4f91e01ab7c4a7f225462e013 crashed and is reachable testing commit 675285ad819293844018aa8096ba9a6d7c77b90b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d8354536e9fd3c866849c94fa32e92bc132a3775a702175f2dd7845f8051a05 all runs: OK false negative chance: 0.000 # git bisect bad 675285ad819293844018aa8096ba9a6d7c77b90b Bisecting: 2481 revisions left to test after this (roughly 11 steps) [ed3b7923a816ded62dccef377c9ee346c7d3b1b4] Merge tag 'sched-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit ed3b7923a816ded62dccef377c9ee346c7d3b1b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81123a27c117cd678e40523231cfe4662072d016ab0f829f373bd6cda08f199a all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good ed3b7923a816ded62dccef377c9ee346c7d3b1b4 Bisecting: 1340 revisions left to test after this (roughly 10 steps) [ae230642190a51b85656d6da2df744d534d59544] Merge branch 'af_unix-followup-fixes-for-so_passpidfd' determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit ae230642190a51b85656d6da2df744d534d59544 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49495b66098123783c4b37aedc9941f2a75835eaada84abb741d3ece8d491cb5 all runs: OK false negative chance: 0.000 # git bisect bad ae230642190a51b85656d6da2df744d534d59544 Bisecting: 570 revisions left to test after this (roughly 9 steps) [8c3736ce595bccb6322c44a1f853216e278aa635] selftests: forwarding: q_in_vni: Disable IPv6 autogen on bridges determine whether the revision contains the guilty commit revision 7fa217d4be0fd6f4f91e01ab7c4a7f225462e013 crashed and is reachable testing commit 8c3736ce595bccb6322c44a1f853216e278aa635 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b2c3820557a1f0025efe1199175e0d4ad0d1ec516c49bb745210db614f1e5dee all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good 8c3736ce595bccb6322c44a1f853216e278aa635 Bisecting: 323 revisions left to test after this (roughly 8 steps) [31b5a547622b3782388eb676081da1eefe5b98d2] wifi: ieee80211: fix erroneous NSTR bitmap size checks determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 31b5a547622b3782388eb676081da1eefe5b98d2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ba1c4345ebd1c0f023b9adc475fbf3b1a08502bb133482497868f25260d0db94 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good 31b5a547622b3782388eb676081da1eefe5b98d2 Bisecting: 143 revisions left to test after this (roughly 7 steps) [a685d0df75b0357bf0720cafa30c27634063be0a] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a685d0df75b0357bf0720cafa30c27634063be0a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d84e03cd9e63871671e9c124d93235c4c8fc465dcfc62729a4429c68094e9dfe all runs: OK false negative chance: 0.000 # git bisect bad a685d0df75b0357bf0720cafa30c27634063be0a Bisecting: 70 revisions left to test after this (roughly 7 steps) [08eeccb2491a3198f4adcba63adeace6e2499ea3] Merge tag 'linux-can-next-for-6.5-20230622' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit 08eeccb2491a3198f4adcba63adeace6e2499ea3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3aceb16aa22429fae01be8ecfbf8f111d1ca165d2722806d3a0a590d911efaa6 all runs: crashed: WARNING in btf_type_id_size representative crash: WARNING in btf_type_id_size, types: [WARNING] # git bisect good 08eeccb2491a3198f4adcba63adeace6e2499ea3 Bisecting: 35 revisions left to test after this (roughly 5 steps) [1d28635abcf1914425d6516e641978011984c58a] bpf: Move unprivileged checks into map_create() and bpf_prog_load() determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 1d28635abcf1914425d6516e641978011984c58a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e9dbbf86563f5f2fd3f8a8a78d4e14f76e57cfa4dd0759746a89a76463400789 all runs: OK false negative chance: 0.000 # git bisect bad 1d28635abcf1914425d6516e641978011984c58a Bisecting: 17 revisions left to test after this (roughly 4 steps) [3d272c2fa8045f31879a3beee230c1711367b697] selftests/bpf: Add missing selftests kconfig options determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit 3d272c2fa8045f31879a3beee230c1711367b697 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a9975b17febba60ca1305b25694edf36e7e9feb40ae9bda699ac596ad5363af all runs: OK false negative chance: 0.000 # git bisect bad 3d272c2fa8045f31879a3beee230c1711367b697 Bisecting: 8 revisions left to test after this (roughly 3 steps) [d4ae3e587eced73c9b6f82fd8f88606a09ff710c] selftests/bpf: Test table ID fib lookup BPF helper determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit d4ae3e587eced73c9b6f82fd8f88606a09ff710c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d75a21528874405256a03a315dba67d3b532dc47790303cbd71109d9a8e12a5e all runs: OK false negative chance: 0.000 # git bisect bad d4ae3e587eced73c9b6f82fd8f88606a09ff710c Bisecting: 3 revisions left to test after this (roughly 2 steps) [ffadc372529e268b54c5b98f56da07d8024fa1cb] bpf: Replace all non-returning strlcpy with strscpy determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit ffadc372529e268b54c5b98f56da07d8024fa1cb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a5c627271ce6d6aa01aeb173068bec131d2dd9d6752de40e921ad256ff656d98 all runs: OK false negative chance: 0.000 # git bisect bad ffadc372529e268b54c5b98f56da07d8024fa1cb Bisecting: 1 revision left to test after this (roughly 1 step) [e38096d95f4d7e8cc15280b4a3515eee31925561] selftests/bpf: Add a test where map key_type_id with decl_tag type determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit e38096d95f4d7e8cc15280b4a3515eee31925561 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae666eb04e2e56e47cef68d3a515c89e4913c4bce006c07e4f096920edbf00c3 all runs: OK false negative chance: 0.000 # git bisect bad e38096d95f4d7e8cc15280b4a3515eee31925561 Bisecting: 0 revisions left to test after this (roughly 0 steps) [e6c2f594ed961273479505b42040782820190305] bpf: Silence a warning in btf_type_id_size() determine whether the revision contains the guilty commit revision b68ee1c6131c540a62ecd443be89c406401df091 crashed and is reachable testing commit e6c2f594ed961273479505b42040782820190305 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59d9fdc115926aec1c41b376dbe0ae743c31d9b8ec660a1a7f3842113449699c all runs: OK false negative chance: 0.000 # git bisect bad e6c2f594ed961273479505b42040782820190305 e6c2f594ed961273479505b42040782820190305 is the first bad commit commit e6c2f594ed961273479505b42040782820190305 Author: Yonghong Song Date: Tue May 30 13:50:29 2023 -0700 bpf: Silence a warning in btf_type_id_size() syzbot reported a warning in [1] with the following stacktrace: WARNING: CPU: 0 PID: 5005 at kernel/bpf/btf.c:1988 btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988 ... RIP: 0010:btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988 ... Call Trace: map_check_btf kernel/bpf/syscall.c:1024 [inline] map_create+0x1157/0x1860 kernel/bpf/syscall.c:1198 __sys_bpf+0x127f/0x5420 kernel/bpf/syscall.c:5040 __do_sys_bpf kernel/bpf/syscall.c:5162 [inline] __se_sys_bpf kernel/bpf/syscall.c:5160 [inline] __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5160 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd With the following btf [1] DECL_TAG 'a' type_id=4 component_idx=-1 [2] PTR '(anon)' type_id=0 [3] TYPE_TAG 'a' type_id=2 [4] VAR 'a' type_id=3, linkage=static and when the bpf_attr.btf_key_type_id = 1 (DECL_TAG), the following WARN_ON_ONCE in btf_type_id_size() is triggered: if (WARN_ON_ONCE(!btf_type_is_modifier(size_type) && !btf_type_is_var(size_type))) return NULL; Note that 'return NULL' is the correct behavior as we don't want a DECL_TAG type to be used as a btf_{key,value}_type_id even for the case like 'DECL_TAG -> STRUCT'. So there is no correctness issue here, we just want to silence warning. To silence the warning, I added DECL_TAG as one of kinds in btf_type_nosize() which will cause btf_type_id_size() returning NULL earlier without the warning. [1] https://lore.kernel.org/bpf/000000000000e0df8d05fc75ba86@google.com/ Reported-by: syzbot+958967f249155967d42a@syzkaller.appspotmail.com Signed-off-by: Yonghong Song Link: https://lore.kernel.org/r/20230530205029.264910-1-yhs@fb.com Signed-off-by: Martin KaFai Lau kernel/bpf/btf.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) accumulated error probability: 0.00 parent commit bc590b47549225a03c6b36bbc1aede75c917767b wasn't tested testing commit bc590b47549225a03c6b36bbc1aede75c917767b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50ddf4f2f4583d238b0ce6c0ac4875fd952a5cf319520304dbb740a59d686fee culprit signature: 59d9fdc115926aec1c41b376dbe0ae743c31d9b8ec660a1a7f3842113449699c parent signature: 50ddf4f2f4583d238b0ce6c0ac4875fd952a5cf319520304dbb740a59d686fee revisions tested: 25, total time: 3h45m32.37660813s (build: 1h9m46.874418817s, test: 2h26m44.93159036s) first good commit: e6c2f594ed961273479505b42040782820190305 bpf: Silence a warning in btf_type_id_size() recipients (to): ["martin.lau@kernel.org" "yhs@fb.com"] recipients (cc): []