Details

[Home]

Issue of the Implementation # L0083

Brief

p54pci: p54p_probe() returns zero in case of failure

Detailed Description

If pci_set_dma_mask() or pci_set_consistent_dma_mask() fails in p54p_probe(), it breaks off initialization, deallocates all resources, but returns zero. As a result kernel believes driver is correctly initialized, but it is not and any call to drivers functions may fails in unpredictable way.

Similar issue is if check for returned value of pci_resource_len() fails.

Component

linux-kernel 3.8

Accepted

https://lkml.org/lkml/2013/1/1/36
commit

Status

Fixed in kernel 3.9-rc1

[Home]