ci starts bisection 2023-10-13 03:46:15.132853608 +0000 UTC m=+101.628955909 bisecting cause commit starting from 401644852d0b2a278811de38081be23f74b5bb04 building syzkaller on fc170927228ea774aeb61449ce88220bd3ce0156 ensuring issue is reproducible on original commit 401644852d0b2a278811de38081be23f74b5bb04 testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 58145dea02fe8ef07d95656eda33f64c941cc8d8062713a7e86e21af592996ec all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f58ab5f433ceb6f8564a4acc24dfe5de4f7974e2cd5227b7a59f0e41ae13f321 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3876 full=7688 leaves diff=2019 split chunks (needed=false): <2019> split chunk #0 of len 2019 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 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a50154d92c05cd1c96a431cced930c1546a10201242b1b43adb7eb035fe7c20e all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 37ac065b01732139747bc905fbb102cd1cf363c268d58256d93a5b031584152f all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9961f841777528029c92c7dd0d8fd86bf46cbf4c3f1079495241fbf5c4bc9e65 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19e181023ccc61f123ba77bf9264ea65e2319979d937a99024cbc1950b12dee4 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 401644852d0b2a278811de38081be23f74b5bb04 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b5f943c555f9718ab49f0bf6059b2532c0779896bb8e8dc3721db597feb8af3f all runs: OK false negative chance: 0.000 minimized to 403 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_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_GROUP 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_CAMERA_SENSOR 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_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 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 [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed picked [v6.5 v6.4 v6.3 v6.1 v5.19 v5.17 v5.15 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 28 release tags testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d2cc506191b4c65654c5b2730bd9ce6c8bbba03f212524f6ad0f7f9933f7f006 all runs: OK false negative chance: 0.000 # git bisect start 401644852d0b2a278811de38081be23f74b5bb04 2dde18cd1d8fac735875f2e4987f11817cc0bc2c Bisecting: 7155 revisions left to test after this (roughly 13 steps) [1544df9ab4003f9f6b9894d48a235cd1859e7db3] Merge tag 'soc-drivers-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 1544df9ab4003f9f6b9894d48a235cd1859e7db3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de089e47831bcbb386281fb55e06fe275c35e0970312d1485b94fdd044c8a645 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad 1544df9ab4003f9f6b9894d48a235cd1859e7db3 Bisecting: 3346 revisions left to test after this (roughly 12 steps) [bd6c11bc43c496cddfc6cf603b5d45365606dbd5] Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit bd6c11bc43c496cddfc6cf603b5d45365606dbd5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ee1d40cb0e299052349a35ac0e77d7bd438887d6b88a5d7e04ba9f09290b0e77 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad bd6c11bc43c496cddfc6cf603b5d45365606dbd5 Bisecting: 1988 revisions left to test after this (roughly 11 steps) [6c9cfb853063f317b2953c5e852b6bac1eb0cade] net: ethernet: mtk_wed: minor change in wed_{tx,rx}info_show testing commit 6c9cfb853063f317b2953c5e852b6bac1eb0cade gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1a05710d90098a0175032d8880d8240af4ef198296fd75ef7ee776d57e9f3749 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad 6c9cfb853063f317b2953c5e852b6bac1eb0cade Bisecting: 980 revisions left to test after this (roughly 10 steps) [81083076a007d3af3f2216ad9be1374de0687d49] Merge tag 'wireless-next-2023-08-04' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next testing commit 81083076a007d3af3f2216ad9be1374de0687d49 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 95e46ea122203868c5c9fe134f7be6689b8767c5481367b394a95a6e0265bb81 all runs: OK false negative chance: 0.000 # git bisect good 81083076a007d3af3f2216ad9be1374de0687d49 Bisecting: 489 revisions left to test after this (roughly 9 steps) [fc720399ffd9e3cc556dc48773f3cde1d28fc20d] Merge branch 'bnxt_en-update-for-net-next' testing commit fc720399ffd9e3cc556dc48773f3cde1d28fc20d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f884a2b2bdd4974b78127a2b3110743bceb9f69d423e196bb40496d0a204a8d4 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad fc720399ffd9e3cc556dc48773f3cde1d28fc20d Bisecting: 245 revisions left to test after this (roughly 8 steps) [c55c8a7cfafe41c71b87b3f7baf16249ce4fbd3d] Bluetooth: btnxpuart: Add support for AW693 chipset testing commit c55c8a7cfafe41c71b87b3f7baf16249ce4fbd3d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a83d9c546e1ef4ed55f1a4b65e2646f9a002b889d9eafe3bf9dad265c4201301 all runs: OK false negative chance: 0.000 # git bisect good c55c8a7cfafe41c71b87b3f7baf16249ce4fbd3d Bisecting: 126 revisions left to test after this (roughly 7 steps) [9cf3db3cd898a256247ad9f0661f14c05003b57f] Merge branch 'net-warn-about-attempts-to-register-negative-ifindex' testing commit 9cf3db3cd898a256247ad9f0661f14c05003b57f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 532f7c0b59533376925efebe6731619bfd517f251a9c76902697393a116e34a7 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad 9cf3db3cd898a256247ad9f0661f14c05003b57f Bisecting: 59 revisions left to test after this (roughly 6 steps) [afb0c19242a0c9a19fc2013dd1389b553acc0ede] Merge branch 'mptcp-remove-msk-subflow' testing commit afb0c19242a0c9a19fc2013dd1389b553acc0ede gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7db0222cc80241601611e7f048c545bf7a2fcf490df193bd9b85b5e65c7abc9b all runs: OK false negative chance: 0.000 # git bisect good afb0c19242a0c9a19fc2013dd1389b553acc0ede Bisecting: 29 revisions left to test after this (roughly 5 steps) [4a1b5aa8b5c7433ad6e0c8b52469980ae94a4398] devlink: allow user to narrow per-instance dumps by passing handle attrs testing commit 4a1b5aa8b5c7433ad6e0c8b52469980ae94a4398 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2af2d90211de47e916ef3e60faac7e117683928656134cba10980215d1b6db8d all runs: OK false negative chance: 0.000 # git bisect good 4a1b5aa8b5c7433ad6e0c8b52469980ae94a4398 Bisecting: 14 revisions left to test after this (roughly 4 steps) [f946270d05c26044c67511ef5a9d91e06962d79f] ethtool: netlink: always pass genl_info to .prepare_data testing commit f946270d05c26044c67511ef5a9d91e06962d79f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f35ae4c3fb847d47355ed7afd868d9427e10184992d6a51b552e965da0d115e all runs: OK false negative chance: 0.000 # git bisect good f946270d05c26044c67511ef5a9d91e06962d79f Bisecting: 7 revisions left to test after this (roughly 3 steps) [b31f7a8b3a07c306fe568d3801c4161e0932712d] Merge branch 'nexthop-various-cleanups' testing commit b31f7a8b3a07c306fe568d3801c4161e0932712d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c25eabbe6c1d1cf0411a997aa8017c4640739fdc031625167f3bdf3486f8bc52 all runs: OK false negative chance: 0.000 # git bisect good b31f7a8b3a07c306fe568d3801c4161e0932712d Bisecting: 3 revisions left to test after this (roughly 2 steps) [cf74eb5a5bc867258e7d0b0d1c3c4a60e1e3de2f] eth: r8152: try to use a normal budget testing commit cf74eb5a5bc867258e7d0b0d1c3c4a60e1e3de2f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a3b61d045b43d7cf71ceb8cc00e7f9d5c128c7755783c1ae3f1496d935ecf203 all runs: OK false negative chance: 0.000 # git bisect good cf74eb5a5bc867258e7d0b0d1c3c4a60e1e3de2f Bisecting: 1 revision left to test after this (roughly 1 step) [ded67d90815a412f327051d27eb6c6de57cd2c03] netlink: specs: add ovs_vport new command testing commit ded67d90815a412f327051d27eb6c6de57cd2c03 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c9b2d1c3a04f2c2dbd89901a3e0b093ff20c4d7107361d640653bbee0b85d26 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad ded67d90815a412f327051d27eb6c6de57cd2c03 Bisecting: 0 revisions left to test after this (roughly 0 steps) [956db0a13b47df7f3d6d624394e602e8bf9b057e] net: warn about attempts to register negative ifindex testing commit 956db0a13b47df7f3d6d624394e602e8bf9b057e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d09893afa1d9dd6055f52cf9842e427f1080549d9ddcaeb6c6ceae9cf902e838 all runs: crashed: WARNING in dev_index_reserve representative crash: WARNING in dev_index_reserve, types: [WARNING] # git bisect bad 956db0a13b47df7f3d6d624394e602e8bf9b057e 956db0a13b47df7f3d6d624394e602e8bf9b057e is the first bad commit commit 956db0a13b47df7f3d6d624394e602e8bf9b057e Author: Jakub Kicinski Date: Mon Aug 14 13:56:25 2023 -0700 net: warn about attempts to register negative ifindex Since the xarray changes we mix returning valid ifindex and negative errno in a single int returned from dev_index_reserve(). This depends on the fact that ifindexes can't be negative. Otherwise we may insert into the xarray and return a very large negative value. This in turn may break ERR_PTR(). OvS is susceptible to this problem and lacking validation (fix posted separately for net). Reject negative ifindex explicitly. Add a warning because the input validation is better handled by the caller. Reviewed-by: Leon Romanovsky Link: https://lore.kernel.org/r/20230814205627.2914583-2-kuba@kernel.org Signed-off-by: Jakub Kicinski net/core/dev.c | 5 +++++ 1 file changed, 5 insertions(+) accumulated error probability: 0.00 culprit signature: d09893afa1d9dd6055f52cf9842e427f1080549d9ddcaeb6c6ceae9cf902e838 parent signature: a3b61d045b43d7cf71ceb8cc00e7f9d5c128c7755783c1ae3f1496d935ecf203 revisions tested: 22, total time: 9h41m16.276227389s (build: 3h23m26.000687065s, test: 3h8m47.028645938s) first bad commit: 956db0a13b47df7f3d6d624394e602e8bf9b057e net: warn about attempts to register negative ifindex recipients (to): ["davem@davemloft.net" "edumazet@google.com" "kuba@kernel.org" "kuba@kernel.org" "leonro@nvidia.com" "netdev@vger.kernel.org" "pabeni@redhat.com"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING in dev_index_reserve ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2784 at net/core/dev.c:9593 xa_insert include/linux/xarray.h:782 [inline] WARNING: CPU: 0 PID: 2784 at net/core/dev.c:9593 dev_index_reserve+0x6f/0xf0 net/core/dev.c:9601 Modules linked in: CPU: 0 PID: 2784 Comm: syz-executor.0 Not tainted 6.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:dev_index_reserve+0x6f/0xf0 net/core/dev.c:9593 Code: 2e 2e 31 c0 4c 89 f7 e8 5f 40 33 00 4c 89 f7 48 89 de 31 d2 b9 c0 0c 00 00 e8 6d e0 30 00 89 c3 4c 89 f7 e8 93 41 33 00 eb 59 <0f> 0b bd ea ff ff ff eb 55 48 83 c3 50 bf c0 0c 00 00 e8 0a f9 34 RSP: 0018:ffffc90000edbdd0 EFLAGS: 00010286 RAX: 70ea968d578ba300 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000009063a344 RDI: ffff888118cc1780 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888113254000 R13: ffff888112d9f200 R14: ffff888118cc1780 R15: ffff888113254000 FS: 00007f04592406c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001137d7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_netdevice+0x219/0x6b0 net/core/dev.c:10081 tun_set_iff+0x2d4/0x3a0 drivers/net/tun.c:2850 __tun_chr_ioctl+0x25d/0xc50 drivers/net/tun.c:3118 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x6d/0xb0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f04596bdae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f04592400c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f04597dcf80 RCX: 00007f04596bdae9 RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000004 RBP: 00007f045970947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f04597dcf80 R15: 00007ffe04d6f438