CVE-2026-99257

gpio: shared: gracefully handle no-device lookup of shared GPIOs

Published Nov 3, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

gpio: shared: gracefully handle no-device lookup of shared GPIOs

We use platform lookup tables for shared GPIOs. This mechanism needs a
struct device to work so fwnode-based lookup with no device associated
currently causes a NULL-pointer deference.

Adding this functionality will require a larger rework and it has never
worked anyway so add a check that allows the kernel to gracefully handle
this situation with an error ahead of implementing that functionality as
a new feature.

Analysis

AI-generated

Technical impact

The vulnerability is a null‑pointer dereference in the Linux kernel’s gpio:shared subsystem. When a shared GPIO is looked up through a firmware node that has no associated struct device, the code dereferences a NULL pointer, leading to a kernel crash. This flaw is an improper use of a pointer error, classified as CWE‑476. The crash causes a denial‑of‑service condition for the entire host but does not provide an attacker with remote code execution.

Affected Systems

All builds of the Linux kernel that compile with the gpio:shared subsystem enabled and employ platform lookup tables for shared GPIOs are impacted. The issue exists in all kernel versions prior to the patch that added the NULL‑check, regardless of distribution. Systems that have disabled the gpio:shared interface or bypass firmware node lookups for shared GPIOs are not affected.

Risk and Exploitability

Exploitation requires local privileged access to trigger the flawed lookup, making this a local crash vector. The EPSS score of <1% indicates a very low likelihood of exploitation in the wild and the vulnerability is not listed in the CISA KEV catalog. With a CVSS score of 4.4, the risk is moderate; the primary consequence is local unavailability rather than privilege escalation or remote compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the shared GPIO lookup null-check patch
  • If a patch is not immediately available, disable the gpio:shared subsystem in the kernel configuration or remove the device tree entry that enables it
  • Verify that all firmware nodes used for shared GPIOs reference a valid device object before enabling the shared interface

Generated by OpenCVE AI on November 5, 2026 at 16:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: gpio: shared: gracefully handle no-device lookup of shared GPIOs We use platform lookup tables for shared GPIOs. This mechanism needs a struct device to work so fwnode-based lookup with no device associated currently causes a NULL-pointer deference. Adding this functionality will require a larger rework and it has never worked anyway so add a check that allows the kernel to gracefully handle this situation with an error ahead of implementing that functionality as a new feature.
Title gpio: shared: gracefully handle no-device lookup of shared GPIOs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 11:40 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 3, 2026, 12:17 PM
Modified
Nov 3, 2026, 12:17 PM
Severity
Moderate
Public date
Nov 3, 2026, 11:25 AM