[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081218.193703.92433900.davem@davemloft.net>
Date: Thu, 18 Dec 2008 19:37:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: linville@...driver.com, linux-wireless@...r.kernel.org,
jgarzik@...ox.com, netdev@...r.kernel.org
Subject: Re: [PATCH -next] netdevice zd1201: Use after free
From: Wang Chen <wangchen@...fujitsu.com>
Date: Thu, 18 Dec 2008 14:53:31 +0800
> | commit 3d29b0c33d431ecc69ec778f8c236d382f59a85f
> | Author: John W. Linville <linville@...driver.com>
> | Date: Fri Oct 31 14:13:12 2008 -0400
> |
> | netdevice zd1201: Convert directly reference of netdev->priv to netdev_priv()
...
>
> This commit changed the allocation of netdev, but didn't change
> the free method of it.
> This causes "zd" be used after the memory, which is pointed by "zd", being
> freed by free_netdev().
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
Patch applied to net-next-2.6, thanks!
--
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