CVE-2026-99257
gpio: shared: gracefully handle no-device lookup of shared GPIOs
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: a060b8c511abb0997381b397e52149a5e3e5259a to < 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1; affected: a060b8c511abb0997381b397e52149a5e3e5259a to < cf73c3fc03c43a8a86fd487c62390b4744eff9ec | See vendor advisory |
| LinuxLinux | affected: 6.19; unaffected: 0 to < 6.19; unaffected: 7.2.13 to ≤ 7.2.*; unaffected: 7.3 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.