dmaengine: xilinx: xdma: Fix regmap init error handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: xilinx: xdma: Fix regmap init error handling
devm_regmap_init_mmio returns an ERR_PTR() upon error, not NULL. Fix the error check and also fix the error message. Use the error code from ERR_PTR() instead of the wrong value in ret.
From the CVE record · Linux
The Linux kernel’s Xilinx XDMA driver incorrectly checks for a NULL return when devm_regmap_init_mmio fails, even though it returns an error pointer. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels that include the Xilinx XDMA driver should check their exposure; affected versions were not provided.