[rds-devel] [PATCH] RDS: null pointer dereference in rds_atomic_free_op

David Miller davem at davemloft.net
Thu Jan 4 11:20:10 PST 2018


From: simo.ghannam at gmail.com
Date: Wed,  3 Jan 2018 21:06:06 +0000

> From: Mohamed Ghannam <simo.ghannam at gmail.com>
> 
> 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 <simo.ghannam at gmail.com>

Applied and queued up for -stable, thanks.



More information about the rds-devel mailing list