[SRU][Xenial][Zesty][PATCH 0/2] Fixes for LP:1729637

Joseph Salisbury joseph.salisbury at canonical.com
Wed Nov 8 20:44:33 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1729637

== SRU Justification ==
This bug causes Samba mount and umounts in docker container to trigger 
a kernel Oops.  When running 2 docker containers, one as samba server and 
another one as samba client that mounts and umounts a smb share a kernel 
OOps can be triggered.  

This bug happens in Xenial and Zesty, and is fixed by the following two commits:
76da0704507b ("ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER")
12d94a804946 ("ipv6: fix NULL dereference in ip6_route_dev_notify()")

Both commits are clean cherry picks.  76da0704507b is in mainline as of v4.12.
Commit 12d94a804946 is in mainline as of v4.13-rc6. 
    
== Fixes ==
commit 76da0704507bbc51875013f6557877ab308cfd0a
Author: WANG Cong <xiyou.wangcong at gmail.com>
Date:   Tue Jun 20 11:42:27 2017 -0700

    ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER

commit 12d94a804946af291e24b80fc53ec86264765781
Author: Eric Dumazet <edumazet at google.com>
Date:   Tue Aug 15 04:09:51 2017 -0700

    ipv6: fix NULL dereference in ip6_route_dev_notify()

== Regression Potential ==
Both commits are specific to ipv6 and fix a regression introduced into Xenial and Zesty.

== Test Case ==
A test kernel was built with these patches and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
 


Eric Dumazet (1):
  ipv6: fix NULL dereference in ip6_route_dev_notify()

WANG Cong (1):
  ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER

 include/net/addrconf.h | 10 ++++++++++
 net/ipv6/route.c       | 12 ++++++++----
 2 files changed, 18 insertions(+), 4 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list