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

State
Published
Severity
Not Scored
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxa060b8c511abb0997381b397e52149a5e3e5259a to before 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1 Affecteda060b8c511abb0997381b397e52149a5e3e5259a to before cf73c3fc03c43a8a86fd487c62390b4744eff9ec Affected
Linux Linux6.19 Affectedbefore 6.19 Not Affected7.2.13 through 7.2.* Not Affected7.3 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.