CVE-2026-43008

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

Published May 1, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

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
Weaknesses
  • CWE-253

    Incorrect Check of Function Return Value

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:15 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 1, 2026, 3:16 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Moderate
Public date
May 1, 2026, 12:00 AM