CVE-2026-43008
JSON

5.5medium

gpio: qixis-fpga: Fix error handling for devm_regmap_init_mmio()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom e88500247dc3267787abc837848b001c1237f692 before e54b8fe9454cc786590a0b88db96afe0cdc8a83d, from e88500247dc3267787abc837848b001c1237f692 before 8de4e0f44c638c66cdc5eeb4d5ab9acd61c31e4f, 6.19
Not affected: before 6.19, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.19 before 6.19.12, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gpio: qixis-fpga: Corrección del manejo de errores para devm_regmap_init_mmio() devm_regmap_init_mmio() devuelve un ERR_PTR() en caso de fallo, no NULL. El código original comprobaba si era NULL, lo que nunca se activaría en caso de error, lo que podría llevar a una desreferencia de puntero inválida. Utilice IS_ERR() y PTR_ERR() para manejar correctamente el caso de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43008 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-43008 changed 2026-11-11Public domain