ci starts bisection 2025-09-29 11:09:42.898374068 +0000 UTC m=+43.831435588 bisecting cause commit starting from bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 building syzkaller on 001c90610fb2f2ac7cbbc9cd6af3f547b821a8ad ensuring issue is reproducible on original commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 52d09f56b8418b51e282429940b1060a79e52663162156501067ad86017e439b all runs: crashed: general protection fault in print_reg_state representative crash: general protection fault in print_reg_state, types: [DoS] check whether we can drop unnecessary instrumentation disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning kasan], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 2cfd0e26314bab492e3e28eb3e5afb220e45ba38b06030d871f6de1cc2b2a332 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] the bug reproduces without the instrumentation disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning kasan], they are not needed kconfig minimization: base=4099 full=8510 leaves diff=2194 split chunks (needed=false): <2194> split chunk #0 of len 2194 into 5 parts testing without sub-chunk 1/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning kasan locking], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: d074170e99f61d313ec8774dd2f00eb073289844c2c01a342633c952644dcd05 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ubsan bug_or_warning kasan locking atomic_sleep hang memleak], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 7760ccbab40a9f7c76c338dbc100c7a9c45e845f5e6e3a5c16e67f5376ffdc14 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [hang memleak ubsan bug_or_warning kasan locking atomic_sleep], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: e80715b8a4794ff1edc1e71ccbd2916b7296978ce87f04a902478cbde7c7660f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning kasan locking], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 450aa9d216fc4654dd183fd03f2399518efb193e750aa0e8069becf48030eafd all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning kasan], they are not needed testing commit bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 2e7f6b6a1628b82d5e11d9d158a0a05bf348eeec07c5016b564e33fcae96bddc all runs: OK false negative chance: 0.000 minimized to 438 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA COMMON_CLK CONTIG_ALLOC DVB_CORE EXTCON GPIOLIB HID_ZEROPLUS I2C_MUX IIO IOMMUFD IRQ_REMAP KVM KVM_INTEL LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_VIPERBOARD NOP_USB_XCEIV PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TARGET_CORE TUN USBIP_CORE USBIP_VUDC USBPCWATCHDOG USB_ACM USB_ADUTUX USB_AIRSPY USB_ALI_M5632 USB_AMD5536UDC USB_AN2720 USB_APPLEDISPLAY USB_ARMLINUX USB_ATM USB_BDC_UDC USB_BELKIN USB_C67X00_HCD USB_CATC USB_CDC_PHONET USB_CDNS2_UDC USB_CDNS3 USB_CDNS3_GADGET USB_CDNS3_HOST USB_CDNS3_PCI_WRAP USB_CDNSP_GADGET USB_CDNSP_HOST USB_CDNSP_PCI USB_CDNS_HOST USB_CDNS_SUPPORT USB_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_GENERIC USB_CHIPIDEA_HOST USB_CHIPIDEA_MSM USB_CHIPIDEA_NPCM USB_CHIPIDEA_PCI USB_CHIPIDEA_UDC USB_CONFIGFS USB_CONFIGFS_ACM USB_CONFIGFS_ECM USB_CONFIGFS_ECM_SUBSET USB_CONFIGFS_EEM USB_CONFIGFS_F_FS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI USB_CONFIGFS_F_MIDI2 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_CONN_GPIO 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_HAPS USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_FSL 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_MIDI2 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_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_LGM_PHY USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3420_UDC USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_NET2280 USB_NET_AQC111 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_PCI_RENESAS USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USERFAULTFD USERIO USER_RETURN_NOTIFIER UVC_COMMON U_SERIAL_CONSOLE V4L2_ASYNC V4L2_FWNODE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VDPA_SIM VDPA_SIM_BLOCK VDPA_SIM_NET VETH VFIO VFIO_DEVICE_CDEV VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_ENABLE_FORK_OWNER_CONTROL VHOST_IOTLB VHOST_NET VHOST_RING VHOST_TASK VHOST_VDPA VHOST_VSOCK VIDEO 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_LENS 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_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_PROC WIREGUARD WIRELESS WLAN WLAN_VENDOR_ADMTEK WLAN_VENDOR_SILABS X86_SGX X86_SGX_KVM X86_USER_SHADOW_STACK 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 XILLYBUS_CLASS XILLYUSB XOR_BLOCKS YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZEROPLUS_FF ZLIB_DEFLATE ZONEFS_FS ZPOOL ZRAM ZRAM_BACKEND_FORCE_LZO ZRAM_BACKEND_LZO ZRAM_DEF_COMP_LZO ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_842 ZSWAP_DEFAULT_ON ZSWAP_SHRINKER_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZSMALLOC] disabling configs for [ubsan bug_or_warning kasan locking atomic_sleep hang memleak], they are not needed picked [v6.16 v6.15 v6.14 v6.12 v6.10 v6.8 v6.6 v6.4 v6.1 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 39 release tags testing release v6.16 testing commit 038d61fd642278bab63ee8ef722c50d10ab01e8f gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 9afe223957baa7288608baa55d23f578139ce4735378846cfc7eba6f167b16d8 all runs: OK false negative chance: 0.000 # git bisect start bf40f4b87761e2ec16efc8e49b9ca0d81f4115d8 038d61fd642278bab63ee8ef722c50d10ab01e8f Bisecting: 7016 revisions left to test after this (roughly 13 steps) [63eb28bb1402891b1ad2be02a530f29a9dd7f1cd] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit 63eb28bb1402891b1ad2be02a530f29a9dd7f1cd gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: a7644ad6128f94d70dc784183760ec1fd8cda41c1be72fc65cda72d375f64d6d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad 63eb28bb1402891b1ad2be02a530f29a9dd7f1cd Bisecting: 3597 revisions left to test after this (roughly 12 steps) [0ae982df67760cd08affa935c0fe86c8a9311797] Merge tag 'i2c-for-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux testing commit 0ae982df67760cd08affa935c0fe86c8a9311797 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 95ae4d0d7f9dfdd1b2e1df35b07024e5b3974adb2b087d98f163c5b05557eeb4 all runs: OK false negative chance: 0.000 # git bisect good 0ae982df67760cd08affa935c0fe86c8a9311797 Bisecting: 1789 revisions left to test after this (roughly 11 steps) [d2002ccb47dd3bf6102d06c8e5062ccfdd31ce28] Merge tag 'for-net-next-2025-07-23' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next testing commit d2002ccb47dd3bf6102d06c8e5062ccfdd31ce28 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 5e6fb8d9018a0b271cd176e64ddd6d03a561a694d718556dba98767eecee6d5f all runs: OK false negative chance: 0.000 # git bisect good d2002ccb47dd3bf6102d06c8e5062ccfdd31ce28 Bisecting: 962 revisions left to test after this (roughly 10 steps) [4b290aae788e06561754b28c6842e4080957d3f7] Merge tag 'sysctl-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl testing commit 4b290aae788e06561754b28c6842e4080957d3f7 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: beb0d8af4e3ca4575f9f5eba8be30f5134f3814cc6d770b09ca0df067ccc939f all runs: OK false negative chance: 0.000 # git bisect good 4b290aae788e06561754b28c6842e4080957d3f7 Bisecting: 475 revisions left to test after this (roughly 9 steps) [e8d780dcd957d80725ad5dd00bab53b856429bc0] Merge tag 'slab-for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab testing commit e8d780dcd957d80725ad5dd00bab53b856429bc0 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 5e362ddeecd40116131e0686b4f5a33232f9b91999eec0e9795a28a381c1242f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad e8d780dcd957d80725ad5dd00bab53b856429bc0 Bisecting: 264 revisions left to test after this (roughly 8 steps) [cd7c97f4584a93578f87ea6ff427f74e9a943cdf] Merge branch 'bpf-show-precise-rejected-function-when-attaching-to-__noreturn-and-deny-list-functions' testing commit cd7c97f4584a93578f87ea6ff427f74e9a943cdf gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: ba87cfe0c9b08775ec78878f264f88af2e1d424b23b50fcc30882cd3c03ef7b3 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad cd7c97f4584a93578f87ea6ff427f74e9a943cdf Bisecting: 110 revisions left to test after this (roughly 7 steps) [48d998af99f9e78ac8a8e405c50a7af64a5325a6] Merge branch 'vfs-6.17.bpf' of https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs testing commit 48d998af99f9e78ac8a8e405c50a7af64a5325a6 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: bc1a104a2283e7119ad6f1714e1c446a6918c893048b50a877b498763e21c703 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad 48d998af99f9e78ac8a8e405c50a7af64a5325a6 Bisecting: 55 revisions left to test after this (roughly 6 steps) [3d71b8b9abae68f6dfc434f779e1139370fbe891] bpf: Fix state use-after-free on push_stack() err testing commit 3d71b8b9abae68f6dfc434f779e1139370fbe891 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: afed236da85d63da62061d3092f783242c85ad200497cf5df402b3a8040773fa all runs: OK false negative chance: 0.000 # git bisect good 3d71b8b9abae68f6dfc434f779e1139370fbe891 Bisecting: 27 revisions left to test after this (roughly 5 steps) [3ce7cdde66e65a400b2d1b2a7f72c499e1db26b6] selftests/bpf: Support ppc64el in vmtest testing commit 3ce7cdde66e65a400b2d1b2a7f72c499e1db26b6 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 7294b373f3dddc78c3cd1ba8b58b8fea50eec82e969049f91ed0a5713533c434 all runs: OK false negative chance: 0.000 # git bisect good 3ce7cdde66e65a400b2d1b2a7f72c499e1db26b6 Bisecting: 13 revisions left to test after this (roughly 4 steps) [e91370550f1fe6fa3b02e8bf9762e3dc0a02fcad] bpf: Add kfuncs for read-only string operations testing commit e91370550f1fe6fa3b02e8bf9762e3dc0a02fcad gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 416a104f22e1c9cfc5785abdcc905ecac22f2405682b25116664e1f55de16d37 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad e91370550f1fe6fa3b02e8bf9762e3dc0a02fcad Bisecting: 6 revisions left to test after this (roughly 3 steps) [0967f5399b64aafb0bff1e76bca45446a3e1b6af] Merge branch 'range-tracking-for-bpf_neg' testing commit 0967f5399b64aafb0bff1e76bca45446a3e1b6af gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 0bb8879f9920f6f2b88d6e226e01566b537e2a61024c40ae35fe48e38bb9d060 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad 0967f5399b64aafb0bff1e76bca45446a3e1b6af Bisecting: 3 revisions left to test after this (roughly 2 steps) [3713b584dabb1f34a31f33e6a956df00ad8bcc65] Merge branch 'bpf-verifier-improve-precision-of-bpf_add-and-bpf_sub' testing commit 3713b584dabb1f34a31f33e6a956df00ad8bcc65 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 7a912d2044f09cdae8651aa44eb91a5d1342c5f0e086f8e7fa915080fafa5f05 all runs: OK false negative chance: 0.000 # git bisect good 3713b584dabb1f34a31f33e6a956df00ad8bcc65 Bisecting: 1 revision left to test after this (roughly 1 step) [aced132599b3c8884c050218d4c48eef203678f6] bpf: Add range tracking for BPF_NEG testing commit aced132599b3c8884c050218d4c48eef203678f6 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 90ad7e3aad75b1aa62bd6af38252b5459bef313a317e25bb1e6cc34628a4c007 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in print_reg_state representative crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state, types: [NULL-POINTER-DEREFERENCE] # git bisect bad aced132599b3c8884c050218d4c48eef203678f6 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d69bafe6ee2b5eff6099fa26626ecc2963f0f363] selftests/bpf: Fix usdt multispec failure with arm64/clang20 selftest build testing commit d69bafe6ee2b5eff6099fa26626ecc2963f0f363 gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 2f4e141ab8149a74e53bf67ab7bf21987e346f6ee63b49a763d47587ad71a8a0 all runs: OK false negative chance: 0.000 # git bisect good d69bafe6ee2b5eff6099fa26626ecc2963f0f363 aced132599b3c8884c050218d4c48eef203678f6 is the first bad commit commit aced132599b3c8884c050218d4c48eef203678f6 Author: Song Liu Date: Wed Jun 25 09:40:24 2025 -0700 bpf: Add range tracking for BPF_NEG Add range tracking for instruction BPF_NEG. Without this logic, a trivial program like the following will fail volatile bool found_value_b; SEC("lsm.s/socket_connect") int BPF_PROG(test_socket_connect) { if (!found_value_b) return -1; return 0; } with verifier log: "At program exit the register R0 has smin=0 smax=4294967295 should have been in [-4095, 0]". This is because range information is lost in BPF_NEG: 0: R1=ctx() R10=fp0 ; if (!found_value_b) @ xxxx.c:24 0: (18) r1 = 0xffa00000011e7048 ; R1_w=map_value(...) 2: (71) r0 = *(u8 *)(r1 +0) ; R0_w=scalar(smin32=0,smax=255) 3: (a4) w0 ^= 1 ; R0_w=scalar(smin32=0,smax=255) 4: (84) w0 = -w0 ; R0_w=scalar(range info lost) Note that, the log above is manually modified to highlight relevant bits. Fix this by maintaining proper range information with BPF_NEG, so that the verifier will know: 4: (84) w0 = -w0 ; R0_w=scalar(smin32=-255,smax=0) Also updated selftests based on the expected behavior. Signed-off-by: Song Liu Acked-by: Eduard Zingerman Link: https://lore.kernel.org/r/20250625164025.3310203-2-song@kernel.org Signed-off-by: Alexei Starovoitov include/linux/tnum.h | 2 ++ kernel/bpf/tnum.c | 5 +++++ kernel/bpf/verifier.c | 17 ++++++++++++++++- .../bpf/progs/verifier_bounds_deduction.c | 11 +++++++---- .../selftests/bpf/progs/verifier_value_ptr_arith.c | 22 ++++++++++++++++------ 5 files changed, 46 insertions(+), 11 deletions(-) accumulated error probability: 0.00 culprit signature: 90ad7e3aad75b1aa62bd6af38252b5459bef313a317e25bb1e6cc34628a4c007 parent signature: 2f4e141ab8149a74e53bf67ab7bf21987e346f6ee63b49a763d47587ad71a8a0 revisions tested: 22, total time: 7h12m30.291223745s (build: 3h55m45.6303665s, test: 2h41m58.781902465s) first bad commit: aced132599b3c8884c050218d4c48eef203678f6 bpf: Add range tracking for BPF_NEG recipients (to): ["ast@kernel.org" "eddyz87@gmail.com" "song@kernel.org"] recipients (cc): [] crash: BUG: unable to handle kernel NULL pointer dereference in print_reg_state BUG: kernel NULL pointer dereference, address: 0000000000000060 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 8000000115394067 P4D 8000000115394067 PUD 0 Oops: Oops: 0000 [#1] SMP PTI CPU: 0 UID: 0 PID: 3918 Comm: syz.2.17 Not tainted syzkaller #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:print_reg_state+0x21c/0x780 kernel/bpf/log.c:719 Code: 1d 48 89 df 48 c7 c6 ff 81 15 83 48 c7 c1 8f 53 17 83 e8 e7 ef ff ff 48 c7 c2 e9 a4 1b 83 41 8d 47 fd 3c 02 77 47 49 8b 4d 08 <80> 79 60 00 74 1e 48 83 c1 60 48 89 df 48 c7 c6 ea 24 21 83 e8 bb RSP: 0018:ffffc90000eff880 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88811e988000 RCX: 0000000000000000 RDX: ffffffff8318fe5c RSI: 00000000000001dc RDI: 0000000000000000 RBP: ffffc90000eff988 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8318fe5c R12: 0000000000000003 R13: ffff88811c627000 R14: ffff88811e988000 R15: 0000000000000003 FS: 00007f8d88d176c0(0000) GS:ffff8882b3772000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000060 CR3: 000000011d85c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: print_verifier_state+0x6e/0x780 kernel/bpf/log.c:775 do_check+0x14ff/0x2e80 kernel/bpf/verifier.c:19942 do_check_common+0x30c/0x7e0 kernel/bpf/verifier.c:23130 do_check_main kernel/bpf/verifier.c:23213 [inline] bpf_check+0x3453/0x4e70 kernel/bpf/verifier.c:24567 bpf_prog_load+0x65c/0x6f0 kernel/bpf/syscall.c:2972 __sys_bpf+0x3f4/0x590 kernel/bpf/syscall.c:5978 __do_sys_bpf kernel/bpf/syscall.c:6085 [inline] __se_sys_bpf kernel/bpf/syscall.c:6083 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:6083 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8f/0x250 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8d88eaeec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8d88d17038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8d89105fa0 RCX: 00007f8d88eaeec9 RDX: 0000000000000094 RSI: 0000200000000100 RDI: 0000000000000005 RBP: 00007f8d88f31f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8d89106038 R14: 00007f8d89105fa0 R15: 00007ffc772cd868 Modules linked in: CR2: 0000000000000060 ---[ end trace 0000000000000000 ]--- RIP: 0010:print_reg_state+0x21c/0x780 kernel/bpf/log.c:719 Code: 1d 48 89 df 48 c7 c6 ff 81 15 83 48 c7 c1 8f 53 17 83 e8 e7 ef ff ff 48 c7 c2 e9 a4 1b 83 41 8d 47 fd 3c 02 77 47 49 8b 4d 08 <80> 79 60 00 74 1e 48 83 c1 60 48 89 df 48 c7 c6 ea 24 21 83 e8 bb RSP: 0018:ffffc90000eff880 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88811e988000 RCX: 0000000000000000 RDX: ffffffff8318fe5c RSI: 00000000000001dc RDI: 0000000000000000 RBP: ffffc90000eff988 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8318fe5c R12: 0000000000000003 R13: ffff88811c627000 R14: ffff88811e988000 R15: 0000000000000003 FS: 00007f8d88d176c0(0000) GS:ffff8882b3772000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000060 CR3: 000000011d85c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 1d 48 89 df 48 sbb $0x48df8948,%eax 5: c7 c6 ff 81 15 83 mov $0x831581ff,%esi b: 48 c7 c1 8f 53 17 83 mov $0xffffffff8317538f,%rcx 12: e8 e7 ef ff ff call 0xffffeffe 17: 48 c7 c2 e9 a4 1b 83 mov $0xffffffff831ba4e9,%rdx 1e: 41 8d 47 fd lea -0x3(%r15),%eax 22: 3c 02 cmp $0x2,%al 24: 77 47 ja 0x6d 26: 49 8b 4d 08 mov 0x8(%r13),%rcx * 2a: 80 79 60 00 cmpb $0x0,0x60(%rcx) <-- trapping instruction 2e: 74 1e je 0x4e 30: 48 83 c1 60 add $0x60,%rcx 34: 48 89 df mov %rbx,%rdi 37: 48 c7 c6 ea 24 21 83 mov $0xffffffff832124ea,%rsi 3e: e8 .byte 0xe8 3f: bb .byte 0xbb