* [PATCH] xfrm: Fix return value check of copy_sec_ctx.
@ 2018-02-14 22:25 Dmitry Shmidt
2018-02-15 5:42 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Shmidt @ 2018-02-14 22:25 UTC (permalink / raw)
To: stable
Please add this patch to stable 3.18, 4.4 and 4.9
It exists in 4.14.
----------------------------------------------------------------------------
commit 8598112d04af21cf6c895670e72dcb8a9f58e74f
Author: Steffen Klassert <steffen.klassert@secunet.com>
Date: Thu Aug 31 10:37:00 2017 +0200
xfrm: Fix return value check of copy_sec_ctx.
A recent commit added an output_mark. When copying
this output_mark, the return value of copy_sec_ctx
is overwitten without a check. Fix this by copying
the output_mark before the security context.
Fixes: 077fbac405bf ("net: xfrm: support setting an output mark.")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xfrm: Fix return value check of copy_sec_ctx.
2018-02-14 22:25 [PATCH] xfrm: Fix return value check of copy_sec_ctx Dmitry Shmidt
@ 2018-02-15 5:42 ` Greg KH
2018-02-15 18:38 ` Dmitry Shmidt
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2018-02-15 5:42 UTC (permalink / raw)
To: Dmitry Shmidt; +Cc: stable
On Wed, Feb 14, 2018 at 02:25:22PM -0800, Dmitry Shmidt wrote:
> Please add this patch to stable 3.18, 4.4 and 4.9
> It exists in 4.14.
> ----------------------------------------------------------------------------
> commit 8598112d04af21cf6c895670e72dcb8a9f58e74f
> Author: Steffen Klassert <steffen.klassert@secunet.com>
> Date: Thu Aug 31 10:37:00 2017 +0200
>
> xfrm: Fix return value check of copy_sec_ctx.
>
> A recent commit added an output_mark. When copying
> this output_mark, the return value of copy_sec_ctx
> is overwitten without a check. Fix this by copying
> the output_mark before the security context.
>
> Fixes: 077fbac405bf ("net: xfrm: support setting an output mark.")
> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
It does not apply to those trees at all, perhaps because 077fbac405bf is
not in those kernel releases? Are you sure you need this commit
backported?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xfrm: Fix return value check of copy_sec_ctx.
2018-02-15 5:42 ` Greg KH
@ 2018-02-15 18:38 ` Dmitry Shmidt
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Shmidt @ 2018-02-15 18:38 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On Wed, Feb 14, 2018 at 9:42 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Wed, Feb 14, 2018 at 02:25:22PM -0800, Dmitry Shmidt wrote:
>> Please add this patch to stable 3.18, 4.4 and 4.9
>> It exists in 4.14.
>> ----------------------------------------------------------------------------
>> commit 8598112d04af21cf6c895670e72dcb8a9f58e74f
>> Author: Steffen Klassert <steffen.klassert@secunet.com>
>> Date: Thu Aug 31 10:37:00 2017 +0200
>>
>> xfrm: Fix return value check of copy_sec_ctx.
>>
>> A recent commit added an output_mark. When copying
>> this output_mark, the return value of copy_sec_ctx
>> is overwitten without a check. Fix this by copying
>> the output_mark before the security context.
>>
>> Fixes: 077fbac405bf ("net: xfrm: support setting an output mark.")
>> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
>
> It does not apply to those trees at all, perhaps because 077fbac405bf is
> not in those kernel releases? Are you sure you need this commit
> backported?
You are right, my bad.
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-15 18:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 22:25 [PATCH] xfrm: Fix return value check of copy_sec_ctx Dmitry Shmidt
2018-02-15 5:42 ` Greg KH
2018-02-15 18:38 ` Dmitry Shmidt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.