netlink: 88 bytes leftover after parsing attributes in process `syz-executor.2'.
======================================================
WARNING: possible circular locking dependency detected
4.14.292-syzkaller #0 Not tainted
------------------------------------------------------
kworker/u4:8/13848 is trying to acquire lock:
 ((&(&cp->cp_send_w)->work)){+.+.}, at: [<ffffffff81367998>] flush_work+0x88/0x770 kernel/workqueue.c:2887

but task is already holding lock:
 (k-sk_lock-AF_INET){+.+.}, at: [<ffffffff869c6cc1>] lock_sock include/net/sock.h:1473 [inline]
 (k-sk_lock-AF_INET){+.+.}, at: [<ffffffff869c6cc1>] rds_tcp_reset_callbacks+0x181/0x450 net/rds/tcp.c:165

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #1 (k-sk_lock-AF_INET){+.+.}:
       lock_sock_nested+0xb7/0x100 net/core/sock.c:2813
       lock_sock include/net/sock.h:1473 [inline]
       do_tcp_setsockopt.constprop.0+0xfb/0x1c10 net/ipv4/tcp.c:2564
       tcp_setsockopt net/ipv4/tcp.c:2832 [inline]
       tcp_setsockopt+0xa7/0xc0 net/ipv4/tcp.c:2824
       kernel_setsockopt+0xfb/0x1b0 net/socket.c:3396
       rds_tcp_cork net/rds/tcp_send.c:43 [inline]
       rds_tcp_xmit_path_prepare+0xaf/0xe0 net/rds/tcp_send.c:50
       rds_send_xmit+0x1ae/0x1c00 net/rds/send.c:187
       rds_send_worker+0x6d/0x240 net/rds/threads.c:189
       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 ((&(&cp->cp_send_w)->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
       rds_tcp_reset_callbacks+0x18d/0x450 net/rds/tcp.c:167
       rds_tcp_accept_one+0x61a/0x8b0 net/rds/tcp_listen.c:194
       rds_tcp_accept_worker+0x4d/0x70 net/rds/tcp.c:407
       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

other info that might help us debug this:

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(k-sk_lock-AF_INET);
                               lock((&(&cp->cp_send_w)->work));
                               lock(k-sk_lock-AF_INET);
  lock((&(&cp->cp_send_w)->work));

 *** DEADLOCK ***

4 locks held by kworker/u4:8/13848:
 #0:  ("%s""krdsd"){+.+.}, at: [<ffffffff81364eb0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2088
 #1:  ((&rtn->rds_tcp_accept_w)){+.+.}, at: [<ffffffff81364ee6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092
 #2:  (&tc->t_conn_path_lock){+.+.}, at: [<ffffffff869c8ab2>] rds_tcp_accept_one+0x502/0x8b0 net/rds/tcp_listen.c:186
 #3:  (k-sk_lock-AF_INET){+.+.}, at: [<ffffffff869c6cc1>] lock_sock include/net/sock.h:1473 [inline]
 #3:  (k-sk_lock-AF_INET){+.+.}, at: [<ffffffff869c6cc1>] rds_tcp_reset_callbacks+0x181/0x450 net/rds/tcp.c:165

stack backtrace:
CPU: 0 PID: 13848 Comm: kworker/u4:8 Not tainted 4.14.292-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: krdsd rds_tcp_accept_worker
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
 rds_tcp_reset_callbacks+0x18d/0x450 net/rds/tcp.c:167
 rds_tcp_accept_one+0x61a/0x8b0 net/rds/tcp_listen.c:194
 rds_tcp_accept_worker+0x4d/0x70 net/rds/tcp.c:407
 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
o2cb: This node has not been configured.
o2cb: Cluster check failed. Fix errors before retrying.
(syz-executor.1,14918,0):user_dlm_register:695 ERROR: status = -22
(syz-executor.1,14918,0):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
IPVS: ftp: loaded support on port[0] = 21
o2cb: This node has not been configured.
o2cb: Cluster check failed. Fix errors before retrying.
o2cb: This node has not been configured.
(syz-executor.1,14941,0):user_dlm_register:695 ERROR: status = -22
o2cb: Cluster check failed. Fix errors before retrying.
(syz-executor.1,14941,1):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
(syz-executor.3,14946,0):user_dlm_register:695 ERROR: status = -22
(syz-executor.3,14946,0):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
o2cb: This node has not been configured.
o2cb: Cluster check failed. Fix errors before retrying.
o2cb: This node has not been configured.
o2cb: Cluster check failed. Fix errors before retrying.
(syz-executor.1,14995,0):user_dlm_register:695 ERROR: status = -22
(syz-executor.3,14998,0):user_dlm_register:695 ERROR: status = -22
(syz-executor.1,14995,0):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
(syz-executor.3,14998,1):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
IPVS: ftp: loaded support on port[0] = 21
Bluetooth: hci5 command 0x0405 tx timeout
o2cb: This node has not been configured.
o2cb: This node has not been configured.
o2cb: Cluster check failed. Fix errors before retrying.
o2cb: Cluster check failed. Fix errors before retrying.
(syz-executor.3,15059,1):user_dlm_register:695 ERROR: status = -22
(syz-executor.1,15060,1):user_dlm_register:695 ERROR: status = -22
(syz-executor.3,15059,1):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
(syz-executor.1,15060,1):dlmfs_mkdir:497 ERROR: Error -22 could not register domain "file2"
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff888053bd6000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff888053bd6000(4096)
kauditd_printk_skb: 3 callbacks suppressed
audit: type=1800 audit(1662553256.356:75): pid=15130 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file0" dev="loop3" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff88808f277000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff88808f277000(4096)
cramfs: Error -3 while decompressing!
audit: type=1800 audit(1662553256.967:76): pid=15160 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file0" dev="loop3" ino=244 res=0
cramfs: ffffffff8bf40038(27)->ffff8880531dc000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff8880531dc000(4096)
audit: type=1800 audit(1662553257.037:77): pid=15165 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.4" name="file0" dev="loop4" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88805e945000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88805e945000(4096)
audit: type=1800 audit(1662553257.127:78): pid=15188 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.0" name="file0" dev="loop0" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888053dbd000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88805ff80000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff88805968f000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888053dbd000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88805ff80000(4096)
audit: type=1800 audit(1662553257.417:79): pid=15222 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file0" dev="loop3" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88805968f000(4096)
audit: type=1800 audit(1662553257.447:80): pid=15228 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.5" name="file0" dev="loop5" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888053a6f000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888053a6f000(4096)
audit: type=1800 audit(1662553257.497:81): pid=15241 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.0" name="file0" dev="loop0" ino=244 res=0
audit: type=1800 audit(1662553257.527:82): pid=15258 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.4" name="file0" dev="loop4" ino=244 res=0
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88806879c000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff88805fe87000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff88806879c000(4096)
cramfs: Error -3 while decompressing!
audit: type=1800 audit(1662553257.867:83): pid=15283 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.0" name="file0" dev="loop0" ino=244 res=0
cramfs: ffffffff8bf44038(27)->ffff88805fe87000(4096)
audit: type=1800 audit(1662553257.897:84): pid=15280 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file0" dev="loop3" ino=244 res=0
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888064b34000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf44038(27)->ffff888064b34000(4096)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff888053b37000(4096)
cramfs: Error -3 while decompressing!
cramfs: ffffffff8bf40038(27)->ffff888053b37000(4096)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
kvm: emulating exchange as write
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
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
9pnet: Insufficient options for proto=fd
9pnet: Insufficient options for proto=fd
9pnet: Insufficient options for proto=fd
9pnet: Insufficient options for proto=fd
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
9pnet: Insufficient options for proto=fd
9pnet: Insufficient options for proto=fd
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
9pnet: Insufficient options for proto=fd
9pnet: Insufficient options for proto=fd
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
usb usb9: usbfs: interface 0 claimed by hub while 'syz-executor.5' sets config #0
usb usb9: usbfs: interface 0 claimed by usbfs while 'syz-executor.5' sets config #1
hub 9-0:1.0: USB hub found
hub 9-0:1.0: 8 ports detected
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
overlayfs: fs on './file0' does not support file handles, falling back to index=off.