ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2dc6c6f15da97cb3e810963c80e981f19d42cd7d · < ee2b0301d6bfe16b35d57947687c664ecb815775| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
devm_ioremap() returns NULL on error. Currently, pxa_ata_probe() does not check for this case, which can result in a NULL pointer dereference.
Add NULL check after devm_ioremap() to prevent this issue.
From the CVE record · Linux
The Linux kernel's pata_pxa driver does not check whether devm_ioremap() returns NULL during pxa_ata_probe(), which can lead to a NULL pointer dereference. The input does not establish how an attacker could trigger this condition or whether authentication or user interaction is required.
Teams running the Linux kernel should check whether their kernel includes the affected pata_pxa code; affected versions are not specified.