# CVE-2026-99257: gpio: shared: gracefully handle no-device lookup of shared GPIOs

Status: published. Published: 2026-11-03. Updated: 2026-11-03.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ a060b8c511abb0997381b397e52149a5e3e5259a; < 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1 (affected, git); ≥ a060b8c511abb0997381b397e52149a5e3e5259a; < cf73c3fc03c43a8a86fd487c62390b4744eff9ec (affected, git). Source: CNA: Linux
- Linux / Linux: 6.19 (affected); ≥ 0; < 6.19 (unaffected, semver); ≥ 7.2.13; ≤ 7.2.* (unaffected, semver); ≥ 7.3; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1 (CNA: Linux)

- https://git.kernel.org/stable/c/cf73c3fc03c43a8a86fd487c62390b4744eff9ec (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99257; retrieved 2026-11-03; source updated 2026-11-03

Revision: c9cc7104d9b9f8a8d939403c38bb6267503de9274f11f359918eb86e12a34997

Canonical: https://y2.dev/cve/CVE-2026-99257

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.