lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 03 Jan 2014 20:39:24 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	liuhangbin@...il.com
Cc:	netdev@...r.kernel.org, wpan@...hat.com
Subject: Re: [PATCH v2] infiniband: make sure the src net is infiniband
 when create new link

From: Hangbin Liu <liuhangbin@...il.com>
Date: Fri,  3 Jan 2014 11:33:45 +0800

> When we create a new infiniband link with uninfiniband device, e.g. `ip link
> add link em1 type ipoib pkey 0x8001`. We will get a NULL pointer dereference
> cause other dev like Ethernet don't have struct ib_device.
> 
> The code path is:
> rtnl_newlink
>   |-- ipoib_new_child_link
>         |-- __ipoib_vlan_add
>               |-- ipoib_set_dev_features
>                     |-- ib_query_device
> 
> Fix this bug by make sure the src net is infiniband when create new link.
> 
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ