1. 10 9月, 2020 1 次提交
  2. 08 9月, 2020 2 次提交
  3. 05 9月, 2020 2 次提交
  4. 03 9月, 2020 2 次提交
  5. 01 9月, 2020 1 次提交
    • M
      HID: core: Sanitize event code and type when mapping input · 35556bed
      Marc Zyngier 提交于
      When calling into hid_map_usage(), the passed event code is
      blindly stored as is, even if it doesn't fit in the associated bitmap.
      
      This event code can come from a variety of sources, including devices
      masquerading as input devices, only a bit more "programmable".
      
      Instead of taking the event code at face value, check that it actually
      fits the corresponding bitmap, and if it doesn't:
      - spit out a warning so that we know which device is acting up
      - NULLify the bitmap pointer so that we catch unexpected uses
      
      Code paths that can make use of untrusted inputs can now check
      that the mapping was indeed correct and bail out if not.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NMarc Zyngier <maz@kernel.org>
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@gmail.com>
      35556bed
  6. 29 8月, 2020 2 次提交
  7. 27 8月, 2020 2 次提交
  8. 26 8月, 2020 5 次提交
  9. 25 8月, 2020 1 次提交
  10. 24 8月, 2020 3 次提交
  11. 21 8月, 2020 1 次提交
  12. 20 8月, 2020 1 次提交
    • F
      netfilter: conntrack: allow sctp hearbeat after connection re-use · cc5453a5
      Florian Westphal 提交于
      If an sctp connection gets re-used, heartbeats are flagged as invalid
      because their vtag doesn't match.
      
      Handle this in a similar way as TCP conntrack when it suspects that the
      endpoints and conntrack are out-of-sync.
      
      When a HEARTBEAT request fails its vtag validation, flag this in the
      conntrack state and accept the packet.
      
      When a HEARTBEAT_ACK is received with an invalid vtag in the reverse
      direction after we allowed such a HEARTBEAT through, assume we are
      out-of-sync and re-set the vtag info.
      
      v2: remove left-over snippet from an older incarnation that moved
          new_state/old_state assignments, thats not needed so keep that
          as-is.
      Signed-off-by: NFlorian Westphal <fw@strlen.de>
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      cc5453a5
  13. 18 8月, 2020 3 次提交
  14. 17 8月, 2020 1 次提交
  15. 15 8月, 2020 12 次提交
  16. 14 8月, 2020 1 次提交