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.
Published: 2026-05-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the qixis-fpga driver in the Linux kernel. The function devm_regmap_init_mmio() signals failure by returning an ERR_PTR value, yet the driver only checks for NULL. Because a non‑NULL pointer might still be an error value, the driver can dereference an invalid pointer during initialization, leading to a kernel crash and a local denial of service. This flaw reflects incorrect handling of error codes (CWE‑253) and an implicit null pointer dereference (CWE‑476).

Affected Systems

Any Linux kernel installation that contains the qixis-fpga driver before the patch is affected. The CNA data lists the kernel as a whole without specific version ranges, so all builds that include the vulnerable code before the fix are potentially impacted.

Risk and Exploitability

The EPSS score of < 1% and the absence of a listing in the CISA KEV catalog indicate a low likelihood of public exploitation. The CVSS score of 5.5 reflects moderate severity. Based on the description, the attack vector is inferred to be local: an attacker would need to trigger the hardware initialization or interact with the device in a way that forces the devm_regmap_init_mmio() call to fail. Because the flaw requires a specific error condition, exploitation is not trivial. However, if an attacker can cause the failure, the resulting kernel crash can incapacitate the affected system, making this a notable local denial‑of‑service vulnerability.

Generated by OpenCVE AI on May 7, 2026 at 21:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy a kernel version that includes the fix for devm_regmap_init_mmio() error handling in the qixis-fpga driver.
  • If a kernel upgrade is not immediately possible, disable or unload the qixis-fpga kernel module to prevent driver initialization and eliminate the risk.
  • As a temporary measure, modify the driver source to replace the NULL check with IS_ERR() and PTR_ERR(), rebuild the module, and load the patched version while the old driver is removed.

Generated by OpenCVE AI on May 7, 2026 at 21:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 07 May 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Sat, 02 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-253
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title gpio: qixis-fpga: Fix error handling for devm_regmap_init_mmio()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:15:55.149Z

Reserved: 2026-05-01T14:12:55.974Z

Link: CVE-2026-43008

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-01T15:16:44.670

Modified: 2026-05-07T20:24:50.790

Link: CVE-2026-43008

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-43008 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-07T22:00:12Z

Weaknesses