ci starts bisection 2023-08-30 01:24:02.080895 +0000 UTC m=+8610.177737798 bisecting cause commit starting from 2ee82481c392eec06a7ef28df61b7f0d8e45be2e building syzkaller on 7ba13a158b1ad89a23920bb64208ba34fed27b08 fetch other tags and check if the commit is present ensuring issue is reproducible on original commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: edbe9e102f5e35e93941c70952890045990af7fd8b82f326888e814a66dc388b all runs: crashed: general protection fault in tty_register_device_attr representative crash: general protection fault in tty_register_device_attr, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd35635dc099e71cc074913ca0d1258593fe5235ee0924d7cae97a6af5f91b7f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, 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=3883 full=7693 leaves diff=2019 split chunks (needed=false): <2019> split chunk #0 of len 2019 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 41f472a73959526d7abac1e3d9bba8d98f6684ecec1dd77c7d0e4c56ab7a81fc all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 66cd14367f093be26d5e7fab719a57696800ecd34a227679b28f44eff9d5117d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, 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 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 52ce049e1c7b47176019888a8af953e8be4f06049e6459e09d48bc8e260beae8 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b426f18e15c907c0f6ad7c0d9cfe932d605dd122050e5d34df67edbcb88831ac all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 2ee82481c392eec06a7ef28df61b7f0d8e45be2e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d13b15e2033fbcaf6f98af756d35b45b2375889d5d26e7f318a3c90d4ee82333 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] the chunk can be dropped minimized to 404 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HAVE_CLK HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN IP_SCTP L2TP LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_RETU MMC MTD MTD_UBI NETFILTER_ADVANCED NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_CONNTRACK_SNMP NF_NAT_REDIRECT NF_NAT_SNMP_BASIC NF_NAT_TFTP NF_SOCKET_IPV4 NF_SOCKET_IPV6 NF_TABLES NF_TABLES_ARP NF_TPROXY_IPV4 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 NLS_CODEPAGE_737 NLS_CODEPAGE_775 NLS_CODEPAGE_850 NLS_CODEPAGE_852 NLS_CODEPAGE_855 NLS_CODEPAGE_857 NLS_CODEPAGE_860 NLS_CODEPAGE_861 NLS_CODEPAGE_862 NLS_CODEPAGE_863 NLS_CODEPAGE_864 NLS_CODEPAGE_865 NLS_CODEPAGE_866 NLS_CODEPAGE_869 NLS_CODEPAGE_874 NLS_CODEPAGE_932 NLS_CODEPAGE_936 NLS_CODEPAGE_949 NLS_CODEPAGE_950 NLS_ISO8859_13 NLS_ISO8859_14 NLS_ISO8859_15 NLS_ISO8859_2 NLS_ISO8859_3 NLS_ISO8859_4 NLS_ISO8859_5 NLS_ISO8859_6 NLS_ISO8859_7 NLS_ISO8859_8 NLS_ISO8859_9 NLS_KOI8_R NLS_KOI8_U NLS_MAC_CELTIC NLS_MAC_CENTEURO NLS_MAC_CROATIAN NLS_MAC_CYRILLIC NLS_MAC_GAELIC NLS_MAC_GREEK NLS_MAC_ICELAND NLS_MAC_INUIT NLS_MAC_ROMAN NLS_MAC_ROMANIAN NLS_MAC_TURKISH NLS_UCS2_UTILS NOP_USB_XCEIV NOZOMI NTFS3_FS NTFS3_FS_POSIX_ACL NTFS3_LZX_XPRESS NTFS_FS NTFS_RW NULL_TTY NUMA_BALANCING NUMA_BALANCING_DEFAULT_ENABLED NUMA_EMU NUMA_KEEP_MEMINFO NVDIMM_DAX NVDIMM_KEYS NVDIMM_PFN NVME_CORE NVME_FABRICS NVME_FC NVME_MULTIPATH NVME_RDMA NVME_TARGET NVME_TARGET_FC NVME_TARGET_FCLOOP NVME_TARGET_LOOP NVME_TARGET_RDMA NVME_TARGET_TCP NVME_TCP N_GSM N_HDLC OCFS2_DEBUG_FS OCFS2_FS OCFS2_FS_O2CB OCFS2_FS_STATS OCFS2_FS_USERSPACE_CLUSTER OF_GPIO OF_PMEM OMFS_FS OPENVSWITCH OPENVSWITCH_GENEVE OPENVSWITCH_GRE OPENVSWITCH_VXLAN ORANGEFS_FS OSF_PARTITION OVERLAY_FS OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PADATA PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_LANG_EXCLUDE PAHOLE_HAS_SPLIT_BTF PARPORT PARPORT_NOT_PC PARTITION_ADVANCED PCCARD PCCARD_NONSTATIC PCIEAER PCI_ENDPOINT PCI_IOV PCMCIA PCMCIA_LOAD_CIS PERCPU_STATS PERSISTENT_KEYRINGS PHONET PHYLINK PHY_CPCAP_USB PHY_QCOM_USB_HS PHY_QCOM_USB_HSIC PHY_SAMSUNG_USB2 PHY_TUSB1210 PKCS7_TEST_KEY PKCS8_PRIVATE_KEY_PARSER PM_CLK PNFS_BLOCK PNFS_FILE_LAYOUT PNFS_FLEXFILE_LAYOUT PPP PPPOATM PPPOE PPPOE_HASH_BITS_4 PPPOL2TP PPP_ASYNC PPP_BSDCOMP PPP_DEFLATE PPP_FILTER PPP_MPPE PPP_MULTILINK PPP_SYNC_TTY PPTP PREEMPT PREEMPT_NOTIFIERS PRISM2_USB PROC_CHILDREN PSI PSTORE PSTORE_COMPRESS QCOM_QMI_HELPERS QNX4FS_FS QNX6FS_FS QRTR QRTR_TUN R8712U RADIO_ADAPTERS RADIO_SHARK RADIO_SHARK2 RADIO_TEA575X RAID6_PQ RAID_ATTRS RC_ATI_REMOTE RC_CORE RC_DEVICES RDMA_RXE RDMA_SIW RDS RDS_RDMA RDS_TCP READ_ONLY_THP_FOR_FS REALTEK_AUTOPM REED_SOLOMON REED_SOLOMON_DEC8 REGMAP REGMAP_I2C REGMAP_IRQ REGMAP_MMIO REGULATOR REGULATOR_TWL4030 REISERFS_FS REISERFS_FS_POSIX_ACL REISERFS_FS_SECURITY REISERFS_FS_XATTR REISERFS_PROC_INFO RESET_CONTROLLER RFKILL RFKILL_INPUT RFKILL_LEDS RMI4_2D_SENSOR RMI4_CORE RMI4_F03 RMI4_F03_SERIO RMI4_F11 RMI4_F12 RMI4_F30 ROMFS_BACKED_BY_BOTH ROMFS_FS ROMFS_ON_BLOCK ROMFS_ON_MTD ROSE RTC_DRV_HID_SENSOR_TIME RXKAD SCHED_CORE SCSI_FC_ATTRS SCSI_HPSA SCSI_ISCSI_ATTRS SCSI_LOGGING SCSI_NETLINK SCSI_SAS_ATA SCSI_SAS_ATTRS SCSI_SAS_LIBSAS SCSI_SCAN_ASYNC SCSI_SRP_ATTRS SCTP_COOKIE_HMAC_MD5 SCTP_COOKIE_HMAC_SHA1 SCTP_DEFAULT_COOKIE_HMAC_MD5 SECONDARY_TRUSTED_KEYRING SECURITY_INFINIBAND SECURITY_NETWORK_XFRM SERIAL_DEV_BUS SERIAL_DEV_CTRL_TTYPORT SERIAL_MCTRL_GPIO SGI_PARTITION SIGNATURE SIGNED_PE_FILE_VERIFICATION SLHC SLIP SLIP_COMPRESSED SLIP_MODE_SLIP6 SLIP_SMART SMARTJOYPLUS_FF SMBFS SMC SMC_DIAG SMSC_PHY SMS_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_FAST_LOOKUP SND_CTL_LED SND_DEBUG SND_DMA_SGBUF SND_DRIVERS SND_DUMMY SND_DYNAMIC_MINORS SND_HDA SND_HDA_CODEC_ANALOG SND_HDA_CODEC_CA0110 SND_HDA_CODEC_CA0132 SND_HDA_CODEC_CIRRUS SND_HDA_CODEC_CMEDIA SND_HDA_CODEC_CONEXANT SND_HDA_CODEC_HDMI SND_HDA_CODEC_REALTEK SND_HDA_CODEC_SI3054 SND_HDA_CODEC_SIGMATEL SND_HDA_CODEC_VIA SND_HDA_COMPONENT SND_HDA_CORE SND_HDA_GENERIC SND_HDA_GENERIC_LEDS SND_HDA_HWDEP SND_HDA_I915 SND_HDA_INPUT_BEEP SND_HDA_INTEL SND_HDA_PATCH_LOADER SND_HDA_RECONFIG SND_HRTIMER SND_HWDEP SND_INTEL_DSP_CONFIG SND_INTEL_NHLT SND_INTEL_SOUNDWIRE_ACPI SND_JACK SND_JACK_INPUT_DEV SND_MIXER_OSS SND_OSSEMUL SND_PCI SND_PCM SND_PCMCIA SND_PCM_OSS SND_PCM_OSS_PLUGINS SND_PCM_TIMER SND_PCM_XRUN_DEBUG SND_PROC_FS SND_RAWMIDI SND_SEQUENCER SND_SEQUENCER_OSS SND_SEQ_DEVICE SND_SEQ_DUMMY SND_SEQ_HRTIMER_DEFAULT SND_SEQ_MIDI SND_SEQ_MIDI_EVENT SND_SEQ_VIRMIDI SND_SUPPORT_OLD_API SND_TIMER SND_USB SND_USB_6FIRE SND_USB_AUDIO SND_USB_AUDIO_USE_MEDIA_CONTROLLER SND_USB_CAIAQ SND_USB_CAIAQ_INPUT SND_USB_HIFACE SND_USB_LINE6 SND_USB_POD SND_USB_PODHD SND_USB_TONEPORT SND_USB_UA101 SND_USB_US122L SND_USB_USX2Y SND_USB_VARIAX SND_VERBOSE_PROCFS SND_VIRMIDI SND_VIRTIO SND_VMASTER SND_X86 SOCK_VALIDATE_XMIT SOLARIS_X86_PARTITION SONY_FF SOUND SOUND_OSS_CORE SOUND_OSS_CORE_PRECLAIM SPI SPI_DLN2 SPI_DYNAMIC SPI_MASTER SQUASHFS SQUASHFS_4K_DEVBLK_SIZE SQUASHFS_COMPILE_DECOMP_SINGLE SQUASHFS_DECOMP_SINGLE SQUASHFS_FILE_DIRECT SQUASHFS_LZ4 SQUASHFS_LZO SQUASHFS_XATTR SQUASHFS_XZ SQUASHFS_ZLIB SQUASHFS_ZSTD SSB SSB_PCIHOST_POSSIBLE SSB_PCMCIAHOST_POSSIBLE SSB_SDIOHOST_POSSIBLE STAGING STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC SYSFB SYSV68_PARTITION SYSV_FS TABLET_USB_ACECAD TABLET_USB_AIPTEK TABLET_USB_HANWANG TABLET_USB_KBTAB TABLET_USB_PEGASUS TAHVO_USB TAHVO_USB_HOST_BY_DEFAULT TASKS_TRACE_RCU TCG_CRB TCG_TIS TCG_TIS_CORE TCG_TPM TCP_CONG_BBR TCP_CONG_BIC TCP_CONG_CDG TCP_CONG_DCTCP TCP_CONG_HSTCP TCP_CONG_HTCP TCP_CONG_HYBLA TCP_CONG_ILLINOIS TCP_CONG_LP TCP_CONG_NV TCP_CONG_SCALABLE TCP_CONG_VEGAS TCP_CONG_VENO TCP_CONG_WESTWOOD TCP_CONG_YEAH TEXTSEARCH TEXTSEARCH_BM TEXTSEARCH_FSM TEXTSEARCH_KMP THERMAL_NETLINK THP_SWAP THRUSTMASTER_FF TIPC TIPC_CRYPTO TIPC_DIAG TIPC_MEDIA_IB TIPC_MEDIA_UDP TLS TLS_TOE TOUCHSCREEN_SUR40 TOUCHSCREEN_USB_3M TOUCHSCREEN_USB_COMPOSITE TOUCHSCREEN_USB_DMC_TSC10 TOUCHSCREEN_USB_E2I TOUCHSCREEN_USB_EASYTOUCH TOUCHSCREEN_USB_EGALAX TOUCHSCREEN_USB_ELO TOUCHSCREEN_USB_ETT_TC45USB TOUCHSCREEN_USB_ETURBO TOUCHSCREEN_USB_GENERAL_TOUCH TOUCHSCREEN_USB_GOTOP TOUCHSCREEN_USB_GUNZE TOUCHSCREEN_USB_IDEALTEK TOUCHSCREEN_USB_IRTOUCH TOUCHSCREEN_USB_ITM TOUCHSCREEN_USB_JASTEC TOUCHSCREEN_USB_NEXIO TOUCHSCREEN_USB_PANJIT TOUCHSCREEN_USB_ZYTRONIC TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TTPCI_EEPROM TTY_PRINTK TUN_VNET_CROSS_LE TWL4030_CORE TYPEC TYPEC_FUSB302 TYPEC_TCPCI TYPEC_TCPM TYPEC_TPS6598X TYPEC_UCSI UBIFS_ATIME_SUPPORT UBIFS_FS UBIFS_FS_ADVANCED_COMPR UBIFS_FS_LZO UBIFS_FS_SECURITY UBIFS_FS_XATTR UBIFS_FS_ZLIB UBIFS_FS_ZSTD UCSI_ACPI UDF_FS UDMABUF UFS_FS UFS_FS_WRITE UHID ULTRIX_PARTITION UNICODE UNIXWARE_DISKLABEL UNIX_DIAG USB4 USB4_NET USBIP_CORE USBIP_HOST USBIP_VHCI_HCD USBIP_VUDC USBPCWATCHDOG USB_ACM USB_ADUTUX USB_AIRSPY USB_ALI_M5632 USB_AN2720 USB_APPLEDISPLAY USB_ARMLINUX USB_BDC_UDC USB_BELKIN USB_C67X00_HCD USB_CATC USB_CDC_PHONET USB_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_HOST 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_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed picked [%!d(string=v6.5) %!d(string=v6.4) %!d(string=v6.3) %!d(string=v6.1) %!d(string=v5.19) %!d(string=v5.17) %!d(string=v5.15) %!d(string=v5.13) %!d(string=v5.10) %!d(string=v5.7) %!d(string=v5.4) %!d(string=v5.1) %!d(string=v4.19)] out of %!d(MISSING) release tags testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0f4bf53f63d89fffff5976f1dfebd23de90d09624b4781d44260432ca0486e5e all runs: OK false negative chance: 0.000 # git bisect start 2ee82481c392eec06a7ef28df61b7f0d8e45be2e 2dde18cd1d8fac735875f2e4987f11817cc0bc2c Bisecting: 6369 revisions left to test after this (roughly 13 steps) [01183204bc24d9612add84a809377cb10737e77f] Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git testing commit 01183204bc24d9612add84a809377cb10737e77f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cf3ca2e77701c9adab61fbb06ecd8b71c2ce13243e20579153a898e1b8802d84 all runs: OK false negative chance: 0.000 # git bisect good 01183204bc24d9612add84a809377cb10737e77f Bisecting: 3201 revisions left to test after this (roughly 12 steps) [ad3c3c1addfd2c1420723195e986579c04902d39] Merge branch 'master' of git://www.linux-watchdog.org/linux-watchdog-next.git testing commit ad3c3c1addfd2c1420723195e986579c04902d39 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 28006cbdc9dca1618ddb59b0d7dbcf5d9f064413b42bfc3c97a2339c41c12911 all runs: OK false negative chance: 0.000 # git bisect good ad3c3c1addfd2c1420723195e986579c04902d39 Bisecting: 1592 revisions left to test after this (roughly 11 steps) [c06b6c55f36b4f095b03e23a52c901888c63d919] Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git testing commit c06b6c55f36b4f095b03e23a52c901888c63d919 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8bed59badae9b2ced29023fc5d10b83d4e025dcec486eba914ee992ce7c582f0 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] # git bisect bad c06b6c55f36b4f095b03e23a52c901888c63d919 Bisecting: 816 revisions left to test after this (roughly 10 steps) [fa6e5fd98844c2dac6dfe899bad37a130129fc5f] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git testing commit fa6e5fd98844c2dac6dfe899bad37a130129fc5f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0d65895bfe71b60eca98da5f581c86ab518f9570bafb7d7fba044826927a2ad all runs: OK false negative chance: 0.000 # git bisect good fa6e5fd98844c2dac6dfe899bad37a130129fc5f Bisecting: 389 revisions left to test after this (roughly 9 steps) [fdd3a62e9faea8138cecf7f210842337249b4cc3] Merge branch 'for-leds-next' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git testing commit fdd3a62e9faea8138cecf7f210842337249b4cc3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b8e78117fe77da9df03c1604b48e9f8bcb61bbd26d60c74a09a4c9c948df9f0 all runs: OK false negative chance: 0.000 # git bisect good fdd3a62e9faea8138cecf7f210842337249b4cc3 Bisecting: 186 revisions left to test after this (roughly 8 steps) [d2004e6cbb763b3dd56f7d6d5d2d3bbcc6d7044a] Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git testing commit d2004e6cbb763b3dd56f7d6d5d2d3bbcc6d7044a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cde1922471b27ba1b7ef8e9f752d35195f94830f6376a9db1a71572c778f7089 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] # git bisect bad d2004e6cbb763b3dd56f7d6d5d2d3bbcc6d7044a Bisecting: 101 revisions left to test after this (roughly 7 steps) [d4255ac3fd15199b3bd3fa4ff1c16fdb50bda0ad] usb: musb: Remove unused function declarations testing commit d4255ac3fd15199b3bd3fa4ff1c16fdb50bda0ad gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4891872b266a16fd9f778dd38e8c6d030c7dbd0271868705af894a5db8b9e775 all runs: OK false negative chance: 0.000 # git bisect good d4255ac3fd15199b3bd3fa4ff1c16fdb50bda0ad Bisecting: 50 revisions left to test after this (roughly 6 steps) [2d6d80127006ae3da26b1f21a65eccf957f2d1e5] usb: typec: tcpm: reset counter when enter into unattached state after try role testing commit 2d6d80127006ae3da26b1f21a65eccf957f2d1e5 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7e81b5fea392c89d80e9ff8a2ee01791dfba3dee56d7d7d20d8d71b8ba72e02c all runs: OK false negative chance: 0.000 # git bisect good 2d6d80127006ae3da26b1f21a65eccf957f2d1e5 Bisecting: 25 revisions left to test after this (roughly 5 steps) [b4cc44301b9d35e9420cebecc31fb3964e53499a] drivers: base: Add basic devm tests for platform devices testing commit b4cc44301b9d35e9420cebecc31fb3964e53499a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f04699d06cc14420f53c51528bedb462bf69249be9b562ac510224fe5f8cd83 all runs: OK false negative chance: 0.000 # git bisect good b4cc44301b9d35e9420cebecc31fb3964e53499a Bisecting: 14 revisions left to test after this (roughly 4 steps) [3c85c319fd2bd08a994f172d535988762acb72c0] Merge branch 'for-next' of git://github.com/cminyard/linux-ipmi.git testing commit 3c85c319fd2bd08a994f172d535988762acb72c0 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aefd78df4e58c56b29cfe8ddbece44dd8e271cf60a2f8618deb92a651c1329a3 all runs: OK false negative chance: 0.000 # git bisect good 3c85c319fd2bd08a994f172d535988762acb72c0 Bisecting: 7 revisions left to test after this (roughly 3 steps) [29c8ab79e91d35b93cfab87bf67a11516f7b2051] driver core: Call in reversed order in device_platform_notify_remove() testing commit 29c8ab79e91d35b93cfab87bf67a11516f7b2051 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 559186c0e827be18088297ab11af5b38a00b385cd14924443e8c7afa7fa02034 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] # git bisect bad 29c8ab79e91d35b93cfab87bf67a11516f7b2051 Bisecting: 3 revisions left to test after this (roughly 2 steps) [f7bb242601deae2bb62db40ce4edea9a6193d0d2] drivers: base: test: Add missing MODULE_* macros to root device tests testing commit f7bb242601deae2bb62db40ce4edea9a6193d0d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f91804e5cf609e249c9b0ec17624aa29a6c0b9f2e0abbd0300000395b91127f5 all runs: OK false negative chance: 0.000 # git bisect good f7bb242601deae2bb62db40ce4edea9a6193d0d2 Bisecting: 1 revision left to test after this (roughly 1 step) [1b28cb81dab7c1eedc6034206f4e8d644046ad31] kobject: Remove redundant checks for whether ktype is NULL testing commit 1b28cb81dab7c1eedc6034206f4e8d644046ad31 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d4ab6da9ae4afe26fc11cbfc31fc35a2a8d2316ba766d1f2d4476009eca312a5 all runs: OK false negative chance: 0.000 # git bisect good 1b28cb81dab7c1eedc6034206f4e8d644046ad31 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d21fdd07cea418c0d98c8a15fc95b8b8970801e7] driver core: Return proper error code when dev_set_name() fails testing commit d21fdd07cea418c0d98c8a15fc95b8b8970801e7 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1f61eb6e8268c2862c75bac547fa788ee47709b88a26d0208e41f078d5451182 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr representative crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr, types: [UNKNOWN] # git bisect bad d21fdd07cea418c0d98c8a15fc95b8b8970801e7 d21fdd07cea418c0d98c8a15fc95b8b8970801e7 is the first bad commit commit d21fdd07cea418c0d98c8a15fc95b8b8970801e7 Author: Andy Shevchenko Date: Thu Aug 17 12:12:21 2023 +0300 driver core: Return proper error code when dev_set_name() fails Whe device_add() tries to assign a device name with help of dev_set_name() the error path explicitly uses -EINVAL, while the function may return something different. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20230817091221.463721-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman drivers/base/core.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) accumulated error probability: 0.00 culprit signature: 1f61eb6e8268c2862c75bac547fa788ee47709b88a26d0208e41f078d5451182 parent signature: d4ab6da9ae4afe26fc11cbfc31fc35a2a8d2316ba766d1f2d4476009eca312a5 revisions tested: 22, total time: 8h14m49.644071836s (build: 4h26m10.406976997s, test: 3h28m52.732600528s) first bad commit: d21fdd07cea418c0d98c8a15fc95b8b8970801e7 driver core: Return proper error code when dev_set_name() fails recipients (to): ["andriy.shevchenko@linux.intel.com" "gregkh@linuxfoundation.org" "gregkh@linuxfoundation.org" "linux-kernel@vger.kernel.org"] recipients (cc): ["rafael@kernel.org"] crash: BUG: unable to handle kernel NULL pointer dereference in tty_register_device_attr RAX: ffffffffffffffda RBX: 00007f5aeed9bf80 RCX: 00007f5aeec7cae9 RDX: 0000000020000040 RSI: 00000000404c4701 RDI: 0000000000000004 RBP: 00007f5aef96b120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000006 R14: 00007f5aeed9bf80 R15: 00007ffc63f7ef98 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 11124a067 P4D 11124a067 PUD 11127f067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 2649 Comm: syz-executor.0 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc90002b5bbd8 EFLAGS: 00010246 RAX: ffffc90002b5bc40 RBX: 0000000000000000 RCX: ffffc90002b5bbd4 RDX: ffffc90002b5bc20 RSI: 0000000000000025 RDI: 0000000000000000 RBP: ffffc90002b5bc20 R08: 00000000000000f2 R09: ffff888104bf2600 R10: 0000000000000000 R11: 0000000000000002 R12: 0000000000000cc0 R13: ffff888141a75ae0 R14: ffff888100aa6900 R15: 0000000000000000 FS: 00007f5aef96b6c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011127d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvasprintf_const+0x1e/0xa0 lib/kasprintf.c:45 kobject_set_name_vargs+0x20/0x90 lib/kobject.c:272 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x84/0x100 lib/kobject.c:424 device_add+0xe4/0x8d0 drivers/base/core.c:3562 tty_register_device_attr+0x102/0x220 drivers/tty/tty_io.c:3258 gsm_register_devices drivers/tty/n_gsm.c:653 [inline] gsm_activate_mux drivers/tty/n_gsm.c:3111 [inline] gsm_config drivers/tty/n_gsm.c:3357 [inline] gsmld_ioctl+0x5cf/0x6e0 drivers/tty/n_gsm.c:3735 tty_ioctl+0x2b8/0x890 drivers/tty/tty_io.c:2795 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x8b/0xc0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5aeec7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5aef96b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5aeed9bf80 RCX: 00007f5aeec7cae9 RDX: 0000000020000040 RSI: 00000000404c4701 RDI: 0000000000000004 RBP: 00007f5aef96b120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000006 R14: 00007f5aeed9bf80 R15: 00007ffc63f7ef98 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc90002b5bbd8 EFLAGS: 00010246 RAX: ffffc90002b5bc40 RBX: 0000000000000000 RCX: ffffc90002b5bbd4 RDX: ffffc90002b5bc20 RSI: 0000000000000025 RDI: 0000000000000000 RBP: ffffc90002b5bc20 R08: 00000000000000f2 R09: ffff888104bf2600 R10: 0000000000000000 R11: 0000000000000002 R12: 0000000000000cc0 R13: ffff888141a75ae0 R14: ffff888100aa6900 R15: 0000000000000000 FS: 00007f5aef96b6c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011127d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 eb 0d shr $0xd,%bl 3: 84 c9 test %cl,%cl 5: 74 18 je 0x1f 7: 48 83 c0 01 add $0x1,%rax b: 48 39 d0 cmp %rdx,%rax e: 74 0f je 0x1f 10: 0f b6 0c 07 movzbl (%rdi,%rax,1),%ecx 14: 3a 0c 06 cmp (%rsi,%rax,1),%cl 17: 74 ea je 0x3 19: 19 c0 sbb %eax,%eax 1b: 83 c8 01 or $0x1,%eax 1e: c3 ret 1f: 31 c0 xor %eax,%eax 21: c3 ret 22: 0f 1f 40 00 nopl 0x0(%rax) 26: f3 0f 1e fa endbr64 * 2a: 0f b6 07 movzbl (%rdi),%eax <-- trapping instruction 2d: 89 f2 mov %esi,%edx 2f: 40 38 f0 cmp %sil,%al 32: 75 0e jne 0x42 34: eb 13 jmp 0x49 36: 0f b6 47 01 movzbl 0x1(%rdi),%eax 3a: 48 83 c7 01 add $0x1,%rdi 3e: 38 d0 cmp %dl,%al