ci starts bisection 2024-05-30 23:41:48.333653812 +0000 UTC m=+206908.049640998 bisecting fixing commit since 4c2a26fc80bcb851dc630590f2eec157991eccbf building syzkaller on 7a239ce75709b01083336e0f2f44aa8a01734543 ensuring issue is reproducible on original commit 4c2a26fc80bcb851dc630590f2eec157991eccbf testing commit 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dba6da07a811e10cec1a0291c91447c5483ec34462d2a61ad2418485c3c40c2e all runs: crashed: general protection fault in bpf_check representative crash: general protection fault in bpf_check, 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 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46daafcc28d39f431c38d87b91fa692cdf3ff9808ecaa0439dbef8eb72ce47e5 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3976 full=7972 leaves diff=2011 split chunks (needed=false): <2011> split chunk #0 of len 2011 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 024f5395798da70567745fd6133e10dc71ccb093eed4fd7ce621deb874bd9f97 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f4a33cc166f18945b4fb475ae438be7477691f35008b27de447df986bc6d76be all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b08495619500ac55ee6e5cd078824a8b68f46fe5e441351e42e557f68f81ed5a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 837c1167475999870ac0ddd853b37cfd1296f54177edb7e876ff0c85175c8b15 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, 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 4c2a26fc80bcb851dc630590f2eec157991eccbf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d2104d4ee7d8c495e51189dea3ccb152b9bea96a2fda1d0bf8023d78c1f315c0 all runs: OK false negative chance: 0.000 minimized to 399 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_ZSTD DVB_CORE EXTCON FB GPIOLIB HAVE_KVM HID_ZEROPLUS HW_CONSOLE I2C_MUX IIO IOMMUFD IRQ_REMAP KVM KVM_INTEL LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_VIPERBOARD PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TARGET_CORE TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI USB_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM USB_CONFIGFS_F_UAC1 USB_CONFIGFS_F_UAC1_LEGACY USB_CONFIGFS_F_UAC2 USB_CONFIGFS_F_UVC USB_CONFIGFS_MASS_STORAGE USB_CONFIGFS_NCM USB_CONFIGFS_OBEX USB_CONFIGFS_PHONET USB_CONFIGFS_RNDIS USB_CONFIGFS_SERIAL USB_CXACRU USB_CYPRESS_CY7C63 USB_CYTHERM USB_DSBR USB_DUMMY_HCD USB_DWC2 USB_DWC2_HOST USB_DWC2_PCI USB_DWC3 USB_DWC3_GADGET USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_HCD_PLATFORM USB_EHCI_ROOT_HUB_TT USB_EHSET_TEST_FIXTURE USB_EMI26 USB_EMI62 USB_EPSON2888 USB_EZUSB_FX2 USB_FEW_INIT_RETRIES USB_F_ACM USB_F_ECM USB_F_EEM USB_F_FS USB_F_HID USB_F_MASS_STORAGE USB_F_MIDI USB_F_NCM USB_F_OBEX USB_F_PHONET USB_F_PRINTER USB_F_RNDIS USB_F_SERIAL USB_F_SS_LB USB_F_SUBSET USB_F_TCM USB_F_UAC1 USB_F_UAC1_LEGACY USB_F_UAC2 USB_F_UVC USB_GADGET USB_GADGETFS USB_GADGET_DEBUG_FILES USB_GADGET_DEBUG_FS USB_GL860 USB_GOKU USB_GPIO_VBUS USB_GR_UDC USB_GSPCA USB_GSPCA_BENQ USB_GSPCA_CONEX USB_GSPCA_CPIA1 USB_GSPCA_DTCS033 USB_GSPCA_ETOMS USB_GSPCA_FINEPIX USB_GSPCA_JEILINJ USB_GSPCA_JL2005BCD USB_GSPCA_KINECT USB_GSPCA_KONICA USB_GSPCA_MARS USB_GSPCA_MR97310A USB_GSPCA_NW80X USB_GSPCA_OV519 USB_GSPCA_OV534 USB_GSPCA_OV534_9 USB_GSPCA_PAC207 USB_GSPCA_PAC7302 USB_GSPCA_PAC7311 USB_GSPCA_SE401 USB_GSPCA_SN9C2028 USB_GSPCA_SN9C20X USB_GSPCA_SONIXB USB_GSPCA_SONIXJ USB_GSPCA_SPCA1528 USB_GSPCA_SPCA500 USB_GSPCA_SPCA501 USB_GSPCA_SPCA505 USB_GSPCA_SPCA506 USB_GSPCA_SPCA508 USB_GSPCA_SPCA561 USB_GSPCA_SQ905 USB_GSPCA_SQ905C USB_GSPCA_SQ930X USB_GSPCA_STK014 USB_GSPCA_STK1135 USB_GSPCA_STV0680 USB_GSPCA_SUNPLUS USB_GSPCA_T613 USB_GSPCA_TOPRO USB_GSPCA_TOUPTEK USB_GSPCA_TV8532 USB_GSPCA_VC032X USB_GSPCA_VICAM USB_GSPCA_XIRLINK_CIT USB_GSPCA_ZC3XX USB_HACKRF USB_HCD_BCMA USB_HCD_SSB USB_HSIC_USB3503 USB_HSIC_USB4604 USB_HSO USB_HUB_USB251XB USB_IDMOUSE USB_IOWARRIOR USB_IPHETH USB_ISIGHTFW USB_ISP116X_HCD USB_ISP1301 USB_ISP1760 USB_ISP1760_DUAL_ROLE USB_ISP1760_HCD USB_ISP1761_UDC USB_KAWETH USB_KC2190 USB_KEENE USB_LAN78XX USB_LCD USB_LD USB_LEDS_TRIGGER_USBPORT USB_LED_TRIG USB_LEGOTOWER USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_MV_U3D USB_MV_UDC USB_NET2272 USB_NET2272_DMA USB_NET2280 USB_NET_AX88179_178A USB_NET_AX8817X USB_NET_CDCETHER USB_NET_CDC_EEM USB_NET_CDC_MBIM USB_NET_CDC_NCM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_CH9200 USB_NET_CX82310_ETH USB_NET_DM9601 USB_NET_GL620A USB_NET_HUAWEI_CDC_NCM USB_NET_INT51X1 USB_NET_KALMIA USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_QMI_WWAN USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_OXU210HP_HCD USB_PEGASUS USB_PULSE8_CEC USB_PWC USB_PWC_INPUT_EVDEV USB_PXA27X USB_R8A66597 USB_R8A66597_HCD USB_RAINSHADOW_CEC USB_RAREMONO USB_RAW_GADGET USB_RTL8150 USB_RTL8152 USB_RTL8153_ECM USB_S2255 USB_SERIAL USB_SERIAL_AIRCABLE USB_SERIAL_ARK3116 USB_SERIAL_BELKIN USB_SERIAL_CH341 USB_SERIAL_CONSOLE USB_SERIAL_CP210X USB_SERIAL_CYBERJACK USB_SERIAL_CYPRESS_M8 USB_SERIAL_DEBUG USB_SERIAL_DIGI_ACCELEPORT USB_SERIAL_EDGEPORT USB_SERIAL_EDGEPORT_TI USB_SERIAL_EMPEG USB_SERIAL_F81232 USB_SERIAL_F8153X USB_SERIAL_FTDI_SIO USB_SERIAL_GARMIN USB_SERIAL_GENERIC USB_SERIAL_IPAQ USB_SERIAL_IPW USB_SERIAL_IR USB_SERIAL_IUU USB_SERIAL_KEYSPAN USB_SERIAL_KEYSPAN_PDA USB_SERIAL_KLSI USB_SERIAL_KOBIL_SCT USB_SERIAL_MCT_U232 USB_SERIAL_METRO USB_SERIAL_MOS7715_PARPORT USB_SERIAL_MOS7720 USB_SERIAL_MOS7840 USB_SERIAL_MXUPORT USB_SERIAL_NAVMAN USB_SERIAL_OMNINET USB_SERIAL_OPTICON USB_SERIAL_OPTION USB_SERIAL_OTI6858 USB_SERIAL_PL2303 USB_SERIAL_QCAUX USB_SERIAL_QT2 USB_SERIAL_QUALCOMM USB_SERIAL_SAFE USB_SERIAL_SIERRAWIRELESS USB_SERIAL_SIMPLE USB_SERIAL_SPCP8X5 USB_SERIAL_SSU100 USB_SERIAL_SYMBOL USB_SERIAL_TI USB_SERIAL_UPD78F0730 USB_SERIAL_VISOR USB_SERIAL_WHITEHEAT USB_SERIAL_WISHBONE USB_SERIAL_WWAN USB_SERIAL_XR USB_SERIAL_XSENS_MT USB_SEVSEG USB_SI470X USB_SI4713 USB_SIERRA_NET USB_SISUSBVGA USB_SL811_CS USB_SL811_HCD USB_SL811_HCD_ISO USB_SNP_CORE USB_SPEEDTOUCH USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_ENE_UB6250 USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_STV06XX USB_TEST USB_TMC USB_TRANCEVIBRATOR USB_UAS USB_UEAGLEATM USB_ULPI_BUS USB_USBNET USB_USS720 USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_VIDEO_CLASS USB_VIDEO_CLASS_INPUT_EVDEV USB_VL600 USB_WDM USB_XHCI_DBGCAP USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER UVC_COMMON U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VDPA_SIM VDPA_SIM_BLOCK VDPA_SIM_NET VDPA_USER VETH VFIO VFIO_DEVICE_CDEV VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_PCI_MMAP VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_IOTLB VHOST_NET VHOST_RING VHOST_TASK VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOMODE_HELPERS VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CMDLINE VIDEO_CS53L32A VIDEO_CX231XX VIDEO_CX231XX_ALSA VIDEO_CX231XX_DVB VIDEO_CX231XX_RC VIDEO_CX2341X VIDEO_CX25840 VIDEO_DEV VIDEO_EM28XX VIDEO_EM28XX_ALSA VIDEO_EM28XX_DVB VIDEO_EM28XX_RC VIDEO_EM28XX_V4L2 VIDEO_GO7007 VIDEO_GO7007_LOADER VIDEO_GO7007_USB VIDEO_GO7007_USB_S2250_BOARD VIDEO_HDPVR VIDEO_MSP3400 VIDEO_NOMODESET VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2_I2C VIDEO_V4L2_SUBDEV_API VIDEO_V4L2_TPG VIDEO_VICODEC VIDEO_VIM2M VIDEO_VIMC VIDEO_VIVID VIDEO_VIVID_CEC VIDEO_WM8775 VIPERBOARD_ADC VIRTIO_BALLOON VIRTIO_DMA_SHARED_BUFFER VIRTIO_MEM VIRTIO_MMIO VIRTIO_MMIO_CMDLINE_DEVICES VIRTIO_PMEM VIRTIO_VDPA VIRTIO_VSOCKETS VIRTIO_VSOCKETS_COMMON VIRT_WIFI VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMAP_PFN VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING VXFS_FS WANT_DEV_COREDUMP WEXT_CORE WEXT_PRIV WEXT_PROC WIREGUARD WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ADMTEK WLAN_VENDOR_PURELIFI WLAN_VENDOR_SILABS X86_SGX X86_SGX_KVM X86_USER_SHADOW_STACK X86_X2APIC X86_X32_ABI 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 ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_SHRINKER_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZSMALLOC] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 3f8fde319524411b96badee3c96f35831300388a testing commit 3f8fde319524411b96badee3c96f35831300388a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 86ac77b1145258ad474d3a34c9925c66705ae0648519016241dab8c7759ba783 all runs: OK false negative chance: 0.000 # git bisect start 3f8fde319524411b96badee3c96f35831300388a 4c2a26fc80bcb851dc630590f2eec157991eccbf Bisecting: 11264 revisions left to test after this (roughly 14 steps) [14a60290edf6d947b9e2210f7a223bcc6af1716a] Merge tag 'soc-drivers-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit checking the merge base 9187210eee7d87eea37b45ea93454a88681894a4 no existing result, test the revision testing commit 9187210eee7d87eea37b45ea93454a88681894a4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e5012682fb0ac32795a75b75b8c3bd2d3081772cb89cdacf006346bc8e78323f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] testing commit 14a60290edf6d947b9e2210f7a223bcc6af1716a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbfa41b6f517da743fbcd7c23f02e403d658cdec0ba3f4993960d49a540568da all runs: OK false negative chance: 0.000 # git bisect bad 14a60290edf6d947b9e2210f7a223bcc6af1716a Bisecting: 5554 revisions left to test after this (roughly 13 steps) [4f712ee0cbbd5c777d270427092bb301fc31044f] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 4f712ee0cbbd5c777d270427092bb301fc31044f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: de0c57694d196e8aa9808b68ce5e19d39d00019768f05f3b770940dcc7909414 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good 4f712ee0cbbd5c777d270427092bb301fc31044f Bisecting: 2778 revisions left to test after this (roughly 12 steps) [86dbf8c566417afd62087ecd3bedcf84f91ee4e4] bcachefs: Fix btree node merging on write buffer btrees determine whether the revision contains the guilty commit revision 4f712ee0cbbd5c777d270427092bb301fc31044f crashed and is reachable testing commit 86dbf8c566417afd62087ecd3bedcf84f91ee4e4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4b4b3a01f939cc0144c71caef83cefef89b1179d169b886c3f95f64971dedd3 all runs: OK false negative chance: 0.000 # git bisect bad 86dbf8c566417afd62087ecd3bedcf84f91ee4e4 Bisecting: 1367 revisions left to test after this (roughly 11 steps) [0a59b3f42e5703a89dd6ddf5bc818a4cff975302] Merge tag 'staging-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 0a59b3f42e5703a89dd6ddf5bc818a4cff975302 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a2a024cbe028e039d99d152cd610f95d4c8b0896f631e088b595f90dd39ae2a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good 0a59b3f42e5703a89dd6ddf5bc818a4cff975302 Bisecting: 700 revisions left to test after this (roughly 10 steps) [1e3cd03c54b76b4cbc8b31256dc3f18c417a6876] Merge tag 'loongarch-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 1e3cd03c54b76b4cbc8b31256dc3f18c417a6876 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48f1b09de4cd5dbb32ad812acfa153e590df3af1b6de5c2a423b2a93756e1e54 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good 1e3cd03c54b76b4cbc8b31256dc3f18c417a6876 Bisecting: 327 revisions left to test after this (roughly 9 steps) [50108c352db70405b3d71d8099d0b3adc3b3352c] Merge tag 'net-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net determine whether the revision contains the guilty commit revision 4f712ee0cbbd5c777d270427092bb301fc31044f crashed and is reachable testing commit 50108c352db70405b3d71d8099d0b3adc3b3352c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 10e300769d3d1aefeabc61b597245c59402949f7bfde7a9a0fe64e52a022d07e all runs: OK false negative chance: 0.000 # git bisect bad 50108c352db70405b3d71d8099d0b3adc3b3352c Bisecting: 184 revisions left to test after this (roughly 8 steps) [00164f477f065a0faaed7f2ca8f1c724c99b6fe1] Merge tag 'timers-core-2024-03-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 00164f477f065a0faaed7f2ca8f1c724c99b6fe1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: effd7e90ec4fd24d1c84346626aaf9ae77dcc9353eb44269baeda866a9f3baa7 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good 00164f477f065a0faaed7f2ca8f1c724c99b6fe1 Bisecting: 91 revisions left to test after this (roughly 7 steps) [8d025e2092e29bfd13e56c78e22af25fac83c8ec] Merge tag 'erofs-for-6.9-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 8d025e2092e29bfd13e56c78e22af25fac83c8ec gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e385e28711ddedcafecf68a3355cd3cbd0884e425224e70541b1c73e56dd127d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good 8d025e2092e29bfd13e56c78e22af25fac83c8ec Bisecting: 47 revisions left to test after this (roughly 6 steps) [f7442a634ac06b953fc1f7418f307b25acd4cfbc] mlxbf_gige: call request_irq() after NAPI initialized determine whether the revision contains the guilty commit revision 4f712ee0cbbd5c777d270427092bb301fc31044f crashed and is reachable testing commit f7442a634ac06b953fc1f7418f307b25acd4cfbc gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48647b757d5e489003779998750cedc70e7eb925979df7101dcd0a6742520be8 all runs: OK false negative chance: 0.000 # git bisect bad f7442a634ac06b953fc1f7418f307b25acd4cfbc Bisecting: 25 revisions left to test after this (roughly 5 steps) [443574b033876c85a35de4c65c14f7fe092222b2] riscv, bpf: Fix kfunc parameters incompatibility between bpf and riscv abi determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit 443574b033876c85a35de4c65c14f7fe092222b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e551c8551f2891195aae1634e5879273db54dc0180a36712925f7960982136c6 all runs: OK false negative chance: 0.000 # git bisect bad 443574b033876c85a35de4c65c14f7fe092222b2 Bisecting: 8 revisions left to test after this (roughly 3 steps) [f6e922365faf4cd576bd1cf3e64b58c8a32e1856] xsk: Don't assume metadata is always requested in TX completion determine whether the revision contains the guilty commit revision 9187210eee7d87eea37b45ea93454a88681894a4 crashed and is reachable testing commit f6e922365faf4cd576bd1cf3e64b58c8a32e1856 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 61b6521c86fe4e4eb45bcb4175c900cc4d99f2514934a9f5e39fc6b08a92c3bc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good f6e922365faf4cd576bd1cf3e64b58c8a32e1856 Bisecting: 4 revisions left to test after this (roughly 2 steps) [a51cd6bf8e10793103c5870ff9e4db295a843604] arm64: bpf: fix 32bit unconditional bswap determine whether the revision contains the guilty commit revision f6e922365faf4cd576bd1cf3e64b58c8a32e1856 crashed and is reachable testing commit a51cd6bf8e10793103c5870ff9e4db295a843604 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a2a26cb52956018523c824c89939dc8f2bb04386c78d7db30cdfdcc06031d6bf all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good a51cd6bf8e10793103c5870ff9e4db295a843604 Bisecting: 2 revisions left to test after this (roughly 1 step) [f7f5d1808b1b66935a24dd796dd1a0612ca9c147] bpf: verifier: fix addr_space_cast from as(1) to as(0) determine whether the revision contains the guilty commit revision f6e922365faf4cd576bd1cf3e64b58c8a32e1856 crashed and is reachable testing commit f7f5d1808b1b66935a24dd796dd1a0612ca9c147 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3f0156db2739666b26a301fbe80a71a5acf4e28ce29765833f95fb8952f3e70a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good f7f5d1808b1b66935a24dd796dd1a0612ca9c147 Bisecting: 0 revisions left to test after this (roughly 1 step) [122fdbd2a030a95128737fc77e47df15a8f170c3] bpf: verifier: reject addr_space_cast insn without arena determine whether the revision contains the guilty commit revision f6e922365faf4cd576bd1cf3e64b58c8a32e1856 crashed and is reachable testing commit 122fdbd2a030a95128737fc77e47df15a8f170c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0f623b12723d1edb15737d6c694d032b27f167fb90bef4e393c5749c13dd069b all runs: OK false negative chance: 0.000 # git bisect bad 122fdbd2a030a95128737fc77e47df15a8f170c3 Bisecting: 0 revisions left to test after this (roughly 0 steps) [fa3550dca8f02ec312727653a94115ef3ab68445] selftests/bpf: verifier_arena: fix mmap address for arm64 determine whether the revision contains the guilty commit revision f6e922365faf4cd576bd1cf3e64b58c8a32e1856 crashed and is reachable testing commit fa3550dca8f02ec312727653a94115ef3ab68445 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62e32e2c91af5929ae3b4c8fde3d40d6a8618b01ee1ebb7abe25b5c2509fc91b all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bpf_check representative crash: BUG: unable to handle kernel NULL pointer dereference in bpf_check, types: [UNKNOWN] # git bisect good fa3550dca8f02ec312727653a94115ef3ab68445 122fdbd2a030a95128737fc77e47df15a8f170c3 is the first bad commit commit 122fdbd2a030a95128737fc77e47df15a8f170c3 Author: Puranjay Mohan Date: Fri Mar 22 15:35:18 2024 +0000 bpf: verifier: reject addr_space_cast insn without arena The verifier allows using the addr_space_cast instruction in a program that doesn't have an associated arena. This was caught in the form an invalid memory access in do_misc_fixups() when while converting addr_space_cast to a normal 32-bit mov, env->prog->aux->arena was dereferenced to check for BPF_F_NO_USER_CONV flag. Reject programs that include the addr_space_cast instruction but don't have an associated arena. root@rv-tester:~# ./reproducer Unable to handle kernel access to user memory without uaccess routines at virtual address 0000000000000030 Oops [#1] [] do_misc_fixups+0x43c/0x1168 [] bpf_check+0xda8/0x22b6 [] bpf_prog_load+0x486/0x8dc [] __sys_bpf+0xbd8/0x214e [] __riscv_sys_bpf+0x22/0x2a [] do_trap_ecall_u+0x102/0x17c [] ret_from_exception+0x0/0x64 Fixes: 6082b6c328b5 ("bpf: Recognize addr_space_cast instruction in the verifier.") Reported-by: xingwei lee Reported-by: yue sun Closes: https://lore.kernel.org/bpf/CABOYnLz09O1+2gGVJuCxd_24a-7UueXzV-Ff+Fr+h5EKFDiYCQ@mail.gmail.com/ Signed-off-by: Puranjay Mohan Link: https://lore.kernel.org/r/20240322153518.11555-1-puranjay12@gmail.com Signed-off-by: Alexei Starovoitov kernel/bpf/verifier.c | 4 ++++ 1 file changed, 4 insertions(+) accumulated error probability: 0.00 culprit signature: 0f623b12723d1edb15737d6c694d032b27f167fb90bef4e393c5749c13dd069b parent signature: 62e32e2c91af5929ae3b4c8fde3d40d6a8618b01ee1ebb7abe25b5c2509fc91b revisions tested: 24, total time: 3h58m26.25082347s (build: 1h49m49.014948948s, test: 1h54m56.871001335s) first good commit: 122fdbd2a030a95128737fc77e47df15a8f170c3 bpf: verifier: reject addr_space_cast insn without arena recipients (to): ["aou@eecs.berkeley.edu" "ast@kernel.org" "ast@kernel.org" "bpf@vger.kernel.org" "daniel@iogearbox.net" "linux-riscv@lists.infradead.org" "palmer@dabbelt.com" "paul.walmsley@sifive.com" "puranjay12@gmail.com"] recipients (cc): ["andrii@kernel.org" "eddyz87@gmail.com" "haoluo@google.com" "john.fastabend@gmail.com" "jolsa@kernel.org" "kpsingh@kernel.org" "linux-kernel@vger.kernel.org" "martin.lau@linux.dev" "sdf@google.com" "song@kernel.org" "yonghong.song@linux.dev"]