[ Sasha's backport helper bot ] Hi, ✅ All tests passed successfully. No issues detected. No action required from the submitter. The upstream commit SHA1 provided is correct: ea62dd1383913b5999f3d16ae99d411f41b528d4 WARNING: Author mismatch between patch and upstream commit: Backport author: Magali Lemes<magali.lemes@xxxxxxxxxxxxx> Commit author: Matthieu Baerts (NGI0)<matttbe@xxxxxxxxxx> Status in newer kernel trees: 6.13.y | Present (exact SHA1) 6.12.y | Present (different SHA1: f0bb39354706) 6.6.y | Present (different SHA1: ad673e514b27) 6.1.y | Present (different SHA1: 3cd0659deb9c) 5.15.y | Present (different SHA1: 86ddf8118123) 5.10.y | Present (different SHA1: 03ca51faba2b) Note: The patch differs from the upstream commit: --- 1: ea62dd1383913 ! 1: 0deb81ab0a4a2 sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy @@ Metadata ## Commit message ## sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy + commit ea62dd1383913b5999f3d16ae99d411f41b528d4 upstream. + As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: @@ Commit message Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx> Link: https://patch.msgid.link/20250108-net-sysctl-current-nsproxy-v1-4-5df34b2083e8@xxxxxxxxxx Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> + Signed-off-by: Magali Lemes <magali.lemes@xxxxxxxxxxxxx> ## net/sctp/sysctl.c ## -@@ net/sctp/sysctl.c: static struct ctl_table sctp_net_table[] = { - static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write, - void *buffer, size_t *lenp, loff_t *ppos) +@@ net/sctp/sysctl.c: static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, + void __user *buffer, size_t *lenp, + loff_t *ppos) { - struct net *net = current->nsproxy->net_ns; + struct net *net = container_of(ctl->data, struct net, --- Results of testing on various branches: | Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.4.y | Success | Success |