sctp: [Deprecated]: syz-executor4 (pid 14689) Use of int in max_burst socket option.
Use struct sctp_assoc_value instead
================================
WARNING: inconsistent lock state
4.18.0+ #197 Not tainted
--------------------------------
inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage.
syz-executor1/14687 [HC0[0]:SC0[0]:HE1:SE1] takes:
000000008ca52cd1 (&(&tlocks[i])->rlock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline]
000000008ca52cd1 (&(&tlocks[i])->rlock){+.?.}, at: ila_add_mapping net/ipv6/ila/ila_xlat.c:233 [inline]
000000008ca52cd1 (&(&tlocks[i])->rlock){+.?.}, at: ila_xlat_nl_cmd_add_mapping+0x6bb/0x17e0 net/ipv6/ila/ila_xlat.c:355
{IN-SOFTIRQ-W} state was registered at:
  lock_acquire+0x1e4/0x540 kernel/locking/lockdep.c:3924
  __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
  _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:168
  spin_lock_bh include/linux/spinlock.h:334 [inline]
  __rhashtable_insert_fast include/linux/rhashtable.h:596 [inline]
  rhashtable_lookup_insert_fast include/linux/rhashtable.h:784 [inline]
  fdb_create+0x5cc/0x1710 net/bridge/br_fdb.c:508
  br_fdb_update+0x4e7/0xd40 net/bridge/br_fdb.c:605
  br_handle_frame_finish+0xa23/0x1960 net/bridge/br_input.c:97
  br_nf_hook_thresh+0x48d/0x5f0 net/bridge/br_netfilter_hooks.c:1011
  br_nf_pre_routing_finish_ipv6+0x7bc/0xef0 net/bridge/br_netfilter_ipv6.c:209
  NF_HOOK include/linux/netfilter.h:287 [inline]
  br_nf_pre_routing_ipv6+0x4af/0xac0 net/bridge/br_netfilter_ipv6.c:237
  br_nf_pre_routing+0xb33/0x17d0 net/bridge/br_netfilter_hooks.c:494
  nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
  nf_hook_slow+0xc2/0x1c0 net/netfilter/core.c:511
  nf_hook include/linux/netfilter.h:242 [inline]
  NF_HOOK include/linux/netfilter.h:285 [inline]
  br_handle_frame+0xc0d/0x1a20 net/bridge/br_input.c:303
  __netif_receive_skb_core+0x1455/0x3af0 net/core/dev.c:4821
  __netif_receive_skb_one_core+0xd0/0x200 net/core/dev.c:4890
  __netif_receive_skb+0x2c/0x1e0 net/core/dev.c:5002
  process_backlog+0x219/0x760 net/core/dev.c:5808
  napi_poll net/core/dev.c:6228 [inline]
  net_rx_action+0x7a5/0x1920 net/core/dev.c:6294
  __do_softirq+0x2eb/0xb1e kernel/softirq.c:292
  invoke_softirq kernel/softirq.c:372 [inline]
  irq_exit+0x1d6/0x210 kernel/softirq.c:412
  exiting_irq arch/x86/include/asm/apic.h:536 [inline]
  smp_apic_timer_interrupt+0x18e/0x730 arch/x86/kernel/apic/apic.c:1056
  apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:864
  __tlb_remove_page_size+0x11c/0x500 mm/memory.c:314
  __tlb_remove_page include/asm-generic/tlb.h:150 [inline]
  zap_pte_range mm/memory.c:1348 [inline]
  zap_pmd_range mm/memory.c:1447 [inline]
  zap_pud_range mm/memory.c:1476 [inline]
  zap_p4d_range mm/memory.c:1497 [inline]
  unmap_page_range+0x106d/0x2180 mm/memory.c:1518
  unmap_single_vma+0x1a0/0x310 mm/memory.c:1563
  unmap_vmas+0x120/0x1f0 mm/memory.c:1593
  exit_mmap+0x2c2/0x5b0 mm/mmap.c:3095
  __mmput kernel/fork.c:1001 [inline]
  mmput+0x265/0x620 kernel/fork.c:1022
  exec_mmap fs/exec.c:1043 [inline]
  flush_old_exec+0xbaf/0x2100 fs/exec.c:1275
  load_elf_binary+0xa33/0x5610 fs/binfmt_elf.c:869
  search_binary_handler+0x17d/0x570 fs/exec.c:1652
  exec_binprm fs/exec.c:1694 [inline]
  __do_execve_file.isra.35+0x1675/0x25e0 fs/exec.c:1818
  do_execveat_common fs/exec.c:1865 [inline]
  do_execve fs/exec.c:1882 [inline]
  __do_sys_execve fs/exec.c:1963 [inline]
  __se_sys_execve fs/exec.c:1958 [inline]
  __x64_sys_execve+0x8f/0xc0 fs/exec.c:1958
  do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
  entry_SYSCALL_64_after_hwframe+0x49/0xbe
irq event stamp: 139
hardirqs last  enabled at (139): [<ffffffff86b76094>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (139): [<ffffffff86b76094>] _raw_spin_unlock_irqrestore+0x74/0xc0 kernel/locking/spinlock.c:184
hardirqs last disabled at (138): [<ffffffff86b76154>] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline]
hardirqs last disabled at (138): [<ffffffff86b76154>] _raw_spin_lock_irqsave+0x74/0xc0 kernel/locking/spinlock.c:152
softirqs last  enabled at (112): [<ffffffff86e00787>] __do_softirq+0x787/0xb1e kernel/softirq.c:318
softirqs last disabled at (105): [<ffffffff81497446>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (105): [<ffffffff81497446>] irq_exit+0x1d6/0x210 kernel/softirq.c:412

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&(&tlocks[i])->rlock);
  <Interrupt>
    lock(&(&tlocks[i])->rlock);

 *** DEADLOCK ***

1 lock held by syz-executor1/14687:
 #0: 00000000d48a8d5b (cb_lock){++++}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:636

stack backtrace:
CPU: 1 PID: 14687 Comm: syz-executor1 Not tainted 4.18.0+ #197
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 print_usage_bug.cold.63+0x320/0x41a kernel/locking/lockdep.c:2546
 valid_state kernel/locking/lockdep.c:2559 [inline]
 mark_lock_irq kernel/locking/lockdep.c:2753 [inline]
 mark_lock+0x1048/0x19f0 kernel/locking/lockdep.c:3151
 mark_irqflags kernel/locking/lockdep.c:3047 [inline]
 __lock_acquire+0x7ca/0x5020 kernel/locking/lockdep.c:3392
 lock_acquire+0x1e4/0x540 kernel/locking/lockdep.c:3924
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144
 spin_lock include/linux/spinlock.h:329 [inline]
 ila_add_mapping net/ipv6/ila/ila_xlat.c:233 [inline]
 ila_xlat_nl_cmd_add_mapping+0x6bb/0x17e0 net/ipv6/ila/ila_xlat.c:355
 genl_family_rcv_msg+0x8a3/0x1140 net/netlink/genetlink.c:601
 genl_rcv_msg+0xc6/0x168 net/netlink/genetlink.c:626
 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2454
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:637
 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
 netlink_unicast+0x5a0/0x760 net/netlink/af_netlink.c:1343
 netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:631
 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2114
 __sys_sendmsg+0x11d/0x290 net/socket.c:2152
 __do_sys_sendmsg net/socket.c:2161 [inline]
 __se_sys_sendmsg net/socket.c:2159 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2159
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457089
Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fda10abec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fda10abf6d4 RCX: 0000000000457089
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d4088 R14: 00000000004c8ab0 R15: 0000000000000000
sg_write: data in/out 65499/33 bytes for SCSI command 0x0-- guessing data in;
   program syz-executor2 not setting count and/or reply_len properly
dccp_close: ABORT with 1095 bytes unread
sg_write: data in/out 65499/33 bytes for SCSI command 0x0-- guessing data in;
   program syz-executor2 not setting count and/or reply_len properly
sctp: [Deprecated]: syz-executor4 (pid 14706) Use of int in max_burst socket option.
Use struct sctp_assoc_value instead
sg_write: data in/out 65499/33 bytes for SCSI command 0x0-- guessing data in;
   program syz-executor2 not setting count and/or reply_len properly
sctp: [Deprecated]: syz-executor4 (pid 14721) Use of int in max_burst socket option.
Use struct sctp_assoc_value instead
dccp_close: ABORT with 1095 bytes unread
sctp: [Deprecated]: syz-executor4 (pid 14742) Use of int in max_burst socket option.
Use struct sctp_assoc_value instead
sg_write: data in/out 65499/33 bytes for SCSI command 0x0-- guessing data in;
   program syz-executor2 not setting count and/or reply_len properly
sg_write: data in/out 65499/33 bytes for SCSI command 0x0-- guessing data in;
   program syz-executor2 not setting count and/or reply_len properly
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
mmap: syz-executor3 (14853) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst.
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
dccp_close: ABORT with 1095 bytes unread
Dev loop5: unable to read RDB block 3
 loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop_reread_partitions: partition scan of loop5 () failed (rc=-5)
Dev loop5: unable to read RDB block 3
 loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop_reread_partitions: partition scan of loop5 () failed (rc=-5)
Dev loop5: unable to read RDB block 3
 loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop_reread_partitions: partition scan of loop5 () failed (rc=-5)
Dev loop5: unable to read RDB block 3
 loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop_reread_partitions: partition scan of loop5 () failed (rc=-5)
print_req_error: 16179 callbacks suppressed
print_req_error: I/O error, dev loop0, sector 1024
buffer_io_error: 16179 callbacks suppressed
Buffer I/O error on dev loop0, logical block 128, lost async page write
Dev loop5: unable to read RDB block 3
 loop5: unable to read partition table
loop5: partition table beyond EOD, truncated
loop_reread_partitions: partition scan of loop5 () failed (rc=-5)
print_req_error: I/O error, dev loop0, sector 384
Buffer I/O error on dev loop0, logical block 48, lost async page write
print_req_error: I/O error, dev loop0, sector 0
netlink: 12 bytes leftover after parsing attributes in process `syz-executor1'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor1'.
net_ratelimit: 3 callbacks suppressed
sit: non-ECT from 172.20.255.187 with TOS=0x3
sit: non-ECT from 172.20.255.187 with TOS=0x3