A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. UDF-fs: Scanning with blocksize 512 failed UDF-fs: warning (device loop5): udf_load_vrs: No anchor found ====================================================== WARNING: possible circular locking dependency detected overlayfs: unrecognized mount option "lodir=.:file0" or missing value 4.14.262-syzkaller #0 Not tainted ------------------------------------------------------ kworker/1:3/4629 is trying to acquire lock: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:719 [inline] (&sb->s_type->i_mutex_key#10){++++}, at: [] __generic_file_fsync+0x9e/0x190 fs/libfs.c:989 but task is already holding lock: ((&dio->complete_work)){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 overlayfs: failed to resolve './file1': -2 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 ((&dio->complete_work)){+.+.}: process_one_work+0x736/0x14a0 kernel/workqueue.c:2093 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 -> #1 ("dio/%s"sb->s_id){+.+.}: flush_workqueue+0xfa/0x1310 kernel/workqueue.c:2625 drain_workqueue+0x177/0x3e0 kernel/workqueue.c:2790 destroy_workqueue+0x71/0x710 kernel/workqueue.c:4116 __alloc_workqueue_key+0xd50/0x1080 kernel/workqueue.c:4093 sb_init_dio_done_wq+0x34/0x80 fs/direct-io.c:624 do_blockdev_direct_IO fs/direct-io.c:1287 [inline] __blockdev_direct_IO+0x3df1/0xdcb0 fs/direct-io.c:1423 ext4_direct_IO_write fs/ext4/inode.c:3724 [inline] ext4_direct_IO+0x888/0x1b80 fs/ext4/inode.c:3865 generic_file_direct_write+0x1df/0x420 mm/filemap.c:2958 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137 ext4_file_write_iter+0x7c5/0xd20 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1780 [inline] aio_write+0x2ed/0x560 fs/aio.c:1553 io_submit_one fs/aio.c:1641 [inline] do_io_submit+0x847/0x1570 fs/aio.c:1709 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb -> #0 (&sb->s_type->i_mutex_key#10){++++}: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 inode_lock include/linux/fs.h:719 [inline] __generic_file_fsync+0x9e/0x190 fs/libfs.c:989 ext4_sync_file+0x8ed/0x12c0 fs/ext4/fsync.c:118 vfs_fsync_range+0x103/0x260 fs/sync.c:196 generic_write_sync include/linux/fs.h:2684 [inline] dio_complete+0x561/0x8d0 fs/direct-io.c:330 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 other info that might help us debug this: Chain exists of: &sb->s_type->i_mutex_key#10 --> "dio/%s"sb->s_id --> (&dio->complete_work) Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock((&dio->complete_work)); lock("dio/%s"sb->s_id); lock((&dio->complete_work)); lock(&sb->s_type->i_mutex_key#10); *** DEADLOCK *** 2 locks held by kworker/1:3/4629: #0: ("dio/%s"sb->s_id){+.+.}, at: [] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2088 #1: ((&dio->complete_work)){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 stack backtrace: CPU: 1 PID: 4629 Comm: kworker/1:3 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: dio/sda1 dio_aio_complete_work Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1258 check_prev_add kernel/locking/lockdep.c:1905 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x2e0e/0x3f20 kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 inode_lock include/linux/fs.h:719 [inline] __generic_file_fsync+0x9e/0x190 fs/libfs.c:989 ext4_sync_file+0x8ed/0x12c0 fs/ext4/fsync.c:118 vfs_fsync_range+0x103/0x260 fs/sync.c:196 generic_write_sync include/linux/fs.h:2684 [inline] dio_complete+0x561/0x8d0 fs/direct-io.c:330 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 UDF-fs: Scanning with blocksize 1024 failed UDF-fs: warning (device loop5): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed print_req_error: I/O error, dev loop5, sector 0 nla_parse: 14 callbacks suppressed netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. hfs: can't find a HFS filesystem on dev loop0 hfs: can't find a HFS filesystem on dev loop0 bond0: team0 is up - this may be due to an out of date ifenslave bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state hfs: can't find a HFS filesystem on dev loop0 device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered forwarding state device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state bond0: team0 is up - this may be due to an out of date ifenslave bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered forwarding state device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state bond0: team0 is up - this may be due to an out of date ifenslave bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered forwarding state jfs: Unrecognized mount option "ߌ}\cIb| '>" or missing value jfs: Unrecognized mount option "ߌ}\cIb| '>" or missing value jfs: Unrecognized mount option "ߌ}\cIb| '>" or missing value hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected ip6_tables: ip6tables: counters copy to user failed while replacing table hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected ip6_tables: ip6tables: counters copy to user failed while replacing table ip6_tables: ip6tables: counters copy to user failed while replacing table x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: USB hub found x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: 8 ports detected x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: USB hub found x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: 8 ports detected x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  x_tables: ip6_tables: REJECT target: only valid in filter table, not  hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected hub 9-0:1.0: USB hub found base_sock_release(ffff88808e076a00) sk=ffff8880a5ed6cc0 hub 9-0:1.0: 8 ports detected base_sock_release(ffff8880a776e980) sk=ffff8880994dd540 hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected base_sock_release(ffff8880a75faa80) sk=ffff88808d97ce80 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) batman_adv: batadv0: Interface deactivated: batadv_slave_0 hub 9-0:1.0: USB hub found batman_adv: batadv0: Removing interface: batadv_slave_0 hub 9-0:1.0: 8 ports detected team0: Device batadv_slave_0 is up. Set it down before adding it as a team port kauditd_printk_skb: 2 callbacks suppressed audit: type=1800 audit(1642384447.333:39): pid=16053 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="loop3" ino=19 res=0 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. hub 9-0:1.0: USB hub found netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. hub 9-0:1.0: 8 ports detected audit: type=1800 audit(1642384447.583:40): pid=16088 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="sda1" ino=14395 res=0 team0: Device batadv_slave_0 is up. Set it down before adding it as a team port netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) hub 9-0:1.0: USB hub found A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. hub 9-0:1.0: 8 ports detected audit: type=1800 audit(1642384447.833:41): pid=16136 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="loop3" ino=20 res=0 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) team0: Device batadv_slave_0 is up. Set it down before adding it as a team port netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 136 bytes leftover after parsing attributes in process `syz-executor.5'. A link change request failed with some changes committed already. Interface macvlan1 may have been left with an inconsistent configuration, please check. print_req_error: I/O error, dev loop3, sector 0 print_req_error: I/O error, dev loop3, sector 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 16508 Comm: syz-executor.3 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 lib/fault-inject.c:149 should_failslab+0xd6/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc_trace+0x29a/0x3d0 mm/slab.c:3616 kmalloc include/linux/slab.h:488 [inline] vt_do_diacrit+0x236/0x8b0 drivers/tty/vt/keyboard.c:1638 vt_ioctl+0xa5b/0x1d50 drivers/tty/vt/vt_ioctl.c:569 tty_ioctl+0x50f/0x1430 drivers/tty/tty_io.c:2661 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f830acd2fe9 RSP: 002b:00007f8309648168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f830ade5f60 RCX: 00007f830acd2fe9 RDX: 0000000020000100 RSI: 0000000000004b4a RDI: 0000000000000003 RBP: 00007f83096481d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcf5c67daf R14: 00007f8309648300 R15: 0000000000022000