Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: gpio: qixis-fpga: Fix error handling for devm_regmap_init_mmio() devm_regmap_init_mmio() returns an ERR_PTR() on failure, not NULL. The original code checked for NULL which would never trigger on error, potentially leading to an invalid pointer dereference. Use IS_ERR() and PTR_ERR() to properly handle the error case.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e88500247dc3267787abc837848b001c1237f692 before e54b8fe9454cc786590a0b88db96afe0cdc8a83d; affected e88500247dc3267787abc837848b001c1237f692 before 8de4e0f44c638c66cdc5eeb4d5ab9acd61c31e4f |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.