ci2 starts bisection 2024-03-18 03:38:23.046425916 +0000 UTC m=+277641.169574345 bisecting fixing commit since 57436264850706f50887bbb2148ee2cc797c9485 building syzkaller on 9bd8dcda8c7c494d59bd3132a668f4784ea835c6 ensuring issue is reproducible on original commit 57436264850706f50887bbb2148ee2cc797c9485 testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3ab2c51e0884a83e9039ef3d459a53dc98d0a17a3ab46e9514007d312286f26c all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0f7699323af1adacb3161bbfad76224a59ccff6e8961514dcb70287615a9d1a all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3703 full=7267 leaves diff=1983 split chunks (needed=false): <1983> split chunk #0 of len 1983 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 800c0dddedc8234673ecc827bc0d22918569325d18cfd789ebaf4e81b608fffa all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 84a9cd8969f4b5ca10d78ce846c49c4888c765d1425a322ddc913c5e5a6724ce all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac8956c811997282780ba99ccb9928a4cc0b09af955c5123f4b45e743040e3c8 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6cbab8bb8dfa87b7a95e8f9165c4ec5551d448d38bff46ebd83f283693baad01 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 57436264850706f50887bbb2148ee2cc797c9485 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4bcc0095d2d66d293223be7860b103a18a0c473f18da0b96dddd377b0564767f all runs: OK false negative chance: 0.000 minimized to 395 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB FRONTSWAP GPIOLIB HID_ZEROPLUS I2C_MUX IIO IRQ_REMAP 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_HOTPLUG_SPARSE 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_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_STKWEBCAM 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 USB_ZR364XX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA 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 VIDEOBUF_GEN VIDEOBUF_VMALLOC VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CPIA2 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_TM6000 VIDEO_TM6000_ALSA VIDEO_TM6000_DVB VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2 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 X86_SGX X86_X2APIC X86_X32 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 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 BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed determining the merge base between 57436264850706f50887bbb2148ee2cc797c9485 and f6cef5f8c37f58a3bc95b3754c3ae98e086631ca 8bb7eca972ad531c9b149c0a51ab43a417385813/Linux 5.15 is a merge base, check if it has the bug testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 83a4cde3cbd148fe34cb5020100758ba8237dfdade763dd588481ab3a398f3d8 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] testing current HEAD f6cef5f8c37f58a3bc95b3754c3ae98e086631ca testing commit f6cef5f8c37f58a3bc95b3754c3ae98e086631ca gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aebb2d1337a6b49ccaf49d922b8f6d38261eb522688c299a73c12939320c0b51 all runs: OK false negative chance: 0.000 # git bisect start f6cef5f8c37f58a3bc95b3754c3ae98e086631ca 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 108974 revisions left to test after this (roughly 17 steps) [03a0a1040895711e12c15ab28d4d1812928e171d] Merge tag 'drm-misc-next-2023-01-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-next determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 03a0a1040895711e12c15ab28d4d1812928e171d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1c4b84d636e3ece2734529448e1da2a25187e083850336d6e6d17ecb9c1dc2a6 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 03a0a1040895711e12c15ab28d4d1812928e171d Bisecting: 54364 revisions left to test after this (roughly 16 steps) [461f35f014466c4e26dca6be0f431f57297df3f2] Merge tag 'drm-next-2023-08-30' of git://anongit.freedesktop.org/drm/drm determine whether the revision contains the guilty commit revision 03a0a1040895711e12c15ab28d4d1812928e171d crashed and is reachable testing commit 461f35f014466c4e26dca6be0f431f57297df3f2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e6b9faf615619fee98f509346c99c67ff8711a8aa1c6cf3cbeeb68d6cfba7d12 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 461f35f014466c4e26dca6be0f431f57297df3f2 Bisecting: 27183 revisions left to test after this (roughly 15 steps) [9cc52627c702b73c633737db40914ab8fc467de8] Merge tag 'kvm-riscv-6.8-1' of https://github.com/kvm-riscv/linux into HEAD determine whether the revision contains the guilty commit revision 461f35f014466c4e26dca6be0f431f57297df3f2 crashed and is reachable testing commit 9cc52627c702b73c633737db40914ab8fc467de8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 819067cb5363d576546cb814ae84e3de27c0fc0774253940dae52f8968b998f9 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 9cc52627c702b73c633737db40914ab8fc467de8 Bisecting: 13601 revisions left to test after this (roughly 14 steps) [419d8a93757f1fb4a0bd10e9c462a2f6da077ca7] Merge tag 'drm-misc-fixes-2024-02-01' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 419d8a93757f1fb4a0bd10e9c462a2f6da077ca7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2a7332cc58c21ab72349987b460f8883643c706ef246315c9ada74c96e479e7 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 419d8a93757f1fb4a0bd10e9c462a2f6da077ca7 Bisecting: 6206 revisions left to test after this (roughly 13 steps) [9187210eee7d87eea37b45ea93454a88681894a4] Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 9187210eee7d87eea37b45ea93454a88681894a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: daa31b2471c5fcee6130bfe8e5fcf4e60c984f2cde30688bffc5bbc296062f2a all runs: OK false negative chance: 0.000 # git bisect bad 9187210eee7d87eea37b45ea93454a88681894a4 Bisecting: 3693 revisions left to test after this (roughly 12 steps) [db72b6fc8fa0eae6ad69707dcce7db5e7cd32180] 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 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit db72b6fc8fa0eae6ad69707dcce7db5e7cd32180 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e4185f50ae193d6d01635bc3a14ae0fccde08bd2da9b757e334f98296a96b220 all runs: OK false negative chance: 0.000 # git bisect bad db72b6fc8fa0eae6ad69707dcce7db5e7cd32180 Bisecting: 1850 revisions left to test after this (roughly 11 steps) [180e35cdf035d1c2e9ebdc06a9944a9eb81cc3d8] ionic: add initial framework for XDP support determine whether the revision contains the guilty commit revision 461f35f014466c4e26dca6be0f431f57297df3f2 crashed and is reachable testing commit 180e35cdf035d1c2e9ebdc06a9944a9eb81cc3d8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 33c04fd7169eac4d2e943a83f376c698fc22bde48b7795501b7230e50cbf1174 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 180e35cdf035d1c2e9ebdc06a9944a9eb81cc3d8 Bisecting: 901 revisions left to test after this (roughly 10 steps) [fecc51559a844b7f74119159c3cdb25b80b4e2c6] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit fecc51559a844b7f74119159c3cdb25b80b4e2c6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a26f5cae6e40f60e63fae3d9e78cb4c9ee00f311d36835611cf751d61f94e05a all runs: OK false negative chance: 0.000 # git bisect bad fecc51559a844b7f74119159c3cdb25b80b4e2c6 Bisecting: 474 revisions left to test after this (roughly 9 steps) [653a90f6b226d8f95d06cb6c0bf5473f99582cc9] wifi: iwlwifi: bump FW API to 90 for BZ/SC devices determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 653a90f6b226d8f95d06cb6c0bf5473f99582cc9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a6b1e8383fc7b43ea8580ade250e69cb93edfded9c9100126c4da82c9f73e833 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 653a90f6b226d8f95d06cb6c0bf5473f99582cc9 Bisecting: 239 revisions left to test after this (roughly 8 steps) [626721edeebd90df65691aed0df251b63c4ca4e2] Merge tag 'i2c-for-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux determine whether the revision contains the guilty commit revision 461f35f014466c4e26dca6be0f431f57297df3f2 crashed and is reachable testing commit 626721edeebd90df65691aed0df251b63c4ca4e2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0a8548bfef00bcaf71eb4b4009307a8699cbad08544b9737a16a01fa9d51d9ef all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 626721edeebd90df65691aed0df251b63c4ca4e2 Bisecting: 108 revisions left to test after this (roughly 7 steps) [6714ebb922ab15a209dfc3c1ed29d4bb0abc9f02] Merge tag 'net-6.8.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 9cc52627c702b73c633737db40914ab8fc467de8 crashed and is reachable testing commit 6714ebb922ab15a209dfc3c1ed29d4bb0abc9f02 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 215b10de10fe29033578aed07effbb03965541eb78eddc4617065322921c510e all runs: OK false negative chance: 0.000 # git bisect bad 6714ebb922ab15a209dfc3c1ed29d4bb0abc9f02 Bisecting: 68 revisions left to test after this (roughly 6 steps) [3489182b11d35f1944c1245fc9c4867cf622c50f] net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY determine whether the revision contains the guilty commit revision 9cc52627c702b73c633737db40914ab8fc467de8 crashed and is reachable testing commit 3489182b11d35f1944c1245fc9c4867cf622c50f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e0a83606f2b6fe430b0a920d38988b54b7d019b69d8ca9f3e986b72cc6f8e27f all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 3489182b11d35f1944c1245fc9c4867cf622c50f Bisecting: 31 revisions left to test after this (roughly 5 steps) [9fc1ccccfd8d53dc7936fe6d633f2373fc9f62e8] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 9fc1ccccfd8d53dc7936fe6d633f2373fc9f62e8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1a64b41f7e12c87b522288f85abe916acbc8b02d433d718da611d09ed974ec15 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good 9fc1ccccfd8d53dc7936fe6d633f2373fc9f62e8 Bisecting: 18 revisions left to test after this (roughly 4 steps) [fdcd4467ba154465402432888f9ba9ad2122a37a] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf determine whether the revision contains the guilty commit revision 9cc52627c702b73c633737db40914ab8fc467de8 crashed and is reachable testing commit fdcd4467ba154465402432888f9ba9ad2122a37a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1e018e8547d70caef369762d98ae5dbe3c2ec1b00c8ea3d8da4ae3f36147f330 all runs: OK false negative chance: 0.000 # git bisect bad fdcd4467ba154465402432888f9ba9ad2122a37a Bisecting: 5 revisions left to test after this (roughly 3 steps) [54d46c9f581d16ac6adad3c3e61766e02bbfcb60] Merge branch 'fix-the-read-of-vsyscall-page-through-bpf' determine whether the revision contains the guilty commit revision 9cc52627c702b73c633737db40914ab8fc467de8 crashed and is reachable testing commit 54d46c9f581d16ac6adad3c3e61766e02bbfcb60 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 651e49a83b504b20b0e88bf6253ff085fd5a49df741b85cea53aa84034e361b6 all runs: OK false negative chance: 0.000 # git bisect bad 54d46c9f581d16ac6adad3c3e61766e02bbfcb60 Bisecting: 3 revisions left to test after this (roughly 2 steps) [e37243b65d528a8a9f8b9a57a43885f8e8dfc15c] bpf, scripts: Correct GPL license name determine whether the revision contains the guilty commit revision 9cc52627c702b73c633737db40914ab8fc467de8 crashed and is reachable testing commit e37243b65d528a8a9f8b9a57a43885f8e8dfc15c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9d5154b55d66c458ac49c8865711a16a24ada5f316684abc18646ff266bb866a all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good e37243b65d528a8a9f8b9a57a43885f8e8dfc15c Bisecting: 1 revision left to test after this (roughly 1 step) [32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58] x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault() determine whether the revision contains the guilty commit revision e37243b65d528a8a9f8b9a57a43885f8e8dfc15c crashed and is reachable testing commit 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa42f1338870aa5c87d05391381a6c414156dcc029161a6c25940a2aaf4b4f75 all runs: OK false negative chance: 0.000 # git bisect bad 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 Bisecting: 0 revisions left to test after this (roughly 0 steps) [ee0e39a63b78849f8abbef268b13e4838569f646] x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit ee0e39a63b78849f8abbef268b13e4838569f646 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3c19fd2be5af249285150bfe66e852ac9ac64cfc871b601000a216c733a197e3 all runs: crashed: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str representative crash: BUG: unable to handle kernel paging request in bpf_probe_read_compat_str, types: [UNKNOWN] # git bisect good ee0e39a63b78849f8abbef268b13e4838569f646 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 is the first bad commit commit 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 Author: Hou Tao Date: Fri Feb 2 18:39:34 2024 +0800 x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault() When trying to use copy_from_kernel_nofault() to read vsyscall page through a bpf program, the following oops was reported: BUG: unable to handle page fault for address: ffffffffff600000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 3231067 P4D 3231067 PUD 3233067 PMD 3235067 PTE 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 20390 Comm: test_progs ...... 6.7.0+ #58 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) ...... RIP: 0010:copy_from_kernel_nofault+0x6f/0x110 ...... Call Trace: ? copy_from_kernel_nofault+0x6f/0x110 bpf_probe_read_kernel+0x1d/0x50 bpf_prog_2061065e56845f08_do_probe_read+0x51/0x8d trace_call_bpf+0xc5/0x1c0 perf_call_bpf_enter.isra.0+0x69/0xb0 perf_syscall_enter+0x13e/0x200 syscall_trace_enter+0x188/0x1c0 do_syscall_64+0xb5/0xe0 entry_SYSCALL_64_after_hwframe+0x6e/0x76 ...... ---[ end trace 0000000000000000 ]--- The oops is triggered when: 1) A bpf program uses bpf_probe_read_kernel() to read from the vsyscall page and invokes copy_from_kernel_nofault() which in turn calls __get_user_asm(). 2) Because the vsyscall page address is not readable from kernel space, a page fault exception is triggered accordingly. 3) handle_page_fault() considers the vsyscall page address as a user space address instead of a kernel space address. This results in the fix-up setup by bpf not being applied and a page_fault_oops() is invoked due to SMAP. Considering handle_page_fault() has already considered the vsyscall page address as a userspace address, fix the problem by disallowing vsyscall page read for copy_from_kernel_nofault(). Originally-by: Thomas Gleixner Reported-by: syzbot+72aa0161922eba61b50e@syzkaller.appspotmail.com Closes: https://lore.kernel.org/bpf/CAG48ez06TZft=ATH1qh2c5mpS5BT8UakwNkzi6nvK5_djC-4Nw@mail.gmail.com Reported-by: xingwei lee Closes: https://lore.kernel.org/bpf/CABOYnLynjBoFZOf3Z4BhaZkc5hx_kHfsjiW+UWLoB=w33LvScw@mail.gmail.com Signed-off-by: Hou Tao Reviewed-by: Sohil Mehta Acked-by: Thomas Gleixner Link: https://lore.kernel.org/r/20240202103935.3154011-3-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov arch/x86/mm/maccess.c | 10 ++++++++++ 1 file changed, 10 insertions(+) accumulated error probability: 0.00 culprit signature: aa42f1338870aa5c87d05391381a6c414156dcc029161a6c25940a2aaf4b4f75 parent signature: 3c19fd2be5af249285150bfe66e852ac9ac64cfc871b601000a216c733a197e3 revisions tested: 27, total time: 4h11m11.206750316s (build: 1h20m46.758120471s, test: 2h39m52.024536764s) first good commit: 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault() recipients (to): ["ast@kernel.org" "houtao1@huawei.com" "sohil.mehta@intel.com" "tglx@linutronix.de"] recipients (cc): []