[SRU][v2][F-gcp/J-gcp/L-gcp/M-gcp][J/gke][PATCH 0/1] net: Avoid address overwrite in kernel_connect

John Cabaj john.cabaj at canonical.com
Tue Sep 19 15:59:12 UTC 2023


On 9/11/23 10:21 PM, Khalid Elmously wrote:
> BugLink: https://bugs.launchpad.net/bugs/2035163
> 
> An upstream fix is requested to resolve a use-case where sockaddr gets re-written which causes NFS-breakage.
> 
> 
> Testing:
>  - GCP has confirmed that the fix works before proposing it upstream. I have verified basic network sanity with the fix applied. I will also ask them to confirm the fix with the kernel in -proposed.
> 
> 
> Regression potenial:
>  - The fix modifies kernel_connect() which can have an effect on all kinds of network connections. The change itself is very minor and only converts a pass-by-reference to a pass-by-value - so the risk is considered minimal.
> 
> 
> 
> v2:
>  - Added nomination for J/gke as well
> 
> 
> 
> Jordan Rife (1):
>   net: Avoid address overwrite in kernel_connect
> 
>  net/socket.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Applied to focal:linux-gcp, jammy:linux-gcp, lunar:linux-gcp, and jammy:linux-gke master-next branches.

I didn't apply to mantic:linux-gcp, as per discussion on applying to generic (https://lists.ubuntu.com/archives/kernel-team/2023-September/142776.html), this required an additional patch inclusion (1ded5e5a5931 - "net: annotate data-races around sock->ops"). No one is currently using mantic:linux-gcp, so if we get the patch on rebase from mantic generic, that should be fine.


Thanks,
John



More information about the kernel-team mailing list