NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) ====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.2/20728 is trying to acquire lock: 00000000fee21186 (&nilfs->ns_sem){++++}, at: nilfs_set_error fs/nilfs2/super.c:86 [inline] 00000000fee21186 (&nilfs->ns_sem){++++}, at: __nilfs_error+0x195/0x401 fs/nilfs2/super.c:131 but task is already holding lock: 00000000d1ff355e (&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 nilfs_put_super+0x152/0x1a0 fs/nilfs2/super.c:473 generic_shutdown_super+0x144/0x370 fs/super.c:456 kill_block_super+0x97/0xf0 fs/super.c:1185 deactivate_locked_super+0x94/0x160 fs/super.c:329 deactivate_super+0x174/0x1a0 fs/super.c:360 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 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.2/20728: #0: 000000008c178e3d (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000d1ff355e (&dat_lock_key){.+.+}, at: nilfs_get_block+0x18f/0x970 fs/nilfs2/inode.c:79 stack backtrace: CPU: 0 PID: 20728 Comm: syz-executor.2 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:0x7f80e95b05a9 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:00007f80e7b23168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f80e96d0f80 RCX: 00007f80e95b05a9 RDX: 0000000000000010 RSI: 0000000000000000 RDI: 0000000020000880 RBP: 00007f80e960b7b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe60bdc8cf R14: 00007f80e7b23300 R15: 0000000000022000 SQUASHFS error: squashfs_read_data failed to read block 0xbc030002d9 squashfs: SQUASHFS error: unable to read xattr id index table netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. Remounting filesystem read-only NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 SQUASHFS error: squashfs_read_data failed to read block 0xbc030002d9 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) squashfs: SQUASHFS error: unable to read xattr id index table NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) NILFS (loop2): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop2): nilfs_bmap_lookup_contig: broken bmap (inode number=16) kauditd_printk_skb: 3 callbacks suppressed audit: type=1800 audit(1667247629.162:90): pid=20728 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="file2" dev="loop2" ino=16 res=0 audit: type=1800 audit(1667247629.182:91): pid=20757 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="file2" dev="loop2" ino=16 res=0 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. BTRFS: device fsid da33867d-e382-4163-b5e0-ea15c91cfb38 devid 1 transid 7 /dev/loop2 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. BTRFS error (device loop2): open_ctree failed netlink: 'syz-executor.3': attribute type 4 has an invalid length. BTRFS error (device loop2): open_ctree failed IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. BTRFS error (device loop2): open_ctree failed netlink: 'syz-executor.3': attribute type 4 has an invalid length. BTRFS error (device loop1): open_ctree failed netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. BTRFS error (device loop1): open_ctree failed netlink: 'syz-executor.3': attribute type 4 has an invalid length. nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. BTRFS error (device loop1): open_ctree failed BTRFS error (device loop1): open_ctree failed BTRFS error (device loop3): open_ctree failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 BTRFS error (device loop3): open_ctree failed CPU: 1 PID: 21112 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:0x7f26339d15a9 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:00007f2631f43f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f26339d15a9 RDX: 00007f2631f43fe0 RSI: 0000000000000000 RDI: 00007f2633a2b81c RBP: 00007f2631f441d0 R08: 00007f2631f43fd8 R09: 00007f2631f441d0 R10: 00007f2631f43fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f2631f43fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 21163 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:0x7f26339d15a9 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:00007f2631f43f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f26339d15a9 RDX: 00007f2631f43fe0 RSI: 0000000000000000 RDI: 00007f2633a2b81c RBP: 00007f2631f441d0 R08: 00007f2631f43fd8 R09: 00007f2631f441d0 R10: 00007f2631f43fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f2631f43fe0 R15: 0000000020000200 BTRFS error (device loop3): open_ctree failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 21208 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:0x7f26339d15a9 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:00007f2631f43f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f26339d15a9 RDX: 00007f2631f43fe0 RSI: 0000000000000000 RDI: 00007f2633a2b81c RBP: 00007f2631f441d0 R08: 00007f2631f43fd8 R09: 00007f2631f441d0 R10: 00007f2631f43fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f2631f43fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 audit: type=1804 audit(1667247632.022:92): pid=21246 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1696430164/syzkaller.Q0vfOi/297/bus" dev="sda1" ino=14755 res=1 CPU: 0 PID: 21234 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:0x7f26339d15a9 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:00007f2631f43f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f26339d15a9 RDX: 00007f2631f43fe0 RSI: 0000000000000000 RDI: 00007f2633a2b81c RBP: 00007f2631f441d0 R08: 00007f2631f43fd8 R09: 00007f2631f441d0 R10: 00007f2631f43fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f2631f43fe0 R15: 0000000020000200 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 nla_parse: 22 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. CPU: 0 PID: 21297 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 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. __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:0x7f26339d15a9 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:00007f2631f43f28 EFLAGS: 00000206 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f26339d15a9 RDX: 00007f2631f43fe0 RSI: 0000000000000000 RDI: 00007f2633a2b81c RBP: 00007f2631f441d0 R08: 00007f2631f43fd8 R09: 00007f2631f441d0 R10: 00007f2631f43fdc R11: 0000000000000206 R12: 0000000020000000 R13: 0000000008100000 R14: 00007f2631f43fe0 R15: 0000000020000200 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. audit: type=1804 audit(1667247633.222:93): pid=21335 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1696430164/syzkaller.Q0vfOi/298/bus" dev="sda1" ino=14385 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 21369 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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 000000000000005b RSI: 0000000020013d00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000200 R14: 0000000000000000 R15: 00007f2633a1ba20 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. BTRFS error (device loop1): open_ctree failed FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. CPU: 1 PID: 21436 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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 0000000000000138 RSI: 0000000020010000 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000010000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000218 R14: 0000000000000001 R15: 00007f2633a1ba20 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 21502 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+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 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. 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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 0000000000000138 RSI: 0000000020010000 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000010000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000218 R14: 0000000000000001 R15: 00007f2633a1ba20 BTRFS error (device loop1): open_ctree failed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 21558 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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 0000000000000059 RSI: 0000000020011e00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000500c80 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000278 R14: 0000000000000005 R15: 00007f2633a1ba20 BTRFS error (device loop1): open_ctree failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 21626 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+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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 0000000000000059 RSI: 0000000020011e00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000500c80 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000278 R14: 0000000000000005 R15: 00007f2633a1ba20 BTRFS error (device loop1): open_ctree failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 21678 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+0x3f/0x370 mm/slab.c:3557 radix_tree_node_alloc.constprop.0+0x1e4/0x320 lib/radix-tree.c:398 __radix_tree_create+0x314/0x540 lib/radix-tree.c:839 __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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 0000000000000059 RSI: 0000000020011e00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 0000000000500c80 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000278 R14: 0000000000000005 R15: 00007f2633a1ba20 BTRFS error (device loop1): open_ctree failed FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 21729 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 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 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:0x7f2633983707 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:00007f2631f43f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000021 RCX: 00007f2633983707 RDX: 000000000000011e RSI: 0000000020012b00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f2631f441d0 R10: 00000000005039e0 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000020000290 R14: 0000000000000006 R15: 00007f2633a1ba20 CPU: 0 PID: 21739 Comm: syz-executor.2 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_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x245/0x3b0 mm/slab.c:3647 __alloc_skb+0x71/0x560 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1197 [inline] netlink_sendmsg+0x9f6/0xc50 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f80e95b05a9 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:00007f80e7b23168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f80e96d0f80 RCX: 00007f80e95b05a9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f80e7b231d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe60bdc8cf R14: 00007f80e7b23300 R15: 0000000000022000 BTRFS error (device loop1): open_ctree failed FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 21775 Comm: syz-executor.2 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_node mm/slab.c:3304 [inline] kmem_cache_alloc_node_trace+0x244/0x3b0 mm/slab.c:3666 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0xae/0x560 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:995 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1197 [inline] netlink_sendmsg+0x9f6/0xc50 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f80e95b05a9