Unknown ioctl 1076391951 print_req_error: I/O error, dev loop7, sector 768 ====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.0/7232 is trying to acquire lock: hub 9-0:1.0: USB hub found 000000009f74e127 (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:77 [inline] 000000009f74e127 (&pipe->mutex/1){+.+.}, at: pipe_lock+0x63/0x80 fs/pipe.c:85 but task is already holding lock: 00000000146ff5e5 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] 00000000146ff5e5 (sb_writers#3){.+.+}, at: do_splice fs/splice.c:1153 [inline] 00000000146ff5e5 (sb_writers#3){.+.+}, at: __do_sys_splice fs/splice.c:1428 [inline] 00000000146ff5e5 (sb_writers#3){.+.+}, at: __se_sys_splice+0x11de/0x16d0 fs/splice.c:1408 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (sb_writers#3){.+.+}: sb_start_write include/linux/fs.h:1579 [inline] mnt_want_write+0x3a/0xb0 fs/namespace.c:360 ovl_link+0x73/0x2b0 fs/overlayfs/dir.c:676 vfs_link+0x7e6/0xc80 fs/namei.c:4243 do_linkat+0x52a/0x810 fs/namei.c:4311 __do_sys_link fs/namei.c:4340 [inline] __se_sys_link fs/namei.c:4338 [inline] __x64_sys_link+0x5d/0x80 fs/namei.c:4338 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #1 (&ovl_i_mutex_key[depth]#2){+.+.}: inode_lock include/linux/fs.h:748 [inline] ovl_write_iter+0x148/0xb40 fs/overlayfs/file.c:270 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 __kernel_write+0x109/0x370 fs/read_write.c:506 write_pipe_buf+0x153/0x1f0 fs/splice.c:798 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x389/0x800 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] default_file_splice_write+0xd8/0x180 fs/splice.c:810 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #0 (&pipe->mutex/1){+.+.}: __mutex_lock_common kernel/locking/mutex.c:937 [inline] __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078 pipe_lock_nested fs/pipe.c:77 [inline] pipe_lock+0x63/0x80 fs/pipe.c:85 iter_file_splice_write+0x183/0xbb0 fs/splice.c:700 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 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: Chain exists of: &pipe->mutex/1 --> &ovl_i_mutex_key[depth]#2 --> sb_writers#3 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sb_writers#3); lock(&ovl_i_mutex_key[depth]#2); lock(sb_writers#3); lock(&pipe->mutex/1); *** DEADLOCK *** 1 lock held by syz-executor.0/7232: #0: 00000000146ff5e5 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 00000000146ff5e5 (sb_writers#3){.+.+}, at: do_splice fs/splice.c:1153 [inline] #0: 00000000146ff5e5 (sb_writers#3){.+.+}, at: __do_sys_splice fs/splice.c:1428 [inline] #0: 00000000146ff5e5 (sb_writers#3){.+.+}, at: __se_sys_splice+0x11de/0x16d0 fs/splice.c:1408 stack backtrace: CPU: 1 PID: 7232 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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 __mutex_lock_common kernel/locking/mutex.c:937 [inline] __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078 pipe_lock_nested fs/pipe.c:77 [inline] pipe_lock+0x63/0x80 fs/pipe.c:85 iter_file_splice_write+0x183/0xbb0 fs/splice.c:700 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc17d4300d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc17b9a2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007fc17d54ff80 RCX: 00007fc17d4300d9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fc17d48bae9 R08: 000000000000fdef R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffc588924f R14: 00007fc17b9a2300 R15: 0000000000022000 ntfs: (device loop1): parse_options(): Unrecognized mount option ;. hub 9-0:1.0: 8 ports detected Unknown ioctl 1076391951 caif:caif_disconnect_client(): nothing to disconnect overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. ntfs: (device loop1): parse_options(): Unrecognized mount option ;. device vxlan0 entered promiscuous mode UDF-fs: bad mount option ")誁.J'GGwTyVlV5ooC .\.}EJIڭ:M+ƒ`{B$ 5C@L | Lp5 sک;6OF 8'n 9<&u?[@ 7xZ+:7b%0F~" or missing value audit: type=1800 audit(1670850414.117:818): pid=7348 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=14406 res=0 audit: type=1804 audit(1670850414.207:819): pid=7348 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir734278661/syzkaller.QkDncO/906/file0" dev="sda1" ino=14406 res=1 overlayfs: unrecognized mount option "lown|*i}*erdhr=.HMPG^2fFVL@b1" or missing value UDF-fs: bad mount option ")誁.J'GGwTyVlV5ooC .\.}EJIڭ:M+ƒ`{B$ 5C@L | Lp5 sک;6OF 8'n 9<&u?[@ 7xZ+:7b%0F~" or missing value device vxlan0 entered promiscuous mode overlayfs: unrecognized mount option "lown|*i}*erdhr=.HMPG^2fFVL@b1" or missing value overlayfs: unrecognized mount option "lown|*i}*erdhr=.HMPG^2fFVL@b1" or missing value device vxlan0 entered promiscuous mode audit: type=1800 audit(1670850415.297:820): pid=7451 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=13910 res=0 UDF-fs: bad mount option ")誁.J'GGwTyVlV5ooC .\.}EJIڭ:M+ƒ`{B$ 5C@L | Lp5 sک;6OF 8'n 9<&u?[@ 7xZ+:7b%0F~" or missing value audit: type=1804 audit(1670850415.357:821): pid=7445 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir734278661/syzkaller.QkDncO/907/file0" dev="sda1" ino=13910 res=1 overlayfs: unrecognized mount option "lown|*i}*erdhr=.HMPG^2fFVL@b1" or missing value 9pnet: Insufficient options for proto=fd hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected 9pnet: Could not find request transport: nd 9pnet: Insufficient options for proto=fd hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected XFS (loop4): Metadata CRC error detected at xfs_sb_read_verify+0x3e7/0x500 fs/xfs/libxfs/xfs_sb.c:685, xfs_sb block 0xffffffffffffffff XFS (loop4): Unmount and run xfs_repair XFS (loop4): First 128 bytes of corrupted metadata buffer: 000000007ad458b2: 58 46 53 42 00 00 10 00 00 00 00 00 00 00 03 00 XFSB............ 0000000068cdee5f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000007ebc8d0e: c4 96 e0 5e 54 0d 4c 72 b5 91 04 d7 9d 8b 4e eb ...^T.Lr......N. 000000009eb3fed2: 00 00 00 00 00 00 00 06 00 00 00 00 00 00 11 40 ...............@ 000000000413e34c: 00 00 00 00 00 00 11 41 00 00 00 00 00 00 11 42 .......A.......B 00000000fa690c7c: 00 00 00 01 00 00 10 00 00 00 00 01 00 00 00 00 ................ 00000000a2f4fff4: 00 00 04 3e b4 b5 02 00 04 00 00 04 00 00 00 00 ...>............ 000000001ed2b332: 00 00 00 00 00 00 00 00 0c 09 0a 02 0c 00 00 0a ................ XFS (loop4): SB validate failed with error -74. hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected audit: type=1800 audit(1670850416.407:822): pid=7568 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=14428 res=0 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. device veth3 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth3: link is not ready 9pnet: Could not find request transport: nd XFS (loop4): Metadata CRC error detected at xfs_sb_read_verify+0x3e7/0x500 fs/xfs/libxfs/xfs_sb.c:685, xfs_sb block 0xffffffffffffffff XFS (loop4): Unmount and run xfs_repair XFS (loop4): First 128 bytes of corrupted metadata buffer: 00000000266f75aa: 58 46 53 42 00 00 10 00 00 00 00 00 00 00 03 00 XFSB............ 0000000010b2e945: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000094c5d950: c4 96 e0 5e 54 0d 4c 72 b5 91 04 d7 9d 8b 4e eb ...^T.Lr......N. 000000001f1a18aa: 00 00 00 00 00 00 00 06 00 00 00 00 00 00 11 40 ...............@ 0000000069c4b5cc: 00 00 00 00 00 00 11 41 00 00 00 00 00 00 11 42 .......A.......B netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. 00000000e9584519: 00 00 00 01 00 00 10 00 00 00 00 01 00 00 00 00 ................ 000000004aa41f68: 00 00 04 3e b4 b5 02 00 04 00 00 04 00 00 00 00 ...>............ 00000000b1f73745: 00 00 00 00 00 00 00 00 0c 09 0a 02 0c 00 00 0a ................ XFS (loop4): SB validate failed with error -74. device veth5 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth5: link is not ready netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd device veth7 entered promiscuous mode 9pnet: Insufficient options for proto=fd IPv6: ADDRCONF(NETDEV_UP): veth7: link is not ready 9pnet: Could not find request transport: nd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd XFS (loop4): Metadata CRC error detected at xfs_sb_read_verify+0x3e7/0x500 fs/xfs/libxfs/xfs_sb.c:685, xfs_sb block 0xffffffffffffffff 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd XFS (loop4): Unmount and run xfs_repair 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd XFS (loop4): First 128 bytes of corrupted metadata buffer: 9pnet: Insufficient options for proto=fd 9pnet: Insufficient options for proto=fd 0000000043e87e2d: 58 46 53 42 00 00 10 00 00 00 00 00 00 00 03 00 XFSB............ 9pnet: Insufficient options for proto=fd device veth9 entered promiscuous mode 0000000039aa0caa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000009eda6f79: c4 96 e0 5e 54 0d 4c 72 b5 91 04 d7 9d 8b 4e eb ...^T.Lr......N. 000000004dc4bf0d: 00 00 00 00 00 00 00 06 00 00 00 00 00 00 11 40 ...............@ IPv6: ADDRCONF(NETDEV_UP): veth9: link is not ready 00000000be68b3e7: 00 00 00 00 00 00 11 41 00 00 00 00 00 00 11 42 .......A.......B netlink: 'syz-executor.0': attribute type 4 has an invalid length. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready 00000000cd71c9a9: 00 00 00 01 00 00 10 00 00 00 00 01 00 00 00 00 ................ 000000007e89f979: 00 00 04 3e b4 b5 02 00 04 00 00 04 00 00 00 00 ...>............ 00000000b4fd1b03: 00 00 00 00 00 00 00 00 0c 09 0a 02 0c 00 00 0a ................ XFS (loop4): SB validate failed with error -74. netlink: 'syz-executor.3': attribute type 4 has an invalid length. 9pnet: p9_fd_create_tcp (7810): problem connecting socket to 127.0.0.1 netlink: 'syz-executor.0': attribute type 4 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. 9pnet: p9_fd_create_tcp (7826): problem connecting socket to 127.0.0.1 device veth11 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth11: link is not ready netlink: 'syz-executor.0': attribute type 4 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. F2FS-fs (loop1): Test dummy encryption mount option ignored F2FS-fs (loop1): Ignore s_resuid=60928, s_resgid=0 w/o reserve_root F2FS-fs (loop1): Found nat_bits in checkpoint device veth13 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth13: link is not ready F2FS-fs (loop1): Mounted with checkpoint version = 753bd00b netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. device veth15 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth15: link is not ready netlink: 'syz-executor.3': attribute type 4 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. device veth17 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth17: link is not ready F2FS-fs (loop1): Test dummy encryption mount option ignored F2FS-fs (loop1): Ignore s_resuid=60928, s_resgid=0 w/o reserve_root F2FS-fs (loop1): Found nat_bits in checkpoint F2FS-fs (loop1): Mounted with checkpoint version = 753bd00b