Xiubo Li 7acae6183c ceph: fix possible NULL pointer dereference for req->r_session
The request will be inserted into the ci->i_unsafe_dirops before
assigning the req->r_session, so it's possible that we will hit
NULL pointer dereference bug here.

Cc: stable@vger.kernel.org
URL: https://tracker.ceph.com/issues/55327
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-04-25 10:45:50 +02:00
..
2022-03-31 15:49:36 -07:00
2022-03-18 09:29:05 +00:00
2022-03-31 15:49:36 -07:00
2022-03-31 15:49:36 -07:00
2022-01-11 22:13:01 +00:00
2020-06-01 13:22:51 +02:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-24 18:32:48 -07:00
2022-03-31 15:49:36 -07:00
2022-03-01 18:26:37 +01:00