ci2 starts bisection 2023-11-09 02:31:14.588584432 +0000 UTC m=+3022.221737970 bisecting cause commit starting from 305230142ae0637213bf6e04f6d9f10bbcb74af8 building syzkaller on b93f63e825d47146b275caaa682bacf86b6d7434 ensuring issue is reproducible on original commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 768a56f270ac6e66d852191f85629e92cb2dccb957e3a5f250b8b8b4f59904ca all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 73c566fbece82950c9d752cc2fe912a2ab28dca64d7aae7434e302867ec5450e all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3930 full=7656 leaves diff=1997 split chunks (needed=false): <1997> split chunk #0 of len 1997 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f065b03e71d082c6f4d038f591af8715f10ac28e03c3381d7ad50d6027ff0ef4 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1a6d841d78febf82355040cb1a046879f6ce8ec9233e6f035e684836b90a5d33 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1f6f19df689bedff06e4273b570817cbcf460cf0bb7915c044bcd3658e4ce2b9 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa05431ed661067485a11e33b9c91ad0031942a1342ee0c1284425aa85bb76f4 all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 305230142ae0637213bf6e04f6d9f10bbcb74af8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62f7a04e57372fe7e413c73befc11f3fc8421366c6906ba8ad5490725552d0e9 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] the chunk can be dropped minimized to 400 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_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 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_DEBUG OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PADATA PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_BTF_TAG 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 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 SECURITY_SMACK_NETFILTER 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 TCP_SIGPOOL 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 TMPFS_QUOTA 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_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_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 [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.6 v6.5 v6.4 v6.2 v6.0 v5.18 v5.16 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 29 release tags testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d3836951e3c20ea5aa6c98d11fc0b37cc233c2962b3db1aa7854c4dd5fa35dad all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 872418e9d9bd24992c818b67aae512c41db6af3eb4d4a75abdad05f7c5f8cd4c all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22ef8db9ec19d29cb9bd520614034665b6ded6e3c05c006c75ee9d7237dcb5dd all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a48024ec7e2ef90a6da0d1c984b5d58e2e35f3224b2fd8b916bde835d21d4fb4 all runs: OK false negative chance: 0.000 # git bisect start 6995e2de6891c724bfeb2db33d7b87775f913ad1 c9c3395d5e3dcc6daee66c6908354d47bf98cb0c Bisecting: 15817 revisions left to test after this (roughly 14 steps) [ce7928f7cf988e3f20ec3cca050838b266e9ef14] Merge tag 'wireless-next-2023-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next testing commit ce7928f7cf988e3f20ec3cca050838b266e9ef14 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3214e10093af9de8d7251180eebefbd544a406a6c8b0c3dc6f59fc426ac37015 all runs: OK false negative chance: 0.000 # git bisect good ce7928f7cf988e3f20ec3cca050838b266e9ef14 Bisecting: 7904 revisions left to test after this (roughly 13 steps) [34b62f186db9614e55d021f8c58d22fc44c57911] Merge tag 'pci-v6.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci testing commit 34b62f186db9614e55d021f8c58d22fc44c57911 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f1330243c3d7c968e48937c047d46b9bf0edd312fe49535586f062b2258dc9fb all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad 34b62f186db9614e55d021f8c58d22fc44c57911 Bisecting: 3798 revisions left to test after this (roughly 12 steps) [c8cc58e289ed3b5bc50258f52776cf3dfa3bad66] Merge tag 'drm-next-2023-04-24' of git://anongit.freedesktop.org/drm/drm testing commit c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d97e2021a116feb287814a615216724e138b44e22559abad9136ba995e250a36 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad c8cc58e289ed3b5bc50258f52776cf3dfa3bad66 Bisecting: 1641 revisions left to test after this (roughly 11 steps) [d53c3eaaef6a05fec04e8b5990d97d7216eb5e42] Merge tag 'soc-dt-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit d53c3eaaef6a05fec04e8b5990d97d7216eb5e42 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 30d3500e7095f2bcb792afd46dd95ae92920aa1a61bde892410ccd49c51859c7 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad d53c3eaaef6a05fec04e8b5990d97d7216eb5e42 Bisecting: 1232 revisions left to test after this (roughly 10 steps) [e94ee641f9cef2502adfe5e0c264b271420c7ab5] Merge tag 'edac_updates_for_v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras testing commit e94ee641f9cef2502adfe5e0c264b271420c7ab5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6cb6ba02d46a4b668ae171b844a90f03616edfc23b95ae6d50ade539f220bfd3 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad e94ee641f9cef2502adfe5e0c264b271420c7ab5 Bisecting: 613 revisions left to test after this (roughly 9 steps) [40aacb3183ff74e15940189ff9a998a93b5ca76f] Merge tag 'loongarch-fixes-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson testing commit 40aacb3183ff74e15940189ff9a998a93b5ca76f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 76ba54a00a217baf2338f886f5373d64dfd8ca3092b172758ca08a0e0aaa157d all runs: OK false negative chance: 0.000 # git bisect good 40aacb3183ff74e15940189ff9a998a93b5ca76f Bisecting: 309 revisions left to test after this (roughly 8 steps) [60eb45074234b90333b6241b4fd8d196aa2dfd98] Merge tag 'lkmm-scripting.2023.04.07a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu testing commit 60eb45074234b90333b6241b4fd8d196aa2dfd98 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7af55bb0c4e5aadbdfc3b5597ea58912f413f4f0afb4ca8fb48bf9d20705304e all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad 60eb45074234b90333b6241b4fd8d196aa2dfd98 Bisecting: 151 revisions left to test after this (roughly 7 steps) [567671281a751b80918a4531c4ba84b90a2a42c0] KEYS: X.509: Parse Key Usage testing commit 567671281a751b80918a4531c4ba84b90a2a42c0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6993d501906cba5abff5895168a992bdd99c3ccaeaef90385ee6cc273a75f399 all runs: OK false negative chance: 0.000 # git bisect good 567671281a751b80918a4531c4ba84b90a2a42c0 Bisecting: 75 revisions left to test after this (roughly 6 steps) [08e30833f86ba25945e416b9f372791aacfef153] Merge tag 'lsm-pr-20230420' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm testing commit 08e30833f86ba25945e416b9f372791aacfef153 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f5b9e3688ad38eabb23967f432c1a941e1299765395fb5a62d028f9bb1405e4 all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad 08e30833f86ba25945e416b9f372791aacfef153 Bisecting: 42 revisions left to test after this (roughly 5 steps) [a5624566431de76b17862383d9ae254d9606cba9] Merge branch 'x86-rep-insns': x86 user copy clarifications testing commit a5624566431de76b17862383d9ae254d9606cba9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8cc3907c2bb9d8e52b294b874d71aa3ba662c0f03f991824cd145b614ea57b0f all runs: OK false negative chance: 0.000 # git bisect good a5624566431de76b17862383d9ae254d9606cba9 Bisecting: 21 revisions left to test after this (roughly 5 steps) [e261301c851aee401cfc63179ca4d3facd2f098b] lsm: move the remaining LSM hook comments to security/security.c testing commit e261301c851aee401cfc63179ca4d3facd2f098b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bd9f3574d5111a8e597be47b12b6547d2f659c4e45fc3fdea3226c050651cfc6 all runs: OK false negative chance: 0.000 # git bisect good e261301c851aee401cfc63179ca4d3facd2f098b Bisecting: 10 revisions left to test after this (roughly 4 steps) [d82dcd9e21b77d338dc4875f3d4111f0db314a7c] reiserfs: Add security prefix to xattr name in reiserfs_security_write() testing commit d82dcd9e21b77d338dc4875f3d4111f0db314a7c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6941921fb618c39a27c5077e91822729540371d84e41f1025a19ebccae16382a all runs: crashed: kernel BUG in direntry_check_right representative crash: kernel BUG in direntry_check_right, types: [BUG] # git bisect bad d82dcd9e21b77d338dc4875f3d4111f0db314a7c Bisecting: 5 revisions left to test after this (roughly 3 steps) [42994ee3cd7298b27698daa6848ed7168e72d056] security: Introduce LSM_ORDER_LAST and set it for the integrity LSM testing commit 42994ee3cd7298b27698daa6848ed7168e72d056 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 26257f522da8bac63d37114db8683ff9d2e74e24f3a98af6a8be22390af21f26 all runs: OK false negative chance: 0.000 # git bisect good 42994ee3cd7298b27698daa6848ed7168e72d056 Bisecting: 2 revisions left to test after this (roughly 2 steps) [52ca4b6435a493e47aaa98e7345e19e1e8710b13] reiserfs: Switch to security_inode_init_security() testing commit 52ca4b6435a493e47aaa98e7345e19e1e8710b13 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eb3e3a4014aff4a4eb78d485b618eeed58ed865da4f2c4b7268563f5a2b3dc15 all runs: OK false negative chance: 0.000 # git bisect good 52ca4b6435a493e47aaa98e7345e19e1e8710b13 Bisecting: 0 revisions left to test after this (roughly 1 step) [0d57b970df352517a75f4533820c49de360c4123] security: Remove security_old_inode_init_security() testing commit 0d57b970df352517a75f4533820c49de360c4123 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36e893753ffa88029bfd33b5a47419433e05f3184449db49b5525b6661b275f8 all runs: OK false negative chance: 0.000 # git bisect good 0d57b970df352517a75f4533820c49de360c4123 d82dcd9e21b77d338dc4875f3d4111f0db314a7c is the first bad commit commit d82dcd9e21b77d338dc4875f3d4111f0db314a7c Author: Roberto Sassu Date: Fri Mar 31 14:32:18 2023 +0200 reiserfs: Add security prefix to xattr name in reiserfs_security_write() Reiserfs sets a security xattr at inode creation time in two stages: first, it calls reiserfs_security_init() to obtain the xattr from active LSMs; then, it calls reiserfs_security_write() to actually write that xattr. Unfortunately, it seems there is a wrong expectation that LSMs provide the full xattr name in the form 'security.'. However, LSMs always provided just the suffix, causing reiserfs to not write the xattr at all (if the suffix is shorter than the prefix), or to write an xattr with the wrong name. Add a temporary buffer in reiserfs_security_write(), and write to it the full xattr name, before passing it to reiserfs_xattr_set_handle(). Also replace the name length check with a check that the full xattr name is not larger than XATTR_NAME_MAX. Cc: stable@vger.kernel.org # v2.6.x Fixes: 57fe60df6241 ("reiserfs: add atomic addition of selinux attributes during inode creation") Signed-off-by: Roberto Sassu Signed-off-by: Paul Moore fs/reiserfs/xattr_security.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 6941921fb618c39a27c5077e91822729540371d84e41f1025a19ebccae16382a parent signature: 36e893753ffa88029bfd33b5a47419433e05f3184449db49b5525b6661b275f8 revisions tested: 26, total time: 4h55m26.067313928s (build: 2h3m50.009034617s, test: 2h40m21.097872336s) first bad commit: d82dcd9e21b77d338dc4875f3d4111f0db314a7c reiserfs: Add security prefix to xattr name in reiserfs_security_write() recipients (to): ["paul@paul-moore.com" "roberto.sassu@huawei.com"] recipients (cc): [] crash: kernel BUG in direntry_check_right ------------[ cut here ]------------ kernel BUG at fs/reiserfs/item_ops.c:569! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 2616 Comm: syz-executor.0 Not tainted 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:direntry_check_right+0x51/0x60 fs/reiserfs/item_ops.c:569 Code: ff 72 ee eb 25 31 d2 44 39 c2 74 1e 41 83 c0 fe 44 39 c2 44 0f 4c c2 f6 00 01 44 0f 44 c2 31 c0 41 83 f8 01 19 c0 44 09 c0 c3 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 8b 4f RSP: 0018:ffffc900025bb7b8 EFLAGS: 00010286 RAX: ffff888106352120 RBX: 0000000000000018 RCX: 0000000000000020 RDX: 0000000000000003 RSI: 0000000000000021 RDI: 00000000ffffffff RBP: ffffc900025bb8f0 R08: 0000000000000003 R09: 000000000000001e R10: ffff888112b29090 R11: ffff888112b29f15 R12: ffffc900025bb970 R13: ffffc900025bb978 R14: 0000000000000079 R15: 0000000000000000 FS: 00005555569a0480(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ac2f0662e CR3: 00000001117ff000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_right fs/reiserfs/fix_node.c:355 [inline] dc_check_balance_leaf fs/reiserfs/fix_node.c:1983 [inline] dc_check_balance fs/reiserfs/fix_node.c:2039 [inline] check_balance fs/reiserfs/fix_node.c:2086 [inline] fix_nodes+0x1708/0x2c40 fs/reiserfs/fix_node.c:2635 reiserfs_cut_from_item+0x10c/0x890 fs/reiserfs/stree.c:1742 reiserfs_do_truncate+0x35f/0x550 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x1a7/0x430 fs/reiserfs/inode.c:2310 reiserfs_file_release+0x1e6/0x320 fs/reiserfs/file.c:109 __fput+0xe1/0x210 fs/file_table.c:321 task_work_run+0x7d/0xa0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xa4/0xb0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x64/0xd0 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2c/0x220 kernel/entry/common.c:296 do_syscall_64+0x4d/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7ac2e7b9da Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffd4a126080 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f7ac2e7b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000032 R08: 0000001b2d760000 R09: 00007f7ac2f9bf8c R10: 00007ffd4a1261d0 R11: 0000000000000293 R12: 00007f7ac2a01438 R13: ffffffffffffffff R14: 00007f7ac2a00000 R15: 000000000000a3bf Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:direntry_check_right+0x51/0x60 fs/reiserfs/item_ops.c:569 Code: ff 72 ee eb 25 31 d2 44 39 c2 74 1e 41 83 c0 fe 44 39 c2 44 0f 4c c2 f6 00 01 44 0f 44 c2 31 c0 41 83 f8 01 19 c0 44 09 c0 c3 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 8b 4f RSP: 0018:ffffc900025bb7b8 EFLAGS: 00010286 RAX: ffff888106352120 RBX: 0000000000000018 RCX: 0000000000000020 RDX: 0000000000000003 RSI: 0000000000000021 RDI: 00000000ffffffff RBP: ffffc900025bb8f0 R08: 0000000000000003 R09: 000000000000001e R10: ffff888112b29090 R11: ffff888112b29f15 R12: ffffc900025bb970 R13: ffffc900025bb978 R14: 0000000000000079 R15: 0000000000000000 FS: 00005555569a0480(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d6cf95ed8 CR3: 00000001117ff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400