[lkml]   [2011]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [00/19] review
    On 08/27/2011 01:01 AM, Greg KH wrote:
    > This is the start of the longterm review cycle for the release.
    > There are 19 patches in this series, all will be posted as a response
    > to this one. If anyone has any issues with these being applied, please
    > let us know. If anyone is a maintainer of the proper subsystem, and
    > wants to add a Signed-off-by: line to the patch, please respond with it.
    > Responses should be made by Monday, August 29, 2011, 12:00:00 UTC.
    > Anything received after that time might be too late.
    > The whole patch series can be found in one patch at:
    > and the diffstat can be found below.
    > thanks,
    > greg k-h

    upstream commit d5aa407f59f5b83d2c50ec88f5bf56d40f1f8978 ("tunnels: fix
    netns vs proto registration ordering") , which was included in, was not backported correctly, and results in a NULL
    pointer dereference in ip6_tunnel.c for longterm kernels and

    The bug has been reported at the Gentoo [1] and Debian [2] bugzillas,
    and fixed in the latest grsec-patches [3], but I haven't found a report
    for this at the lkml (or at the kernel's bugzilla).

    The fix is trivial, and I think it can be included in, if
    If you want, I can submit it with a new email to

    diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
    index 7fb3e02..53e0d51 100644
    --- a/net/ipv6/ip6_tunnel.c
    +++ b/net/ipv6/ip6_tunnel.c
    @@ -1466,7 +1466,7 @@ static int __init ip6_tunnel_init(void)
    int err;

    - err = register_pernet_device(&ip6_tnl_net_ops);
    + err = register_pernet_gen_device(&ip6_tnl_net_id, &ip6_tnl_net_ops);
    if (err < 0)
    goto out_pernet;

    Btw, this has been fixed in grsec-patches, and an identical patch has
    also been posted at the Debian bugzilla, so I'm not sure about the
    Signed-off-by and Reported-by tags.

    Stratos Psomadakis

     \ /
      Last update: 2011-08-28 14:37    [W:0.036 / U:67.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site