Details
[Home]
Issue of the Implementation # L0193
Brief
pxa168: double deallocation of managed resources
Detailed Description
Commit 43d3ddf87a57 ("net: pxa168_eth: add device tree support") starts to use managed resources by adding devm_clk_get() and devm_ioremap_resource(), but it leaves explicit iounmap() and clock_put() in pxa168_eth_remove() and in failure handling code of pxa168_eth_probe(). As a result double free can happen.
Component
linux-kernel 4.0
Accepted
https://lkml.org/lkml/2015/4/24/803
commit
Status
Fixed in kernel 4.1-rc2
[Home]
»