FAT-fs (loop2): error, invalid access to FAT (entry 0x000006c0) ====================================================== [ INFO: possible circular locking dependency detected ] 4.9.111-g03c70fe #6 Not tainted ------------------------------------------------------- syz-executor1/14047 is trying to acquire lock: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 but task is already holding lock: (sk_lock-AF_INET){+.+.+.}, at: [] lock_sock include/net/sock.h:1404 [inline] (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 net/ipv4/ip_sockglue.c:636 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (sk_lock-AF_INET){+.+.+.}: lock_acquire+0x130/0x3e0 kernel/locking/lockdep.c:3756 lock_sock_nested+0xc6/0x120 net/core/sock.c:2511 lock_sock include/net/sock.h:1404 [inline] set_mcast_if net/netfilter/ipvs/ip_vs_sync.c:1370 [inline] make_send_sock net/netfilter/ipvs/ip_vs_sync.c:1490 [inline] start_sync_thread+0x88b/0x1e80 net/netfilter/ipvs/ip_vs_sync.c:1885 do_ip_vs_set_ctl+0x7c8/0xc00 net/netfilter/ipvs/ip_vs_ctl.c:2398 nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 ip_setsockopt+0x9a/0xb0 net/ipv4/ip_sockglue.c:1247 udp_setsockopt+0x4a/0x90 net/ipv4/udp.c:2091 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2706 SYSC_setsockopt net/socket.c:1772 [inline] SyS_setsockopt+0x166/0x260 net/socket.c:1751 do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 entry_SYSCALL_64_after_swapgs+0x5d/0xdb -> #0 (rtnl_mutex){+.+.+.}: check_prev_add kernel/locking/lockdep.c:1828 [inline] check_prevs_add kernel/locking/lockdep.c:1938 [inline] validate_chain kernel/locking/lockdep.c:2265 [inline] __lock_acquire+0x3019/0x4070 kernel/locking/lockdep.c:3345 lock_acquire+0x130/0x3e0 kernel/locking/lockdep.c:3756 __mutex_lock_common kernel/locking/mutex.c:521 [inline] mutex_lock_nested+0xc0/0x870 kernel/locking/mutex.c:621 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 mrtsock_destruct+0x3b/0x1e0 net/ipv4/ipmr.c:1231 ip_ra_control+0x2c2/0x420 net/ipv4/ip_sockglue.c:360 do_ip_setsockopt.isra.13+0x15ff/0x2b10 net/ipv4/ip_sockglue.c:1137 ip_setsockopt+0x3a/0xb0 net/ipv4/ip_sockglue.c:1240 raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:833 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2706 SYSC_setsockopt net/socket.c:1772 [inline] SyS_setsockopt+0x166/0x260 net/socket.c:1751 do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 entry_SYSCALL_64_after_swapgs+0x5d/0xdb other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sk_lock-AF_INET); lock(rtnl_mutex); lock(sk_lock-AF_INET); lock(rtnl_mutex); *** DEADLOCK *** 1 lock held by syz-executor1/14047: #0: (sk_lock-AF_INET){+.+.+.}, at: [] lock_sock include/net/sock.h:1404 [inline] #0: (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 net/ipv4/ip_sockglue.c:636 stack backtrace: CPU: 0 PID: 14047 Comm: syz-executor1 Not tainted 4.9.111-g03c70fe #6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a600f5f8 ffffffff81eb2729 ffffffff8559d0a0 ffffffff855e7800 ffffffff8559d0a0 ffff88019f4738e8 ffff88019f473000 ffff8801a600f640 ffffffff814263a4 0000000000000001 000000009f473000 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_circular_bug.cold.51+0x1bd/0x27d kernel/locking/lockdep.c:1202 [] check_prev_add kernel/locking/lockdep.c:1828 [inline] [] check_prevs_add kernel/locking/lockdep.c:1938 [inline] [] validate_chain kernel/locking/lockdep.c:2265 [inline] [] __lock_acquire+0x3019/0x4070 kernel/locking/lockdep.c:3345 [] lock_acquire+0x130/0x3e0 kernel/locking/lockdep.c:3756 [] __mutex_lock_common kernel/locking/mutex.c:521 [inline] [] mutex_lock_nested+0xc0/0x870 kernel/locking/mutex.c:621 [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 [] mrtsock_destruct+0x3b/0x1e0 net/ipv4/ipmr.c:1231 [] ip_ra_control+0x2c2/0x420 net/ipv4/ip_sockglue.c:360 [] do_ip_setsockopt.isra.13+0x15ff/0x2b10 net/ipv4/ip_sockglue.c:1137 [] ip_setsockopt+0x3a/0xb0 net/ipv4/ip_sockglue.c:1240 [] raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:833 [] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2706 [] SYSC_setsockopt net/socket.c:1772 [inline] [] SyS_setsockopt+0x166/0x260 net/socket.c:1751 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb FAT-fs (loop4): bogus number of reserved sectors FAT-fs (loop4): Can't find a valid FAT filesystem FAT-fs (loop0): error, invalid access to FAT (entry 0x000006c0) FAT-fs (loop0): Filesystem has been set read-only loop4: p1 p2 p3 p4 < > FAT-fs (loop0): error, invalid access to FAT (entry 0x000006c0) FAT-fs (loop0): Filesystem has been set read-only FAT-fs (loop4): bogus number of reserved sectors FAT-fs (loop4): Can't find a valid FAT filesystem FAT-fs (loop2): Filesystem has been set read-only loop4: p1 p2 p3 p4 < > FAT-fs (loop4): bogus number of reserved sectors FAT-fs (loop4): Can't find a valid FAT filesystem FAT-fs (loop2): error, invalid access to FAT (entry 0x000006c0) FAT-fs (loop2): Filesystem has been set read-only IPVS: length: 193 != 8 IPVS: length: 193 != 1048 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 IPVS: length: 193 != 8 blk_update_request: 639 callbacks suppressed blk_update_request: I/O error, dev loop0, sector 0 buffer_io_error: 639 callbacks suppressed Buffer I/O error on dev loop0, logical block 0, lost async page write blk_update_request: I/O error, dev loop0, sector 8 Buffer I/O error on dev loop0, logical block 1, lost async page write blk_update_request: I/O error, dev loop0, sector 16 Buffer I/O error on dev loop0, logical block 2, lost async page write blk_update_request: I/O error, dev loop0, sector 24 Buffer I/O error on dev loop0, logical block 3, lost async page write blk_update_request: I/O error, dev loop0, sector 32 Buffer I/O error on dev loop0, logical block 4, lost async page write blk_update_request: I/O error, dev loop0, sector 40 Buffer I/O error on dev loop0, logical block 5, lost async page write blk_update_request: I/O error, dev loop0, sector 48 Buffer I/O error on dev loop0, logical block 6, lost async page write blk_update_request: I/O error, dev loop0, sector 56 Buffer I/O error on dev loop0, logical block 7, lost async page write blk_update_request: I/O error, dev loop0, sector 64 Buffer I/O error on dev loop0, logical block 8, lost async page write blk_update_request: I/O error, dev loop0, sector 72 Buffer I/O error on dev loop0, logical block 9, lost async page write binder: 14548:14549 transaction failed 29189/-22, size 24-8 line 3018 binder: 14548:14559 transaction failed 29189/-22, size 24-8 line 3018 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 14577:14581 transaction failed 29189/-22, size 24-8 line 3018 binder: undelivered TRANSACTION_ERROR: 29189 binder: 14605:14606 transaction failed 29189/-22, size 24-8 line 3018 binder: undelivered TRANSACTION_ERROR: 29189 f2fs_msg: 6 callbacks suppressed F2FS-fs (loop4): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop4): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock binder: 14642:14653 transaction failed 29189/-22, size 24-8 line 3018 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=14648 comm=syz-executor1 binder: undelivered TRANSACTION_ERROR: 29189