Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Steffen Klassert
Fri, 27 Nov 2026 09:24
Re: [PATCH ipsec] xfrm/compat: pass on the translated length of a socket policy
Author: Steffen Klassert
Date: Fri, 27 Nov 2026 09:24
Date: Fri, 27 Nov 2026 09:24
14 lines
9920 bytes
9920 bytes
On Mon, Nov 23, 2026 at 07:29:46PM -0800, Andrii Tereshchenko wrote:
> xfrm_user_policy() compiles a 32-bit task's translated socket policy
> with the untranslated length, 4 bytes short, so the policy loses its
> last template: an ESP-required socket policy then sends in clear
> text. Have the translator return the translated length.
>
> Made with an AI coding assistant, reviewed by the submitter.
>
> Fixes: 96392ee5a13b ("xfrm/compat: Translate 32-bit user_policy from sockptr")
> Cc: stable@vger.kernel.org
> Signed-off-by: Andrii Tereshchenko <opensource@andrii.net>
Applied, thanks a lot!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads