[ 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: 15649fd5415eda664ef35780c2013adeb5d9c695 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: c184bc621e3c) 6.6.y | Present (different SHA1: 7ec30c54f339) 6.1.y | Present (different SHA1: 1b67030d39f2) 5.15.y | Present (different SHA1: bd2a29394235) 5.10.y | Present (different SHA1: dc583e7e5f85) Note: The patch differs from the upstream commit: --- 1: 15649fd5415ed ! 1: 43321e75147b6 sctp: sysctl: auth_enable: avoid using current->nsproxy @@ Metadata ## Commit message ## sctp: sysctl: auth_enable: avoid using current->nsproxy + commit 15649fd5415eda664ef35780c2013adeb5d9c695 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-6-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 int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write, - static int proc_sctp_do_auth(const struct ctl_table *ctl, int write, - void *buffer, size_t *lenp, loff_t *ppos) +@@ net/sctp/sysctl.c: static int proc_sctp_do_auth(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, sctp.auth_enable); --- Results of testing on various branches: | Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.4.y | Success | Success |