1. 30 3月, 2020 12 次提交
  2. 27 1月, 2020 11 次提交
  3. 22 1月, 2020 1 次提交
    • J
      ceph: hold extra reference to r_parent over life of request · 9c1c2b35
      Jeff Layton 提交于
      Currently, we just assume that it will stick around by virtue of the
      submitter's reference, but later patches will allow the syscall to
      return early and we can't rely on that reference at that point.
      
      While I'm not aware of any reports of it, Xiubo pointed out that this
      may fix a use-after-free.  If the wait for a reply times out or is
      canceled via signal, and then the reply comes in after the syscall
      returns, the client can end up trying to access r_parent without a
      reference.
      
      Take an extra reference to the inode when setting r_parent and release
      it when releasing the request.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NJeff Layton <jlayton@kernel.org>
      Reviewed-by: N"Yan, Zheng" <zyan@redhat.com>
      Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
      9c1c2b35
  4. 10 12月, 2019 3 次提交
  5. 09 12月, 2019 1 次提交
  6. 25 11月, 2019 2 次提交
  7. 15 10月, 2019 1 次提交
  8. 16 9月, 2019 5 次提交
  9. 08 7月, 2019 4 次提交