NILFS (loop3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds BTRFS error (device loop1): open_ctree failed NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) ====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.3/1798 is trying to acquire lock: 00000000ec6dccd5 (&nilfs->ns_sem){++++}, at: nilfs_set_error fs/nilfs2/super.c:86 [inline] 00000000ec6dccd5 (&nilfs->ns_sem){++++}, at: __nilfs_error+0x195/0x401 fs/nilfs2/super.c:131 but task is already holding lock: 000000000a47d762 (&dat_lock_key){.+.+}, at: nilfs_get_block+0x18f/0x970 fs/nilfs2/inode.c:79 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&dat_lock_key){.+.+}: nilfs_count_free_blocks+0x68/0x180 fs/nilfs2/the_nilfs.c:698 nilfs_set_log_cursor fs/nilfs2/super.c:237 [inline] nilfs_cleanup_super+0x133/0x490 fs/nilfs2/super.c:319 load_nilfs+0x79f/0x11f0 fs/nilfs2/the_nilfs.c:317 nilfs_fill_super fs/nilfs2/super.c:1063 [inline] nilfs_mount+0x9b5/0xe70 fs/nilfs2/super.c:1321 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #0 (&nilfs->ns_sem){++++}: down_write+0x34/0x90 kernel/locking/rwsem.c:70 nilfs_set_error fs/nilfs2/super.c:86 [inline] __nilfs_error+0x195/0x401 fs/nilfs2/super.c:131 nilfs_bmap_convert_error fs/nilfs2/bmap.c:35 [inline] nilfs_bmap_lookup_contig+0x13d/0x180 fs/nilfs2/bmap.c:95 nilfs_get_block+0x1ce/0x970 fs/nilfs2/inode.c:80 do_mpage_readpage+0x8fb/0x1ca0 fs/mpage.c:231 mpage_readpages+0x33a/0x630 fs/mpage.c:404 read_pages.isra.0+0xf6/0x5d0 mm/readahead.c:123 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211 ra_submit mm/internal.h:66 [inline] ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493 page_cache_sync_readahead mm/readahead.c:528 [inline] page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385 call_read_iter include/linux/fs.h:1815 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x518/0x750 fs/read_write.c:418 integrity_kernel_read+0x147/0x1f0 security/integrity/iint.c:200 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:364 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:393 [inline] ima_calc_file_hash+0x4b2/0x8a0 security/integrity/ima/ima_crypto.c:450 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3425 [inline] path_openat+0x7e4/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&dat_lock_key); lock(&nilfs->ns_sem); lock(&dat_lock_key); lock(&nilfs->ns_sem); *** DEADLOCK *** 2 locks held by syz-executor.3/1798: #0: 000000008cada444 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 000000000a47d762 (&dat_lock_key){.+.+}, at: nilfs_get_block+0x18f/0x970 fs/nilfs2/inode.c:79 stack backtrace: CPU: 0 PID: 1798 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1222 check_prev_add kernel/locking/lockdep.c:1866 [inline] check_prevs_add kernel/locking/lockdep.c:1979 [inline] validate_chain kernel/locking/lockdep.c:2420 [inline] __lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 down_write+0x34/0x90 kernel/locking/rwsem.c:70 nilfs_set_error fs/nilfs2/super.c:86 [inline] __nilfs_error+0x195/0x401 fs/nilfs2/super.c:131 nilfs_bmap_convert_error fs/nilfs2/bmap.c:35 [inline] nilfs_bmap_lookup_contig+0x13d/0x180 fs/nilfs2/bmap.c:95 nilfs_get_block+0x1ce/0x970 fs/nilfs2/inode.c:80 do_mpage_readpage+0x8fb/0x1ca0 fs/mpage.c:231 mpage_readpages+0x33a/0x630 fs/mpage.c:404 read_pages.isra.0+0xf6/0x5d0 mm/readahead.c:123 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211 ra_submit mm/internal.h:66 [inline] ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493 page_cache_sync_readahead mm/readahead.c:528 [inline] page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385 call_read_iter include/linux/fs.h:1815 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x518/0x750 fs/read_write.c:418 integrity_kernel_read+0x147/0x1f0 security/integrity/iint.c:200 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:364 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:393 [inline] ima_calc_file_hash+0x4b2/0x8a0 security/integrity/ima/ima_crypto.c:450 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3425 [inline] path_openat+0x7e4/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35ace168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007efd3769d050 RCX: 00007efd3757c5a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000880 RBP: 00007efd375d77b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcedae458f R14: 00007efd35ace300 R15: 0000000000022000 BTRFS info (device loop1): unrecognized mount option 'noenospă_debug' BTRFS error (device loop1): open_ctree failed EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue Remounting filesystem read-only NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop3): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop3): nilfs_bmap_lookup_contig: broken bmap (inode number=16) audit: type=1800 audit(1667327705.379:270): pid=1798 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.3" name="file2" dev="loop3" ino=16 res=0 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 f2fs_msg: 40 callbacks suppressed F2FS-fs (loop4): Corrupted extension count (1698963570 + 1 > 64) EXT4-fs (loop5): 1 orphan inode deleted F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock NILFS (loop3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue F2FS-fs (loop4): invalid crc value F2FS-fs (loop4): Found nat_bits in checkpoint F2FS-fs (loop4): Mounted with checkpoint version = 3651456e EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue NILFS (loop3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds F2FS-fs (loop4): Corrupted extension count (1698963570 + 1 > 64) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): invalid crc value F2FS-fs (loop4): Found nat_bits in checkpoint EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue F2FS-fs (loop4): Mounted with checkpoint version = 3651456e EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs (loop5): 1 orphan inode deleted NILFS (loop1): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2179 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x2ab/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] __do_sys_memfd_create mm/memfd.c:295 [inline] __se_sys_memfd_create+0xf8/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35aeef28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3757c5a9 RDX: 00007efd35aeefe0 RSI: 0000000000000000 RDI: 00007efd375d681c RBP: 00007efd35aef1d0 R08: 00007efd35aeefd8 R09: 00007efd35aef1d0 R10: 00007efd35aeefdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000000041037 R14: 00007efd35aeefe0 R15: 0000000020000200 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2201 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 shmem_alloc_inode+0x18/0x40 mm/shmem.c:3609 alloc_inode+0x5d/0x180 fs/inode.c:211 new_inode_pseudo fs/inode.c:911 [inline] new_inode+0x1d/0xf0 fs/inode.c:940 shmem_get_inode+0x96/0x8d0 mm/shmem.c:2196 __shmem_file_setup.part.0+0x7a/0x2b0 mm/shmem.c:3965 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35aeef28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3757c5a9 RDX: 00007efd35aeefe0 RSI: 0000000000000000 RDI: 00007efd375d681c RBP: 00007efd35aef1d0 R08: 00007efd35aeefd8 R09: 00007efd35aef1d0 R10: 00007efd35aeefdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000000041037 R14: 00007efd35aeefe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2206 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 __d_alloc+0x2b/0xa10 fs/dcache.c:1612 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1743 alloc_file_pseudo+0xc6/0x250 fs/file_table.c:224 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35aeef28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3757c5a9 RDX: 00007efd35aeefe0 RSI: 0000000000000000 RDI: 00007efd375d681c RBP: 00007efd35aef1d0 R08: 00007efd35aeefd8 R09: 00007efd35aef1d0 R10: 00007efd35aeefdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000000041037 R14: 00007efd35aeefe0 R15: 0000000020000200 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2233 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 kmem_cache_zalloc include/linux/slab.h:699 [inline] __alloc_file+0x21/0x340 fs/file_table.c:100 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 alloc_file+0x5e/0x4d0 fs/file_table.c:192 alloc_file_pseudo+0x165/0x250 fs/file_table.c:231 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35aeef28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3757c5a9 RDX: 00007efd35aeefe0 RSI: 0000000000000000 RDI: 00007efd375d681c RBP: 00007efd35aef1d0 R08: 00007efd35aeefd8 R09: 00007efd35aef1d0 R10: 00007efd35aeefdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000000041037 R14: 00007efd35aeefe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2234 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x2ab/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] __do_sys_memfd_create mm/memfd.c:295 [inline] __se_sys_memfd_create+0xf8/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fc12f7f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d855a9 RDX: 00007f8fc12f7fe0 RSI: 0000000000000000 RDI: 00007f8fc2ddf81c RBP: 00007f8fc12f81d0 R08: 00007f8fc12f7fd8 R09: 00007f8fc12f81d0 R10: 00007f8fc12f7fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f8fc12f7fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2251 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 shmem_alloc_inode+0x18/0x40 mm/shmem.c:3609 alloc_inode+0x5d/0x180 fs/inode.c:211 new_inode_pseudo fs/inode.c:911 [inline] new_inode+0x1d/0xf0 fs/inode.c:940 shmem_get_inode+0x96/0x8d0 mm/shmem.c:2196 __shmem_file_setup.part.0+0x7a/0x2b0 mm/shmem.c:3965 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fc12f7f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d855a9 RDX: 00007f8fc12f7fe0 RSI: 0000000000000000 RDI: 00007f8fc2ddf81c RBP: 00007f8fc12f81d0 R08: 00007f8fc12f7fd8 R09: 00007f8fc12f81d0 R10: 00007f8fc12f7fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f8fc12f7fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2253 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc_trace+0x284/0x380 mm/slab.c:3623 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] aa_alloc_file_ctx security/apparmor/include/file.h:60 [inline] apparmor_file_alloc_security+0x394/0xad0 security/apparmor/lsm.c:438 security_file_alloc+0x40/0x90 security/security.c:880 __alloc_file+0xd8/0x340 fs/file_table.c:105 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 alloc_file+0x5e/0x4d0 fs/file_table.c:192 alloc_file_pseudo+0x165/0x250 fs/file_table.c:231 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3757c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd35aeef28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3757c5a9 RDX: 00007efd35aeefe0 RSI: 0000000000000000 RDI: 00007efd375d681c RBP: 00007efd35aef1d0 R08: 00007efd35aeefd8 R09: 00007efd35aef1d0 R10: 00007efd35aeefdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000000041037 R14: 00007efd35aeefe0 R15: 0000000020000200 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2263 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000009 RSI: 0000000020000880 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000200 R14: 0000000000000000 R15: 00007efd375c6a20 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs mount: 8 callbacks suppressed EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2287 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 __d_alloc+0x2b/0xa10 fs/dcache.c:1612 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1743 alloc_file_pseudo+0xc6/0x250 fs/file_table.c:224 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fc12f7f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d855a9 RDX: 00007f8fc12f7fe0 RSI: 0000000000000000 RDI: 00007f8fc2ddf81c RBP: 00007f8fc12f81d0 R08: 00007f8fc12f7fd8 R09: 00007f8fc12f81d0 R10: 00007f8fc12f7fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f8fc12f7fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2299 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000480 RSI: 0000000020010160 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000000c00 R11: 0000000000000293 R12: 0000000000000004 R13: 00000000200002f0 R14: 000000000000000a R15: 00007efd375c6a20 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2301 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 kmem_cache_zalloc include/linux/slab.h:699 [inline] __alloc_file+0x21/0x340 fs/file_table.c:100 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 alloc_file+0x5e/0x4d0 fs/file_table.c:192 alloc_file_pseudo+0x165/0x250 fs/file_table.c:231 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fc12f7f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d855a9 RDX: 00007f8fc12f7fe0 RSI: 0000000000000000 RDI: 00007f8fc2ddf81c RBP: 00007f8fc12f81d0 R08: 00007f8fc12f7fd8 R09: 00007f8fc12f81d0 R10: 00007f8fc12f7fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f8fc12f7fe0 R15: 0000000020000200 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2316 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc_trace+0x284/0x380 mm/slab.c:3623 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] aa_alloc_file_ctx security/apparmor/include/file.h:60 [inline] apparmor_file_alloc_security+0x394/0xad0 security/apparmor/lsm.c:438 security_file_alloc+0x40/0x90 security/security.c:880 __alloc_file+0xd8/0x340 fs/file_table.c:105 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 alloc_file+0x5e/0x4d0 fs/file_table.c:192 alloc_file_pseudo+0x165/0x250 fs/file_table.c:231 __shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976 __shmem_file_setup mm/shmem.c:3959 [inline] shmem_file_setup+0x61/0x90 mm/shmem.c:4006 __do_sys_memfd_create mm/memfd.c:325 [inline] __se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fc12f7f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d855a9 RDX: 00007f8fc12f7fe0 RSI: 0000000000000000 RDI: 00007f8fc2ddf81c RBP: 00007f8fc12f81d0 R08: 00007f8fc12f7fd8 R09: 00007f8fc12f81d0 R10: 00007f8fc12f7fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f8fc12f7fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 2323 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557 radix_tree_node_alloc.constprop.0+0x1e4/0x320 lib/radix-tree.c:398 radix_tree_extend+0x191/0x4b0 lib/radix-tree.c:637 __radix_tree_create+0x448/0x540 lib/radix-tree.c:828 __radix_tree_insert+0xbb/0x5f0 lib/radix-tree.c:994 radix_tree_insert include/linux/radix-tree.h:300 [inline] shmem_add_to_page_cache+0x616/0xbb0 mm/shmem.c:629 shmem_getpage_gfp+0x2004/0x37f0 mm/shmem.c:1836 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000480 RSI: 0000000020010160 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000000c00 R11: 0000000000000293 R12: 0000000000000004 R13: 00000000200002f0 R14: 000000000000000a R15: 00007efd375c6a20 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2361 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d37707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f8fc12f7f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d37707 RDX: 0000000000000004 RSI: 00000000200108c0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f8fc12f81d0 R10: 0000000000000001 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000200 R14: 0000000000000000 R15: 00007f8fc2dcfa20 CPU: 1 PID: 2364 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000020 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000002000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000350 R14: 000000000000000e R15: 00007efd375c6a20 f2fs_msg: 45 callbacks suppressed F2FS-fs (loop4): Corrupted extension count (1698963570 + 1 > 64) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): invalid crc value F2FS-fs (loop4): Found nat_bits in checkpoint F2FS-fs (loop1): Corrupted extension count (1698963570 + 1 > 64) F2FS-fs (loop1): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop1): invalid crc value F2FS-fs (loop4): Mounted with checkpoint version = 3651456e F2FS-fs (loop1): Found nat_bits in checkpoint EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue F2FS-fs (loop1): Mounted with checkpoint version = 3651456e FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2404 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000020 RSI: 00000000200106c0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000003000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000398 R14: 0000000000000011 R15: 00007efd375c6a20 EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2451 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8fc2d37707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f8fc12f7f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f8fc2d37707 RDX: 0000000000000080 RSI: 00000000200103a0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f8fc12f81d0 R10: 0000000000001400 R11: 0000000000000293 R12: 0000000000000004 R13: 00000000200002c0 R14: 0000000000000008 R15: 00007f8fc2dcfa20 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2502 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000020 RSI: 0000000020010740 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 R13: 00000000200003e0 R14: 0000000000000014 R15: 00007efd375c6a20 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2544 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000420 RSI: 0000000020010800 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000004c00 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000428 R14: 0000000000000017 R15: 00007efd375c6a20 EXT4-fs error (device loop3): ext4_orphan_get:1256: comm syz-executor.3: bad orphan inode 4 EXT4-fs (loop3): 1 orphan inode deleted EXT4-fs (loop3): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue EXT4-fs error (device loop5): ext4_orphan_get:1256: comm syz-executor.5: bad orphan inode 4 EXT4-fs (loop5): 1 orphan inode deleted EXT4-fs (loop5): mounted filesystem without journal. Opts: barrier,nodiscard,,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 2581 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_pwrite64 fs/read_write.c:653 [inline] __do_sys_pwrite64 fs/read_write.c:663 [inline] __se_sys_pwrite64 fs/read_write.c:660 [inline] __x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd3752e707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007efd35aeef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007efd3752e707 RDX: 0000000000000020 RSI: 0000000020010cc0 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007efd35aef1d0 R10: 0000000000005ffe R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000470 R14: 000000000000001a R15: 00007efd375c6a20