I would request three commits to be backported to stable/4.14 c75ab8a55ac1 ("net/rds: remove user triggered WARN_ON in rds_sendmsg") 7dba92037baf ("net/rds: Use ERR_PTR for rds_message_alloc_sgs()") bdc2ab5c61a5 ("net/rds: Fix a use after free in rds_message_map_pages")
The commits fix bug where input-parameters to 'rds_message_alloc_sgs()' are just tested with WARN_ON instead of error-return
Regards
Hans Westgaard Ry
On Mon, Mar 07, 2022 at 09:36:03AM +0100, Hans Westgaard Ry wrote:
I would request three commits to be backported to stable/4.14 c75ab8a55ac1 ("net/rds: remove user triggered WARN_ON in rds_sendmsg") 7dba92037baf ("net/rds: Use ERR_PTR for rds_message_alloc_sgs()") bdc2ab5c61a5 ("net/rds: Fix a use after free in rds_message_map_pages")
The commits fix bug where input-parameters to 'rds_message_alloc_sgs()' are just tested with WARN_ON instead of error-return
What about 4.19.y? Those should also get these, right?
And did you test that these will properly cherry-pick? I just did and they fail, so how did you test that these work properly? Please resubmit a working set of backported patches to have these be applied.
thanks,
greg k-h
linux-stable-mirror@lists.linaro.org