ci2 starts bisection 2024-01-01 08:05:25.071672829 +0000 UTC m=+836128.395558400 bisecting fixing commit since 4aa6747d935281df8a1888feeb6e22e0097d0b86 building syzkaller on fb427a0782000106c62de76d251e5a02de5406a9 ensuring issue is reproducible on original commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d9435cc9b38ca16bfe7cb64ea5f2676c6e3d2063d39e40a7fea78f6645c290e1 run #0: crashed: BUG: sleeping function called from invalid context in getname_flags run #1: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #2: crashed: BUG: sleeping function called from invalid context in getname_flags run #3: crashed: BUG: sleeping function called from invalid context in getname_flags run #4: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #5: crashed: BUG: sleeping function called from invalid context in aa_sk_perm run #6: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #10: crashed: BUG: scheduling while atomic in exit_to_user_mode_loop run #11: crashed: BUG: sleeping function called from invalid context in pipe_read 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: BUG: sleeping function called from invalid context in getname_flags, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 25a6b1d073b771780dbe6c583ff9495caf641349d835cc3a92f750fe6d0af751 run #0: crashed: BUG: sleeping function called from invalid context in getname_flags run #1: crashed: BUG: scheduling while atomic in corrupted run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: sleeping function called from invalid context in getname_flags run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP HANG], they are not needed kconfig minimization: base=3820 full=7526 leaves diff=1996 split chunks (needed=false): <1996> split chunk #0 of len 1996 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8eb4faae02d2f870393a22799e75aa38d8fe27178f86bcf294ee90a312f4a39 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #2: crashed: BUG: sleeping function called from invalid context in corrupted run #3: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #4: crashed: BUG: sleeping function called from invalid context in exit_signals run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 443dc51a914e9a1cd7c4a3c3b92908b23be28350e816a59fd2e203d1e79e5896 run #0: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #1: crashed: BUG: scheduling while atomic in corrupted run #2: crashed: BUG: sleeping function called from invalid context in corrupted run #3: crashed: BUG: sleeping function called from invalid context in getname_flags run #4: crashed: no output from test machine run #5: crashed: no output from test machine run #6: crashed: no output from test machine run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: no output from test machine, types: [UNKNOWN ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62f23f212a32b5ba2368a2186a47cbdbbd81ced5032c233148fba853e6c641e7 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in getname_flags run #2: crashed: BUG: sleeping function called from invalid context in getname_flags run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: scheduling while atomic in corrupted run #6: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #7: crashed: BUG: scheduling while atomic in corrupted run #8: crashed: BUG: sleeping function called from invalid context in seq_read_iter run #9: crashed: BUG: scheduling while atomic in corrupted representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc148fff8740147f66b1891637e52942063a9c3bdd7258f01787ea1c73b8824e run #0: crashed: BUG: sleeping function called from invalid context in vm_mmap_pgoff run #1: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: scheduling while atomic in corrupted run #6: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #7: crashed: BUG: scheduling while atomic in corrupted run #8: crashed: BUG: scheduling while atomic in corrupted run #9: crashed: BUG: sleeping function called from invalid context in get_timespec64 representative crash: BUG: sleeping function called from invalid context in vm_mmap_pgoff, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4aa6747d935281df8a1888feeb6e22e0097d0b86 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa5ba69b1db68a4c3a836f0cdd049bdb152f0ebc42527d0416b30f14de33c6b0 all runs: OK false negative chance: 0.000 minimized to 396 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_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 HANG LEAK UBSAN BUG], they are not needed determining the merge base between 4aa6747d935281df8a1888feeb6e22e0097d0b86 and 610a9b8f49fbcf1100716370d3b5f6f884a2835a 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: 84b7f183191a75f6eb820b656c0b7dfa0e057d1db2b67c48480a46434d2bb334 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in getname_flags run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: sleeping function called from invalid context in tomoyo_realpath_from_path run #5: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #6: crashed: BUG: sleeping function called from invalid context in getname_flags run #7: crashed: BUG: scheduling while atomic in corrupted run #8: crashed: BUG: sleeping function called from invalid context in getname_flags run #9: crashed: BUG: sleeping function called from invalid context in vm_mmap_pgoff representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] testing current HEAD 610a9b8f49fbcf1100716370d3b5f6f884a2835a testing commit 610a9b8f49fbcf1100716370d3b5f6f884a2835a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0a8f53845ed054f83d810aa0c354f89f486f01ca109ca3d686485b141c828cc2 all runs: OK false negative chance: 0.000 # git bisect start 610a9b8f49fbcf1100716370d3b5f6f884a2835a 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 48373 revisions left to test after this (roughly 16 steps) [a7a334076dd725b8c3b5d64f68e3992ffcfd1d25] Merge branches 'iommu/fixes', 'arm/smmu', 'ppc/pamu', 'virtio', 'x86/vt-d', 'core' and 'x86/amd' into next determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0edf1d46c94c3d7d59eea19c6b750121ab9cd4570dd2184acecbc54858991496 all runs: OK false negative chance: 0.000 # git bisect bad a7a334076dd725b8c3b5d64f68e3992ffcfd1d25 Bisecting: 24720 revisions left to test after this (roughly 15 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: 722e0c70730dd65e6984e6628217b228b804e8bffa6e5ff4b26449c2283e7c97 all runs: OK false negative chance: 0.000 # git bisect bad 307e14c039063f0c9bd7a18a7add8f940580dcc9 Bisecting: 11748 revisions left to test after this (roughly 14 steps) [58bcac11fd94f950abc7b8466c5ceac7be07a00e] Merge tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 58bcac11fd94f950abc7b8466c5ceac7be07a00e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62ce5ec0de60886ae52c02ae7efd976759433ea44b22046fd45919e9db5de2f2 run #0: crashed: BUG: sleeping function called from invalid context in getname_flags run #1: crashed: BUG: sleeping function called from invalid context in vm_mmap_pgoff run #2: crashed: BUG: sleeping function called from invalid context in tomoyo_realpath_from_path run #3: crashed: BUG: sleeping function called from invalid context in getname_flags run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: scheduling while atomic in corrupted run #6: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #9: crashed: BUG: sleeping function called from invalid context in get_timespec64 representative crash: BUG: sleeping function called from invalid context in getname_flags, types: [ATOMIC_SLEEP] # git bisect good 58bcac11fd94f950abc7b8466c5ceac7be07a00e Bisecting: 5976 revisions left to test after this (roughly 13 steps) [0d5292bb29661bd8dbaedf0d768f274474f23196] net/i40e: Replace 0-length array with flexible array determine whether the revision contains the guilty commit revision 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 crashed and is reachable testing commit 0d5292bb29661bd8dbaedf0d768f274474f23196 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2feebf31d4cfb3640f709768f2b431b9480b49164aaf93827de2daa7e4856612 run #0: boot failed: invalid opcode in usercopy_abort run #1: boot failed: invalid opcode in usercopy_abort run #2: boot failed: invalid opcode in corrupted run #3: boot failed: invalid opcode in usercopy_abort run #4: boot failed: invalid opcode in corrupted run #5: boot failed: invalid opcode in usercopy_abort run #6: boot failed: invalid opcode in usercopy_abort run #7: boot failed: invalid opcode in usercopy_abort run #8: boot failed: invalid opcode in usercopy_abort run #9: boot failed: invalid opcode in corrupted unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 # git bisect skip 0d5292bb29661bd8dbaedf0d768f274474f23196 Bisecting: 5976 revisions left to test after this (roughly 13 steps) [c64d39b403d8dc751ea6a56f97962f93f811fed4] phy: qcom-qmp-ufs: restructure PHY creation determine whether the revision contains the guilty commit checking the merge base 9abf2313adc1ca1b6180c508c25f22f9395cc780 no existing result, test the revision testing commit 9abf2313adc1ca1b6180c508c25f22f9395cc780 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad37c6ca279223f573d17b45b4b33ebcb876920651392243ee49ae2d0987fa37 run #0: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #1: crashed: BUG: sleeping function called from invalid context in getname_flags run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: sleeping function called from invalid context in getname_flags run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: scheduling while atomic in corrupted run #6: crashed: BUG: scheduling while atomic in corrupted run #7: crashed: BUG: sleeping function called from invalid context in getname_flags run #8: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #9: crashed: BUG: scheduling while atomic in corrupted representative crash: BUG: sleeping function called from invalid context in get_timespec64, types: [ATOMIC_SLEEP] testing commit c64d39b403d8dc751ea6a56f97962f93f811fed4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce70765cd8b0f68b09f4620d4f81ac046c285250473c99ff56d8c2b984cb6639 run #0: crashed: BUG: sleeping function called from invalid context in getname_flags run #1: crashed: BUG: sleeping function called from invalid context in getname_flags run #2: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #3: crashed: BUG: sleeping function called from invalid context in file_start_write run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: sleeping function called from invalid context in getname_flags run #6: crashed: BUG: scheduling while atomic in corrupted run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: BUG: scheduling while atomic in corrupted run #9: crashed: BUG: sleeping function called from invalid context in get_timespec64 representative crash: BUG: sleeping function called from invalid context in getname_flags, types: [ATOMIC_SLEEP] # git bisect good c64d39b403d8dc751ea6a56f97962f93f811fed4 Bisecting: 5711 revisions left to test after this (roughly 13 steps) [8697a258ae24703267d2a37d91ab757c91ef027e] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit 8697a258ae24703267d2a37d91ab757c91ef027e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d430e696af22a9c4beb844d9d86947d3dd4d84d1c6d51ce69f2783832909a697 all runs: OK false negative chance: 0.000 # git bisect bad 8697a258ae24703267d2a37d91ab757c91ef027e Bisecting: 2956 revisions left to test after this (roughly 12 steps) [50011c32f421215f6231996fcc84fd1fe81c4a48] Merge tag 'net-6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit 50011c32f421215f6231996fcc84fd1fe81c4a48 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d29449f61d3ba6135ff75f70a69ee92ffe4a1f782289afd6fd458d1acb97aa4 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in corrupted run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: sleeping function called from invalid context in corrupted run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: scheduling while atomic in corrupted run #6: crashed: BUG: scheduling while atomic in corrupted run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: BUG: scheduling while atomic in corrupted run #9: crashed: BUG: sleeping function called from invalid context in get_timespec64 representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] # git bisect good 50011c32f421215f6231996fcc84fd1fe81c4a48 Bisecting: 1477 revisions left to test after this (roughly 11 steps) [9e482602c59457374916d942b4ba6ff602b14fa4] Merge tag 'x86_urgent_for_v6.2_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision 58bcac11fd94f950abc7b8466c5ceac7be07a00e crashed and is reachable testing commit 9e482602c59457374916d942b4ba6ff602b14fa4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 47970dba0417324140ec4c5e717c100c29d6612347485411844b5dcd16c177fa run #0: crashed: BUG: sleeping function called from invalid context in getname_flags run #1: crashed: BUG: sleeping function called from invalid context in aa_sk_perm run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: sleeping function called from invalid context in getname_flags run #5: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #6: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: BUG: sleeping function called from invalid context in seq_read_iter run #9: crashed: BUG: scheduling while atomic in corrupted representative crash: BUG: sleeping function called from invalid context in getname_flags, types: [ATOMIC_SLEEP] # git bisect good 9e482602c59457374916d942b4ba6ff602b14fa4 Bisecting: 738 revisions left to test after this (roughly 10 steps) [04007961bfaf76894b65de2af67f96d9d1fa82cf] ethtool: netlink: convert commands to common SET determine whether the revision contains the guilty commit revision 50011c32f421215f6231996fcc84fd1fe81c4a48 crashed and is reachable testing commit 04007961bfaf76894b65de2af67f96d9d1fa82cf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4500faa8b5e13c594d2f867c4c7a8961d7eac4f0b6592eb6c598a7f08c03bf82 all runs: OK false negative chance: 0.000 # git bisect bad 04007961bfaf76894b65de2af67f96d9d1fa82cf Bisecting: 369 revisions left to test after this (roughly 9 steps) [1c9bb44290090d438352ca3ec33c9068262d61f2] net: lan743x: remove unwanted interface select settings determine whether the revision contains the guilty commit revision 58bcac11fd94f950abc7b8466c5ceac7be07a00e crashed and is reachable testing commit 1c9bb44290090d438352ca3ec33c9068262d61f2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e0d13cb7029fbe5cdc2f097273b6bfa8378bc415f21e08c672023b7fc5af06e1 all runs: OK false negative chance: 0.000 # git bisect bad 1c9bb44290090d438352ca3ec33c9068262d61f2 Bisecting: 184 revisions left to test after this (roughly 8 steps) [5c338112e48ab1937f99e4a8990a82c999fda126] test/vsock: rework message bounds test determine whether the revision contains the guilty commit revision 50011c32f421215f6231996fcc84fd1fe81c4a48 crashed and is reachable testing commit 5c338112e48ab1937f99e4a8990a82c999fda126 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e0999006cf5489afc55e589fe9fb8b1504bea7495967b9ec7373dbb5f99eb1c all runs: OK false negative chance: 0.000 # git bisect bad 5c338112e48ab1937f99e4a8990a82c999fda126 Bisecting: 91 revisions left to test after this (roughly 7 steps) [7a54a5195b2a877a972ec21a5ca415c1fc2aec61] devlink: update the code in netns move to latest helpers determine whether the revision contains the guilty commit revision 50011c32f421215f6231996fcc84fd1fe81c4a48 crashed and is reachable testing commit 7a54a5195b2a877a972ec21a5ca415c1fc2aec61 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8bc37d6df685ab0aea58225f29a7a10757d6ef6b851f93091e116cc7f10b5f26 all runs: OK false negative chance: 0.000 # git bisect bad 7a54a5195b2a877a972ec21a5ca415c1fc2aec61 Bisecting: 45 revisions left to test after this (roughly 6 steps) [bb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8] libbpf: Restore errno after pr_warn. determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit bb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9869d36f7cedaa6d913c39b3d9ce911f34a5299272f792f03a198616ef716c7 all runs: OK false negative chance: 0.000 # git bisect bad bb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8 Bisecting: 22 revisions left to test after this (roughly 5 steps) [7b43df6c6ec38c9097420902a1c8165c4b25bf70] Merge branch 'bpftool: improve error handing for missing .BTF section' determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit 7b43df6c6ec38c9097420902a1c8165c4b25bf70 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cae62331e95f0ce3f97e1c32c4b64af3bd2b71c64d710be234beae320a1ab901 all runs: OK false negative chance: 0.000 # git bisect bad 7b43df6c6ec38c9097420902a1c8165c4b25bf70 Bisecting: 10 revisions left to test after this (roughly 4 steps) [e2bb9e01d589f7fa82573aedd2765ff9b277816a] bpf: Remove trace_printk_lock determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 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: 535cac5a39316352108cdf0eadb22d859e1c532b13fafbfd0fec93c3e39c10f8 all runs: OK false negative chance: 0.000 # git bisect bad e2bb9e01d589f7fa82573aedd2765ff9b277816a Bisecting: 5 revisions left to test after this (roughly 3 steps) [ea2ce1ba99aa6a60c8d8a706e3abadf3de372163] libbpf: Fix BTF-to-C converter's padding logic determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit ea2ce1ba99aa6a60c8d8a706e3abadf3de372163 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9d14d15a2f894435a47fdf0f06d046083ebc37076eeafa60a9b6318e14fee213 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: scheduling while atomic in corrupted run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: sleeping function called from invalid context in tomoyo_realpath_from_path run #5: crashed: BUG: sleeping function called from invalid context in getname_flags run #6: crashed: BUG: sleeping function called from invalid context in vm_mmap_pgoff run #7: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #8: crashed: BUG: sleeping function called from invalid context in getname_flags run #9: crashed: BUG: sleeping function called from invalid context in sys_brk representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] # git bisect good ea2ce1ba99aa6a60c8d8a706e3abadf3de372163 Bisecting: 2 revisions left to test after this (roughly 2 steps) [0e43662e61f2569500ab83b8188c065603530785] tools/resolve_btfids: Use pkg-config to locate libelf determine whether the revision contains the guilty commit revision 9abf2313adc1ca1b6180c508c25f22f9395cc780 crashed and is reachable testing commit 0e43662e61f2569500ab83b8188c065603530785 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e43ad7f4ff235af6849f62a2bef7a64d670ce528fa5fea0ac5460c6a45386e3c run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #2: crashed: BUG: sleeping function called from invalid context in getname_flags run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: sleeping function called from invalid context in getname_flags run #5: crashed: BUG: sleeping function called from invalid context in get_timespec64 run #6: crashed: BUG: scheduling while atomic in corrupted run #7: crashed: BUG: sleeping function called from invalid context in vm_mmap_pgoff run #8: crashed: BUG: scheduling while atomic in corrupted run #9: crashed: BUG: scheduling while atomic in corrupted representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] # git bisect good 0e43662e61f2569500ab83b8188c065603530785 Bisecting: 1 revision left to test after this (roughly 1 step) [78aa1cc9404399a15d2a1205329c6a06236f5378] bpf: Add struct for bin_args arg in bpf_bprintf_prepare determine whether the revision contains the guilty commit revision 0e43662e61f2569500ab83b8188c065603530785 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: e4782f588e99d547c0a81a92d3e9d46e0267d2daa65a96852ffc57ad5a1aa2e6 run #0: crashed: BUG: scheduling while atomic in corrupted run #1: crashed: BUG: sleeping function called from invalid context in iterate_dir run #2: crashed: BUG: scheduling while atomic in corrupted run #3: crashed: BUG: scheduling while atomic in corrupted run #4: crashed: BUG: scheduling while atomic in corrupted run #5: crashed: BUG: sleeping function called from invalid context in iterate_dir run #6: crashed: BUG: scheduling while atomic in corrupted run #7: crashed: BUG: scheduling while atomic in corrupted run #8: crashed: BUG: scheduling while atomic in corrupted run #9: crashed: BUG: sleeping function called from invalid context in get_timespec64 representative crash: BUG: scheduling while atomic in corrupted, types: [ATOMIC_SLEEP] # git bisect good 78aa1cc9404399a15d2a1205329c6a06236f5378 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: cabce787dc5a47622ede691750068c0f00e8d7744f8eab5ce11608f7ba8cd547 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: cabce787dc5a47622ede691750068c0f00e8d7744f8eab5ce11608f7ba8cd547 parent signature: e4782f588e99d547c0a81a92d3e9d46e0267d2daa65a96852ffc57ad5a1aa2e6 revisions tested: 29, total time: 5h49m38.058851293s (build: 1h58m39.115643845s, test: 3h41m2.936570347s) 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): []