ci2 starts bisection 2024-02-25 00:11:08.109470407 +0000 UTC m=+199663.981807198 bisecting fixing commit since f1bb70486c9c11d7e2d55240d4557f9fc575fbac building syzkaller on 6404acf9ce200d01fcbe0923924c9f6c22c258de ensuring issue is reproducible on original commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48b0faf8c27284c32d2e1f8eb61f756370a3fbc65c0e882b3114942a419c84c5 run #0: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #1: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #2: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #3: crashed: WARNING in call_timer_fn run #4: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #5: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #6: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #7: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #12: crashed: INFO: rcu detected stall in corrupted run #13: crashed: INFO: rcu detected stall in corrupted run #14: crashed: INFO: rcu detected stall in corrupted run #15: crashed: INFO: rcu detected stall in corrupted run #16: crashed: INFO: rcu detected stall in corrupted run #17: crashed: INFO: rcu detected stall in corrupted run #18: crashed: INFO: rcu detected stall in corrupted run #19: crashed: INFO: rcu detected stall in corrupted representative crash: INFO: rcu detected stall in corrupted, types: [HANG ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP LEAK UBSAN], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e2c55b4c096819f37dfe171b51c62ac18405c7e5f2c4f91dd1a9e7a85f98d21 run #0: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #1: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #2: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #3: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #4: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #5: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #6: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #7: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP], they are not needed kconfig minimization: base=3820 full=7455 leaves diff=1990 split chunks (needed=false): <1990> split chunk #0 of len 1990 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 810389e7b878c39c041e86b7c1432d5d3b68c2bf025bee022262155605e49523 run #0: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #1: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #2: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #3: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #4: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #5: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a9ce3bf398e223a0a2de97410f56dd4fcf4e0665a9798c2a16dce9e8eb0450c6 run #0: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #1: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #2: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #3: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #4: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #5: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: INFO: rcu detected stall in corrupted run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP LEAK UBSAN BUG], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d53ec68ca62a28fc601e4eaa6b91110aa8f97e201767a83b942c22f66331c23 all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f7d62446a36734523c3003ac50ca75c41fb505587b4012fff828bf2feec8cc9b all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit f1bb70486c9c11d7e2d55240d4557f9fc575fbac gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b4e9e5636fcd98b7e3c5afde118ff5ec03ab4ac8418b19dd68a4f480923dca71 all runs: OK false negative chance: 0.000 minimized to 398 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 TARGET_CORE TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS 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_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_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_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 LEAK UBSAN BUG], they are not needed determining the merge base between f1bb70486c9c11d7e2d55240d4557f9fc575fbac and 91403d50e9b133eea5fb48e473c6f7c9968341a4 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: 5802f3fff33da1216805dfc65b61c905b0631c1d73b24c3516a1ef877b6c3eaf run #0: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #1: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #2: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #3: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #4: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #5: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #6: crashed: BUG: sleeping function called from invalid context in __purge_vmap_area_lazy run #7: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #8: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue run #9: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] testing current HEAD 91403d50e9b133eea5fb48e473c6f7c9968341a4 testing commit 91403d50e9b133eea5fb48e473c6f7c9968341a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b2c605035c5a0647d490ffcf4fe2c3b477675e64fae9b87a962de187b99d8787 all runs: OK false negative chance: 0.000 # git bisect start 91403d50e9b133eea5fb48e473c6f7c9968341a4 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 56092 revisions left to test after this (roughly 16 steps) [b775d6c5859affe00527cbe74263de05cfe6b9f9] Merge tag 'mips_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit b775d6c5859affe00527cbe74263de05cfe6b9f9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bdccd9cd42223f5166a5f8756eb5942e5b3714e68c41a2f8c7887926aca0210e all runs: OK false negative chance: 0.000 # git bisect bad b775d6c5859affe00527cbe74263de05cfe6b9f9 Bisecting: 27908 revisions left to test after this (roughly 15 steps) [d0a32f5520a33e7f2ace396db6913625e0d29544] Merge tag 'powerpc-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit d0a32f5520a33e7f2ace396db6913625e0d29544 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9cb83521e086c7d67851e317e51b1d9c7d3024d656b407c46b22edab3ef6acc8 all runs: OK false negative chance: 0.000 # git bisect bad d0a32f5520a33e7f2ace396db6913625e0d29544 Bisecting: 13934 revisions left to test after this (roughly 14 steps) [609d3bc6230514a8ca79b377775b17e8c3d9ac93] Merge tag 'net-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 609d3bc6230514a8ca79b377775b17e8c3d9ac93 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a86ecf8f1e2523d3fdef52aa146b37d72005c5a1340b62548342702bc963b1ae all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] # git bisect good 609d3bc6230514a8ca79b377775b17e8c3d9ac93 Bisecting: 7864 revisions left to test after this (roughly 13 steps) [36289a03bcd3aabdf66de75cb6d1b4ee15726438] Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 determine whether the revision contains the guilty commit revision 609d3bc6230514a8ca79b377775b17e8c3d9ac93 crashed and is reachable testing commit 36289a03bcd3aabdf66de75cb6d1b4ee15726438 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2b337b6534a3c59bb15230e8659ee777fc8cfeb585d2d14d41a4f509912b45fa all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] # git bisect good 36289a03bcd3aabdf66de75cb6d1b4ee15726438 Bisecting: 4305 revisions left to test after this (roughly 12 steps) [307e14c039063f0c9bd7a18a7add8f940580dcc9] Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 307e14c039063f0c9bd7a18a7add8f940580dcc9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7fe92a1f1de66adbd00f9cfc143fbbf9c2c9615483362b79bfc9042ce3db7178 all runs: OK false negative chance: 0.000 # git bisect bad 307e14c039063f0c9bd7a18a7add8f940580dcc9 Bisecting: 1849 revisions left to test after this (roughly 11 steps) [1a30a6b25f263686dbf2028d56041ac012b10dcb] wifi: brcmfmac: p2p: Introduce generic flexible array frame member determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 1a30a6b25f263686dbf2028d56041ac012b10dcb gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4988ee32d1e7a8962b20435cc344480932cf49560909bbc62b4006d8fa4bb980 all runs: OK false negative chance: 0.000 # git bisect bad 1a30a6b25f263686dbf2028d56041ac012b10dcb Bisecting: 818 revisions left to test after this (roughly 10 steps) [2d104c390f0d3901c4915dcb141cb96da96cffe7] 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 609d3bc6230514a8ca79b377775b17e8c3d9ac93 crashed and is reachable testing commit 2d104c390f0d3901c4915dcb141cb96da96cffe7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08c0234a6314f81ee1743d89b44d1c7725ff52d097d9b5c5328bdeb8e7039e12 all runs: OK false negative chance: 0.000 # git bisect bad 2d104c390f0d3901c4915dcb141cb96da96cffe7 Bisecting: 441 revisions left to test after this (roughly 9 steps) [ba197fdea699adfd3bcb73a67ec0e74b59b9506d] Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit ba197fdea699adfd3bcb73a67ec0e74b59b9506d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 00c4780711c37f76c08c1ab4bb79961973c22b930b48abdd6e39ce52d3a71e86 all runs: OK false negative chance: 0.000 # git bisect bad ba197fdea699adfd3bcb73a67ec0e74b59b9506d Bisecting: 223 revisions left to test after this (roughly 8 steps) [87e3bee0f247f40dd908ba9fa6c960379b4829e8] net: mdio: i2c: Separate C22 and C45 transactions determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 87e3bee0f247f40dd908ba9fa6c960379b4829e8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f6078b3036e67bde3f6a70f262deac5f3b352652469bfb8ab78119787e8446c all runs: OK false negative chance: 0.000 # git bisect bad 87e3bee0f247f40dd908ba9fa6c960379b4829e8 Bisecting: 111 revisions left to test after this (roughly 7 steps) [803df55d32eafbccdc3bc5977ce6049b61cdd997] net: ngbe: Remove structure ngbe_adapter determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 803df55d32eafbccdc3bc5977ce6049b61cdd997 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cef83f3648395dcb85296e3bbcb100dd68a351c240accdd1c50048692f1a419b all runs: OK false negative chance: 0.000 # git bisect bad 803df55d32eafbccdc3bc5977ce6049b61cdd997 Bisecting: 54 revisions left to test after this (roughly 6 steps) [d75858ef108c3b41f0f3215fe37505bb63e3795d] 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 d75858ef108c3b41f0f3215fe37505bb63e3795d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6c0b03dbe667e70a82ddcae06a0e2248ee57becd8b7af5d8c0aa2c8d1edc7acc all runs: OK false negative chance: 0.000 # git bisect bad d75858ef108c3b41f0f3215fe37505bb63e3795d Bisecting: 28 revisions left to test after this (roughly 5 steps) [5fbf8c24b66d8d63fd6a452fc60e7e11d98ac5f6] selftests/bpf: Add jit probe_mem corner case tests to s390x denylist determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 5fbf8c24b66d8d63fd6a452fc60e7e11d98ac5f6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6dc7a43d615bc15c96e47c0075be8d3d1dc4a180cf0e3009534c3876359ba30c all runs: OK false negative chance: 0.000 # git bisect bad 5fbf8c24b66d8d63fd6a452fc60e7e11d98ac5f6 Bisecting: 13 revisions left to test after this (roughly 4 steps) [71135b77aac75769f6dae81ac4725405f1015d22] samples/bpf: replace meaningless counter with tracex4 determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 71135b77aac75769f6dae81ac4725405f1015d22 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a248a54918a5eeb5d1ffa65cc1f35e8b27fd4b1d7b54d0c2d16f11033c786f4e all runs: OK false negative chance: 0.000 # git bisect bad 71135b77aac75769f6dae81ac4725405f1015d22 Bisecting: 6 revisions left to test after this (roughly 3 steps) [b148c8b9b926e257a59c8eb2cd6fa3adfd443254] selftests/bpf: Add few corner cases to test padding handling of btf_dump determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit b148c8b9b926e257a59c8eb2cd6fa3adfd443254 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f452f415472f1350d47c6204d3f3e0c26127584addd766c77255fb4d37a3df9 all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] # git bisect good b148c8b9b926e257a59c8eb2cd6fa3adfd443254 Bisecting: 3 revisions left to test after this (roughly 2 steps) [78aa1cc9404399a15d2a1205329c6a06236f5378] bpf: Add struct for bin_args arg in bpf_bprintf_prepare determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 78aa1cc9404399a15d2a1205329c6a06236f5378 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 55267174bcb78d773682e951f202295fe3bc44cee2441f378216d2489ddf3070 all runs: crashed: BUG: sleeping function called from invalid context in bpf_test_timer_continue representative crash: BUG: sleeping function called from invalid context in bpf_test_timer_continue, types: [ATOMIC_SLEEP] # git bisect good 78aa1cc9404399a15d2a1205329c6a06236f5378 Bisecting: 1 revision left to test after this (roughly 1 step) [e2bb9e01d589f7fa82573aedd2765ff9b277816a] bpf: Remove trace_printk_lock determine whether the revision contains the guilty commit revision 78aa1cc9404399a15d2a1205329c6a06236f5378 crashed and is reachable testing commit e2bb9e01d589f7fa82573aedd2765ff9b277816a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1da6dab7cbcacddd57b49f22be731dc7f94b27a3c561702cbfaee27cbe428f98 all runs: OK false negative chance: 0.000 # git bisect bad e2bb9e01d589f7fa82573aedd2765ff9b277816a Bisecting: 0 revisions left to test after this (roughly 0 steps) [f19a4050455aad847fb93f18dc1fe502eb60f989] bpf: Do cleanup in bpf_bprintf_cleanup only when needed determine whether the revision contains the guilty commit revision 78aa1cc9404399a15d2a1205329c6a06236f5378 crashed and is reachable testing commit f19a4050455aad847fb93f18dc1fe502eb60f989 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a22ef010299fbb2fff928a8e9306b245a56a98ecc296b2d5d9566191e5bf54f5 all runs: OK false negative chance: 0.000 # git bisect bad f19a4050455aad847fb93f18dc1fe502eb60f989 f19a4050455aad847fb93f18dc1fe502eb60f989 is the first bad commit commit f19a4050455aad847fb93f18dc1fe502eb60f989 Author: Jiri Olsa Date: Thu Dec 15 22:44:29 2022 +0100 bpf: Do cleanup in bpf_bprintf_cleanup only when needed Currently we always cleanup/decrement bpf_bprintf_nest_level variable in bpf_bprintf_cleanup if it's > 0. There's possible scenario where this could cause a problem, when bpf_bprintf_prepare does not get bin_args buffer (because num_args is 0) and following bpf_bprintf_cleanup call decrements bpf_bprintf_nest_level variable, like: in task context: bpf_bprintf_prepare(num_args != 0) increments 'bpf_bprintf_nest_level = 1' -> first irq : bpf_bprintf_prepare(num_args == 0) bpf_bprintf_cleanup decrements 'bpf_bprintf_nest_level = 0' -> second irq: bpf_bprintf_prepare(num_args != 0) bpf_bprintf_nest_level = 1 gets same buffer as task context above Adding check to bpf_bprintf_cleanup and doing the real cleanup only if we got bin_args data in the first place. Signed-off-by: Jiri Olsa Signed-off-by: Daniel Borkmann Acked-by: Yonghong Song Link: https://lore.kernel.org/bpf/20221215214430.1336195-3-jolsa@kernel.org include/linux/bpf.h | 2 +- kernel/bpf/helpers.c | 16 +++++++++------- kernel/trace/bpf_trace.c | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) accumulated error probability: 0.00 culprit signature: a22ef010299fbb2fff928a8e9306b245a56a98ecc296b2d5d9566191e5bf54f5 parent signature: 55267174bcb78d773682e951f202295fe3bc44cee2441f378216d2489ddf3070 revisions tested: 26, total time: 5h38m11.539271661s (build: 1h54m14.39691684s, test: 3h34m11.937937472s) first good commit: f19a4050455aad847fb93f18dc1fe502eb60f989 bpf: Do cleanup in bpf_bprintf_cleanup only when needed recipients (to): ["daniel@iogearbox.net" "jolsa@kernel.org" "yhs@fb.com"] recipients (cc): []