ci starts bisection 2023-12-27 13:07:22.658542127 +0000 UTC m=+412470.255307334 bisecting fixing commit since 94f6f0550c625fab1f373bb86a6669b45e9748b3 building syzkaller on 3c53c7d911d9dfb0bb846955a4644746fcc442d9 ensuring issue is reproducible on original commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a18c9da242f8d21e85e1274bc0d78ed6a20e91e8451db1b41d6e228be4f3cd7 all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG KASAN LOCKDEP HANG LEAK], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 010201c27f83ed507cc37c1d272fded20cf2614ccefcc0d87a83477a32d29b3f all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed kconfig minimization: base=3915 full=7688 leaves diff=2008 split chunks (needed=false): <2008> split chunk #0 of len 2008 into 5 parts testing without sub-chunk 1/5 disabling configs for [BUG KASAN LOCKDEP HANG LEAK UBSAN], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7e2ac3a38e186baa60ac9504b88c400cd13ed34bd1da891257c86ef4ba5de823 all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc1f83293e331bcefa1ed93784fc5ee1f67c63985e7314ee5c83b881c5850090 all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 48f53d03c8275a1868b85b59ba7aae1fb1f58fe18ed0182a1f6c7c1514bc1fbc all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP HANG LEAK UBSAN BUG], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6a36f023c1bc475bf5ecba12faadeaf1209c8ae42342af7613691e35215c0ca all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 94f6f0550c625fab1f373bb86a6669b45e9748b3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec7cb71aaa3251ee64a4ced0313dcbb712fcf1504a5b7e3893bc0e2f4b9b04ca all runs: crashed: BUG: sleeping function called from invalid context in __getblk_gfp representative crash: BUG: sleeping function called from invalid context in __getblk_gfp, types: [ATOMIC_SLEEP] the chunk can be dropped minimized to 402 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_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 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 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 TARGET_CORE 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_CONFIGFS_F_LB_SS USB_CONFIGFS_F_MIDI USB_CONFIGFS_F_PRINTER USB_CONFIGFS_F_TCM 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 BUG KASAN LOCKDEP], they are not needed testing current HEAD fbafc3e621c3f4ded43720fdb1d6ce1728ec664e testing commit fbafc3e621c3f4ded43720fdb1d6ce1728ec664e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 845dc738dc9ce13e708d25e02d03787d4f144a8ae6ca5d7d97ab7549ef5ce286 all runs: crashed: BUG: sleeping function called from invalid context in bdev_getblk representative crash: BUG: sleeping function called from invalid context in bdev_getblk, types: [ATOMIC_SLEEP] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h32m47.967248187s (build: 57m19.376660395s, test: 30m12.291037719s) crash still not fixed or there were kernel test errors commit msg: Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost crash: BUG: sleeping function called from invalid context in bdev_getblk syz-executor.0: attempt to access beyond end of device loop0: rw=0, sector=13466417, nr_sectors = 1 limit=128 Buffer I/O error on dev loop0, logical block 13466417, async page read syz-executor.0: attempt to access beyond end of device loop0: rw=0, sector=8073605, nr_sectors = 1 limit=128 Buffer I/O error on dev loop0, logical block 8073605, async page read BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 syz-executor.0: attempt to access beyond end of device loop0: rw=0, sector=3245518, nr_sectors = 1 limit=128 Buffer I/O error on dev loop0, logical block 3245518, async page read syz-executor.0: attempt to access beyond end of device loop0: rw=0, sector=8769403, nr_sectors = 1 limit=128 Buffer I/O error on dev loop0, logical block 8769403, async page read BUG: sleeping function called from invalid context at include/linux/pagemap.h:1029 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 folio_lock include/linux/pagemap.h:1029 [inline] __filemap_get_folio+0x60/0x3b0 mm/filemap.c:1864 grow_dev_page fs/buffer.c:1041 [inline] grow_buffers fs/buffer.c:1106 [inline] __getblk_slow fs/buffer.c:1133 [inline] bdev_getblk+0x124/0x330 fs/buffer.c:1429 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/pagemap.h:1029 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 folio_lock include/linux/pagemap.h:1029 [inline] __filemap_get_folio+0x60/0x3b0 mm/filemap.c:1864 grow_dev_page fs/buffer.c:1041 [inline] grow_buffers fs/buffer.c:1106 [inline] __getblk_slow fs/buffer.c:1133 [inline] bdev_getblk+0x124/0x330 fs/buffer.c:1429 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2662, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor.0/2662: #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88810adf4188 (&type->i_mutex_dir_key#8){....}-{3:3}, at: lookup_slow+0x20/0x50 fs/namei.c:1710 #1: ffffffff8340cb08 (pointers_lock){....}-{2:2}, at: get_block+0x1c6/0x710 fs/sysv/itree.c:221 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 2662 Comm: syz-executor.0 Tainted: G W 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 __might_resched+0x19f/0x1c0 kernel/sched/core.c:10151 might_alloc include/linux/sched/mm.h:306 [inline] bdev_getblk+0x50/0x330 fs/buffer.c:1425 __bread_gfp+0x25/0x130 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] get_branch+0xc5/0x130 fs/sysv/itree.c:104 get_block+0x1e5/0x710 fs/sysv/itree.c:222 block_read_full_folio+0x17d/0x470 fs/buffer.c:2399 filemap_read_folio+0x66/0x250 mm/filemap.c:2323 do_read_cache_folio+0xa2/0x2c0 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x14/0x80 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x9e/0x1e0 fs/sysv/dir.c:157 sysv_inode_by_name+0x2a/0xd0 fs/sysv/dir.c:374 sysv_lookup+0x26/0x50 fs/sysv/namei.c:38 __lookup_slow+0x129/0x190 fs/namei.c:1694 lookup_slow+0x2e/0x50 fs/namei.c:1711 walk_component fs/namei.c:2002 [inline] link_path_walk+0x36f/0x400 fs/namei.c:2329 path_openat+0x9d/0xcd0 fs/namei.c:3775 do_filp_open+0xac/0x150 fs/namei.c:3809 do_sys_openat2+0x7e/0xd0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0xe0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f936087cae9 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:00007f93615fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f936099bf80 RCX: 00007f936087cae9 RDX: 0000000000000800 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f93608c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f936099bf80 R15: 00007ffc67145bd8