Thread (1 message) 1 message, 1 author, 2018-01-03

Re: [PATCH] RDS: null pointer dereference in rds_atomic_free_op

From: Santosh Shilimkar <hidden>
Date: 2018-01-03 21:19:27
Also in: linux-rdma

On 1/3/2018 1:06 PM, simo.ghannam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
From: Mohamed Ghannam <redacted>

set rm->atomic.op_active to 0 when rds_pin_pages() fails
or the user supplied address is invalid,
this prevents a NULL pointer usage in rds_atomic_free_op()

Signed-off-by: Mohamed Ghannam <redacted>
---
Good catch !!

Acked-by: Santosh Shilimkar <redacted>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help