stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Request for stable 4.14.x inclusion: net: don't call update_pmtu unconditionally
@ 2018-04-22 21:50 Thomas Deutschmann
  2018-04-27 12:20 ` Thomas Deutschmann
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Deutschmann @ 2018-04-22 21:50 UTC (permalink / raw)
  To: stable; +Cc: davem, nicolas.dichtel

Hi,

please add

> From f15ca723c1ebe6c1a06bc95fda6b62cd87b44559 Mon Sep 17 00:00:00 2001
> From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> Date: Thu, 25 Jan 2018 19:03:03 +0100
> Subject: net: don't call update_pmtu unconditionally
> 
> Some dst_ops (e.g. md_dst_ops)) doesn't set this handler. It may result to:
> "BUG: unable to handle kernel NULL pointer dereference at           (null)"
> 
> Let's add a helper to check if update_pmtu is available before calling it.
> 
> Fixes: 52a589d51f10 ("geneve: update skb dst pmtu on tx path")
> Fixes: a93bf0ff4490 ("vxlan: update skb dst pmtu on tx path")
> CC: Roman Kapl <code@rkapl.cz>
> CC: Xin Long <lucien.xin@gmail.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>

to 4.14.x.

This fixes NULL derefs caused by a93bf0ff4490 ("vxlan: update
skb dst pmtu on tx path"), which was backported to 4.14.24.


-- 
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-05-01 15:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 21:50 Request for stable 4.14.x inclusion: net: don't call update_pmtu unconditionally Thomas Deutschmann
2018-04-27 12:20 ` Thomas Deutschmann
2018-04-27 13:51   ` Greg KH
2018-04-27 14:39     ` David Miller
2018-04-27 14:45     ` Greg KH
2018-04-27 16:04       ` Eddie Chapman
2018-04-27 18:07         ` Thomas Deutschmann
2018-04-27 18:43           ` Eddie Chapman
2018-04-28  4:41             ` Greg KH
2018-04-30 18:22             ` Greg KH
2018-04-30 22:15               ` Thomas Deutschmann
2018-05-01 15:04                 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).