5.5medium
dmaengine: xilinx: xdma: Fix regmap init error handling
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 17ce252266c7f016ece026492c45838f852ddc79 before 4b6e1da50b22e5528b9003f376a3cecccce4decc, from 17ce252266c7f016ece026492c45838f852ddc79 before 9787b3d9b908785b40bc3f2e6d7082fdb8fdd98a, from 17ce252266c7f016ece026492c45838f852ddc79 before f27197ccfd2ecd2c71f27fd57c6d507e892ad24d, from 17ce252266c7f016ece026492c45838f852ddc79 before 59f6ccd0f3345be2e8a78bdef2103e93f180633a, from 17ce252266c7f016ece026492c45838f852ddc79 before e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8, 6.3 Not affected: before 6.3, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.3 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: dmaengine: xilinx: xdma: Corrección del manejo de errores de inicialización de regmap devm_regmap_init_mmio devuelve un ERR_PTR() en caso de error, no NULL. Corrige la comprobación de errores y también el mensaje de error. Utiliza el código de error de ERR_PTR() en lugar del valor incorrecto en ret.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31439 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-31439 changed 2026-11-11 | Public domain |