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]
Message-Id: <20160626.154346.1759874035992627168.davem@davemloft.net>
Date:	Sun, 26 Jun 2016 15:43:46 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	chanho.min@....com
Cc:	netdev@...r.kernel.org, kuznet@....inr.ac.ru, jmorris@...ei.org,
	fabf@...net.be, gunho.lee@....com, linux-kernel@...r.kernel.org,
	neidhard.kim@....com
Subject: Re: [PATCH RESEND] ipconfig : Fix null reference to the freed
 dev_addr

From: Chanho Min <chanho.min@....com>
Date: Wed, 22 Jun 2016 19:08:13 +0900

> To fix this, I suggested patch that checks if device is available
> before the DHCP packet is sended.

The bug is more fundamental than this.

The code is not taking a reference to the netdevice, and that's
the only reason it is able to disappear like this.

It is illegal to reference a netdevice after dropping the rtnl
mutex unless you take a proper reference to it.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ