FAT-fs (loop5): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop5): error, invalid access to FAT (entry 0x00000524) ====================================================== [ INFO: possible circular locking dependency detected ] 4.9.109-g7cecc75 #2 Not tainted ------------------------------------------------------- syz-executor5/9038 is trying to acquire lock: (sk_lock-AF_INET){+.+.+.}, at: [] lock_sock include/net/sock.h:1404 [inline] (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x12a/0x2b10 net/ipv4/ip_sockglue.c:636 but task is already holding lock: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: 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 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 lock_sock_nested+0xc6/0x120 net/core/sock.c:2511 lock_sock include/net/sock.h:1404 [inline] do_ip_setsockopt.isra.13+0x12a/0x2b10 net/ipv4/ip_sockglue.c:636 ip_setsockopt+0x3a/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt+0x88/0xe0 net/ipv4/tcp.c:2758 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(rtnl_mutex); lock(sk_lock-AF_INET); lock(rtnl_mutex); lock(sk_lock-AF_INET); *** DEADLOCK *** 1 lock held by syz-executor5/9038: #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 stack backtrace: CPU: 0 PID: 9038 Comm: syz-executor5 Not tainted 4.9.109-g7cecc75 #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cd20f748 ffffffff81eb3e29 ffffffff855e7800 ffffffff8559cef0 ffffffff855e7800 ffff8801cfb8a0e8 ffff8801cfb89800 ffff8801cd20f790 ffffffff814262d4 0000000000000001 00000000cfb89800 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 [] lock_sock_nested+0xc6/0x120 net/core/sock.c:2511 [] lock_sock include/net/sock.h:1404 [inline] [] do_ip_setsockopt.isra.13+0x12a/0x2b10 net/ipv4/ip_sockglue.c:636 [] ip_setsockopt+0x3a/0xb0 net/ipv4/ip_sockglue.c:1240 [] tcp_setsockopt+0x88/0xe0 net/ipv4/tcp.c:2758 [] 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 netlink: 4 bytes leftover after parsing attributes in process `syz-executor0'. tc_ctl_action: received NO action attribs netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor0'. tc_ctl_action: received NO action attribs netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. FAT-fs (loop1): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop1): Filesystem has been set read-only FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): Filesystem has been set read-only FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop1): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop1): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop1): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): Filesystem has been set read-only FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) FAT-fs (loop0): error, invalid access to FAT (entry 0x00000524) Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created Process accounting resumed PM: Basic memory bitmaps freed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created PM: Basic memory bitmaps freed Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] Process accounting resumed PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] Process accounting resumed Process accounting resumed PM: Basic memory bitmaps created PM: Basic memory bitmaps freed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] Process accounting resumed PM: Basic memory bitmaps created Process accounting resumed PM: Basic memory bitmaps freed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created Process accounting resumed PM: Basic memory bitmaps freed Process accounting resumed Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created Process accounting resumed syz-executor6 uses obsolete (PF_INET,SOCK_PACKET) PM: Basic memory bitmaps freed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created PM: Basic memory bitmaps freed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created Process accounting resumed PM: Basic memory bitmaps freed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] Process accounting resumed Process accounting resumed PM: Basic memory bitmaps created PM: Basic memory bitmaps freed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created Process accounting resumed PM: Basic memory bitmaps freed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] Process accounting resumed PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created PM: Basic memory bitmaps freed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=26159 sclass=netlink_route_socket pig=10275 comm=syz-executor2 Process accounting resumed Process accounting resumed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=26159 sclass=netlink_route_socket pig=10275 comm=syz-executor2 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed binder: 11124:11220 ERROR: BC_REGISTER_LOOPER called without request binder: BINDER_SET_CONTEXT_MGR already set binder: 11124:11222 ERROR: BC_REGISTER_LOOPER called without request binder: 11124:11220 ioctl 40046207 0 returned -16 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed IPVS: Creating netns size=2536 id=12 Process accounting resumed Process accounting resumed IPVS: Creating netns size=2536 id=13 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed IPVS: set_ctl: invalid protocol: 63 172.20.20.187:20007 lc Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] Process accounting resumed PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] Process accounting resumed Process accounting resumed PM: Marking nosave pages: [mem 0xbfff3000-0xffffffff] PM: Basic memory bitmaps created IPVS: sync thread started: state = BACKUP, mcast_ifn = veth0, syncid = 4, id = 0 PM: Basic memory bitmaps freed Process accounting resumed Process accounting resumed Process accounting resumed IPVS: sync thread started: state = BACKUP, mcast_ifn = veth0, syncid = 4, id = 0 Process accounting resumed Process accounting resumed Process accounting resumed