Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 17ce252266c7f016ece026492c45838f852ddc79 before 4b6e1da50b22e5528b9003f376a3cecccce4decc; affected 17ce252266c7f016ece026492c45838f852ddc79 before 9787b3d9b908785b40bc3f2e6d7082fdb8fdd98a; affected 17ce252266c7f016ece026492c45838f852ddc79 before f27197ccfd2ecd2c71f27fd57c6d507e892ad24d; affected 17ce252266c7f016ece026492c45838f852ddc79 before 59f6ccd0f3345be2e8a78bdef2103e93f180633a; affected 17ce252266c7f016ece026492c45838f852ddc79 before e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8 |
| Linux / Linux | affected 6.3; unaffected 0 before 6.3; unaffected 6.6.131 through 6.6.*; unaffected 6.12.80 through 6.12.*; unaffected 6.18.21 through 6.18.*; unaffected 6.19.11 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4b6e1da50b22e5528b9003f376a3cecccce4decc
- https://git.kernel.org/stable/c/9787b3d9b908785b40bc3f2e6d7082fdb8fdd98a
- https://git.kernel.org/stable/c/f27197ccfd2ecd2c71f27fd57c6d507e892ad24d
- https://git.kernel.org/stable/c/59f6ccd0f3345be2e8a78bdef2103e93f180633a
- https://git.kernel.org/stable/c/e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8