pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 49b1153adfe18a3cce7e70aa26c690f275917cd0 · < fafa7450075f41d232bc785a4ebcbf16374f2076| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
In __iodyn_find_io_region(), pcmcia_make_resource() is assigned to res and used in pci_bus_alloc_resource(). There is a dereference of res in pci_bus_alloc_resource(), which could lead to a NULL pointer dereference on failure of pcmcia_make_resource().
Fix this bug by adding a check of res.
From the CVE record · Linux
The Linux kernel’s PCMCIA code could dereference a NULL pointer in __iodyn_find_io_region() if pcmcia_make_resource() fails. This could cause a kernel crash; the input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with PCMCIA support should check their versions against the vendor advisory; affected versions were not provided.