netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. IPVS: ftp: loaded support on port[0] = 21 ====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.5/8741 is trying to acquire lock: 00000000a5926233 (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:77 [inline] 00000000a5926233 (&pipe->mutex/1){+.+.}, at: pipe_lock+0x63/0x80 fs/pipe.c:85 but task is already holding lock: 000000001ac16238 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] 000000001ac16238 (sb_writers#3){.+.+}, at: do_splice fs/splice.c:1153 [inline] 000000001ac16238 (sb_writers#3){.+.+}, at: __do_sys_splice fs/splice.c:1428 [inline] 000000001ac16238 (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]){+.+.}: 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] --> sb_writers#3 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sb_writers#3); lock(&ovl_i_mutex_key[depth]); lock(sb_writers#3); lock(&pipe->mutex/1); *** DEADLOCK *** 1 lock held by syz-executor.5/8741: #0: 000000001ac16238 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 000000001ac16238 (sb_writers#3){.+.+}, at: do_splice fs/splice.c:1153 [inline] #0: 000000001ac16238 (sb_writers#3){.+.+}, at: __do_sys_splice fs/splice.c:1428 [inline] #0: 000000001ac16238 (sb_writers#3){.+.+}, at: __se_sys_splice+0x11de/0x16d0 fs/splice.c:1408 stack backtrace: CPU: 1 PID: 8741 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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:0x7f86f90040c9 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:00007f86f7555168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f86f9124050 RCX: 00007f86f90040c9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f86f905fae9 R08: 000000000000fdef R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdbc94daf R14: 00007f86f7555300 R15: 0000000000022000 REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. audit: type=1804 audit(1675204165.272:969): pid=8772 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/912/bus" dev="sda1" ino=14241 res=1 audit: type=1804 audit(1675204165.402:970): pid=8807 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/912/bus" dev="sda1" ino=14241 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1804 audit(1675204166.152:971): pid=8863 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/913/bus" dev="sda1" ino=14354 res=1 audit: type=1804 audit(1675204166.152:972): pid=8863 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/913/bus" dev="sda1" ino=14354 res=1 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. audit: type=1804 audit(1675204167.002:973): pid=8938 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir4188574642/syzkaller.gfLAjW/937/bus" dev="sda1" ino=14771 res=1 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal audit: type=1800 audit(1675204167.042:974): pid=8938 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=14771 res=0 REISERFS (device loop4): using ordered data mode IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1675204167.062:975): pid=8942 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/914/bus" dev="sda1" ino=14818 res=1 reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. audit: type=1804 audit(1675204167.062:976): pid=8944 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2033063/syzkaller.1A6KZX/914/bus" dev="sda1" ino=14818 res=1 REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. audit: type=1800 audit(1675204167.622:977): pid=9020 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14516 res=0 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1675204168.022:978): pid=9059 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir4188574642/syzkaller.gfLAjW/938/bus" dev="sda1" ino=14866 res=1 REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. audit: type=1800 audit(1675204168.022:979): pid=9059 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=14866 res=0 IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1675204168.032:980): pid=9057 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14882 res=0 IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 kauditd_printk_skb: 20 callbacks suppressed audit: type=1800 audit(1675204171.173:1001): pid=9420 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14920 res=0 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names audit: type=1800 audit(1675204171.453:1002): pid=9450 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14194 res=0 REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. audit: type=1800 audit(1675204171.513:1003): pid=9455 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=14910 res=0 REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. audit: type=1800 audit(1675204171.633:1004): pid=9458 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14786 res=0 IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1675204171.793:1005): pid=9465 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14276 res=0 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers audit: type=1800 audit(1675204172.013:1006): pid=9498 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14294 res=0 REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. audit: type=1800 audit(1675204172.133:1007): pid=9504 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=14294 res=0 REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1675204172.183:1008): pid=9506 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14925 res=0 audit: type=1800 audit(1675204172.343:1009): pid=9529 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14370 res=0 audit: type=1800 audit(1675204172.413:1010): pid=9536 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=14786 res=0 IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode IPVS: ftp: loaded support on port[0] = 21 reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal REISERFS (device loop4): using ordered data mode reiserfs: using flush barriers REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using rupasov hash to sort names REISERFS warning (device loop4): super-2030 reiserfs_fill_super: This file system claims to use 1 bitmap blocks in its super block, but requires 65536. Clearing to zero. REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.