On Mon, Oct 30, 2023 at 04:47:01PM +0000, Saleem, Shiraz wrote:
Hi,
There was a security bug fix recently made to the Intel RDMA driver (irdma) that has made to mainline.
https://github.com/torvalds/linux/commit/bb6d73d9add68ad270888db327514384dfa... subject: RDMA/irdma: Prevent zero-length STAG registration commit-id: bb6d73d9add68ad270888db327514384dfa44958
This problem in theory is possible in i40iw as well. i40iw is replaced with irdma upstream since 5.14.
However, i40iw is still part of LTS 4.14.x, 4.19.x, 5.4.x, and 5.10. Since it is a security fix, I am thinking its reasonable we backport it to i40iw too for these kernels. The patch would need some adjustments and I can do this if required.
If you feel it is needed, yes, please do the needed backport and submit it here.
thanks,
greg k-h