1. 14 9月, 2021 1 次提交
  2. 09 8月, 2021 3 次提交
  3. 05 8月, 2021 1 次提交
  4. 30 6月, 2021 1 次提交
  5. 26 6月, 2021 1 次提交
  6. 22 6月, 2021 1 次提交
  7. 17 6月, 2021 4 次提交
  8. 04 6月, 2021 2 次提交
  9. 18 5月, 2021 1 次提交
  10. 13 5月, 2021 2 次提交
  11. 06 5月, 2021 1 次提交
    • C
      smc: disallow TCP_ULP in smc_setsockopt() · 86214366
      Cong Wang 提交于
      syzbot is able to setup kTLS on an SMC socket which coincidentally
      uses sk_user_data too. Later, kTLS treats it as psock so triggers a
      refcnt warning. The root cause is that smc_setsockopt() simply calls
      TCP setsockopt() which includes TCP_ULP. I do not think it makes
      sense to setup kTLS on top of SMC sockets, so we should just disallow
      this setup.
      
      It is hard to find a commit to blame, but we can apply this patch
      since the beginning of TCP_ULP.
      
      Reported-and-tested-by: syzbot+b54a1ce86ba4a623b7f0@syzkaller.appspotmail.com
      Fixes: 734942cc ("tcp: ULP infrastructure")
      Cc: John Fastabend <john.fastabend@gmail.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NCong Wang <cong.wang@bytedance.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86214366
  12. 28 4月, 2021 1 次提交
  13. 02 4月, 2021 1 次提交
  14. 13 1月, 2021 2 次提交
  15. 17 12月, 2020 1 次提交
  16. 02 12月, 2020 14 次提交
  17. 20 11月, 2020 2 次提交
  18. 08 11月, 2020 1 次提交