CVE-2026-31687: gpio: omap: do not register driver in probe()

Published Apr 27, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

gpio: omap: do not register driver in probe()

Commit 11a78b794496 ("ARM: OMAP: MPUIO wake updates") registers the omapmpuiodriver from omapmpuioinit(), which is called from omapgpioprobe().

However, it neither makes sense to register drivers from probe() callbacks of other drivers, nor does the driver core allow registering drivers with a device lock already being held.

The latter was revealed by commit dc23806a7c47 ("driver core: enforce devicelock for drivermatchdevice()") leading to a potential deadlock condition described in [1].

Additionally, the omapmpuiodriver is never unregistered from the driver core, even if the module is unloaded.

Hence, register the omapmpuiodriver from the module initcall and unregister it in moduleexit().

Affected Software

14 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.22<5.10.251
Linux Linux kernel>=5.11<5.15.201
Linux Linux kernel>=5.16<6.1.164
Linux Linux kernel>=6.2<6.6.125
Linux Linux kernel>=6.7<6.12.72
Linux Linux kernel>=6.13<6.18.11
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4
Linux Linux kernel=6.19-rc5
Linux Linux kernel=6.19-rc6
Linux Linux kernel=6.19-rc7

Event History

Apr 27, 2026
CVE Published
via MITRE·05:32 PM
Data Sourced
via MITRE·05:32 PM
Description
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31687?

CVE-2026-31687 is classified as a medium severity vulnerability.

2

How do I fix CVE-2026-31687?

To fix CVE-2026-31687, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What impact does CVE-2026-31687 have on affected systems?

CVE-2026-31687 could lead to unauthorized driver registration, potentially affecting system stability.

4

Which versions of the Linux kernel are affected by CVE-2026-31687?

CVE-2026-31687 affects specific versions of the Linux kernel where the vulnerable code is present.

5

Is CVE-2026-31687 exploitable remotely?

CVE-2026-31687 is not considered remotely exploitable but could be leveraged in local privilege escalation scenarios.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203