tmpfs: Bad value 'always$mkivmHޛi>' for mount option 'huge' ====================================================== WARNING: possible circular locking dependency detected 4.14.290-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.3/9793 is trying to acquire lock: ((&strp->work)){+.+.}, at: [] flush_work+0x88/0x770 kernel/workqueue.c:2887 but task is already holding lock: (sk_lock-AF_INET){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_attach net/kcm/kcmsock.c:1390 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_ioctl+0x328/0xfb0 net/kcm/kcmsock.c:1701 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (sk_lock-AF_INET){+.+.}: lock_sock_nested+0xb7/0x100 net/core/sock.c:2813 do_strp_work net/strparser/strparser.c:415 [inline] strp_work+0x3e/0x100 net/strparser/strparser.c:434 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 -> #0 ((&strp->work)){+.+.}: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 flush_work+0xad/0x770 kernel/workqueue.c:2890 __cancel_work_timer+0x321/0x460 kernel/workqueue.c:2965 strp_done+0x53/0xd0 net/strparser/strparser.c:519 kcm_attach net/kcm/kcmsock.c:1429 [inline] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] kcm_ioctl+0x828/0xfb0 net/kcm/kcmsock.c:1701 sock_do_ioctl net/socket.c:974 [inline] sock_ioctl+0x2cc/0x4c0 net/socket.c:1071 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 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sk_lock-AF_INET); lock((&strp->work)); lock(sk_lock-AF_INET); lock((&strp->work)); *** DEADLOCK *** 1 lock held by syz-executor.3/9793: #0: (sk_lock-AF_INET){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_attach net/kcm/kcmsock.c:1390 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_ioctl+0x328/0xfb0 net/kcm/kcmsock.c:1701 stack backtrace: CPU: 0 PID: 9793 Comm: syz-executor.3 Not tainted 4.14.290-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 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 flush_work+0xad/0x770 kernel/workqueue.c:2890 __cancel_work_timer+0x321/0x460 kernel/workqueue.c:2965 strp_done+0x53/0xd0 net/strparser/strparser.c:519 kcm_attach net/kcm/kcmsock.c:1429 [inline] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] kcm_ioctl+0x828/0xfb0 net/kcm/kcmsock.c:1701 sock_do_ioctl net/socket.c:974 [inline] sock_ioctl+0x2cc/0x4c0 net/socket.c:1071 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:0x7fc4f68ba279 RSP: 002b:00007fc4f520e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc4f69cd050 RCX: 00007fc4f68ba279 RDX: 0000000020000040 RSI: 00000000000089e0 RDI: 0000000000000005 RBP: 00007fc4f6914189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe73d0d0f R14: 00007fc4f520e300 R15: 0000000000022000 audit: type=1800 audit(1660706770.719:2): pid=9787 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.5" name="bus" dev="sda1" ino=13912 res=0 tmpfs: Bad value 'always$mkivmHޛi>' for mount option 'huge' IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 Cannot find del_set index 0 as target syz-executor.0 (9917) used greatest stack depth: 25032 bytes left IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 Cannot find del_set index 0 as target Cannot find del_set index 0 as target Zero length message leads to an empty skb Cannot find del_set index 0 as target F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x1f2f5) F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) Cannot find del_set index 0 as target F2FS-fs (loop2): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x1f2f5) F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop2): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x1f2f5) overlayfs: fs on 'file0' does not support file handles, falling back to index=off. F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock Cannot find del_set index 0 as target overlayfs: unrecognized mount option "upp" or missing value overlayfs: fs on 'file0' does not support file handles, falling back to index=off. Cannot find del_set index 0 as target overlayfs: fs on 'file0' does not support file handles, falling back to index=off. overlayfs: unrecognized mount option "upp" or missing value Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target Cannot find del_set index 0 as target overlayfs: unrecognized mount option "w(e" or missing value Cannot find del_set index 0 as target Cannot find del_set index 0 as target overlayfs: unrecognized mount option "w(e" or missing value VFS: could not find a valid V7 on loop1. overlayfs: unrecognized mount option "w(e" or missing value Cannot find del_set index 0 as target VFS: could not find a valid V7 on loop2. VFS: could not find a valid V7 on loop1. VFS: could not find a valid V7 on loop2. VFS: could not find a valid V7 on loop1. IPVS: sync thread started: state = MASTER, mcast_ifn = macvlan1, syncid = 3, id = 0 Cannot find del_set index 0 as target VFS: could not find a valid V7 on loop2. VFS: could not find a valid V7 on loop1. VFS: could not find a valid V7 on loop2. audit: type=1800 audit(1660706778.449:3): pid=11001 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13960 res=0 audit: type=1804 audit(1660706778.469:4): pid=11001 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3003735555/syzkaller.kK6lYJ/34/file0" dev="sda1" ino=13960 res=1 audit: type=1800 audit(1660706778.669:5): pid=11062 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13977 res=0 audit: type=1804 audit(1660706778.689:6): pid=11062 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3003735555/syzkaller.kK6lYJ/35/file0" dev="sda1" ino=13977 res=1 audit: type=1800 audit(1660706778.689:7): pid=11063 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="sda1" ino=13883 res=0 audit: type=1804 audit(1660706778.699:8): pid=11063 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir700129131/syzkaller.qbYHGR/29/file0" dev="sda1" ino=13883 res=1 Cannot find del_set index 0 as target audit: type=1800 audit(1660706778.829:9): pid=11093 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13988 res=0 audit: type=1804 audit(1660706778.839:10): pid=11093 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3003735555/syzkaller.kK6lYJ/36/file0" dev="sda1" ino=13988 res=1 Cannot find del_set index 0 as target VFS: could not find a valid V7 on loop2. delete_channel: no stack delete_channel: no stack Cannot find del_set index 0 as target delete_channel: no stack delete_channel: no stack audit: type=1800 audit(1660706779.779:11): pid=11199 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file0" dev="sda1" ino=13996 res=0 delete_channel: no stack delete_channel: no stack Cannot find del_set index 0 as target delete_channel: no stack delete_channel: no stack 8021q: adding VLAN 0 to HW filter on device team0 VFS: could not find a valid V7 on loop2. bond0: Enslaving team0 as an active interface with an up link Cannot find del_set index 0 as target