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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-04-27T17:32:37.227Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 57bcd3feffa79544c73a1a1872472389a391cc79; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 86588916e1887a5edb8a9161cd7ae81e47a7ed25; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< a29215961d833f4de33a09c3964d31ebc6083033; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 1c04c3a4de8d4bcb9202f94c44f26c57c2572308; \>= adc1796eced46b48e23ec200a219d635f33a38ee, \< 673dafb9a86349a12a93151fd467625614dc7e12; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 2211d77892913804d16c28c7415b82804ab1e54c; \>= cd0e0a76e40c2e77bcfc88291d00dca22b00158e, \< a7fa9460b86f810913b6779461d0448e7c11214c; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f; \>= 8d76b2488eb3cc0717ab81b60622cff4a5f90f79, \< 53a76425e0764421ba93bb9045d2e454667d5687; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 730e5ebff40c852e3ea57b71bf02a4b89c69435f; …
- Anyone running Linux 2.6.22

## Description

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
omap\_mpuio\_driver from omap\_mpuio\_init(), which is called from
omap\_gpio\_probe().

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
device\_lock for driver\_match\_device()") leading to a potential deadlock
condition described in \[1\].

Additionally, the omap\_mpuio\_driver is never unregistered from the
driver core, even if the module is unloaded.

Hence, register the omap\_mpuio\_driver from the module initcall and
unregister it in module\_exit().

## Affected and fixed versions

- Linux: \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 57bcd3feffa79544c73a1a1872472389a391cc79; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 86588916e1887a5edb8a9161cd7ae81e47a7ed25; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< a29215961d833f4de33a09c3964d31ebc6083033; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 1c04c3a4de8d4bcb9202f94c44f26c57c2572308; \>= adc1796eced46b48e23ec200a219d635f33a38ee, \< 673dafb9a86349a12a93151fd467625614dc7e12; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 2211d77892913804d16c28c7415b82804ab1e54c; \>= cd0e0a76e40c2e77bcfc88291d00dca22b00158e, \< a7fa9460b86f810913b6779461d0448e7c11214c; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f; \>= 8d76b2488eb3cc0717ab81b60622cff4a5f90f79, \< 53a76425e0764421ba93bb9045d2e454667d5687; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 730e5ebff40c852e3ea57b71bf02a4b89c69435f; … (cvelist)
- Linux: 2.6.22 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31687. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31687.md
Affected: Linux >= 11a78b7944963a8b052be46108d07a3ced9e2762, < 57bcd3feffa79544c73a1a1872472389a391cc79; >= 11a78b7944963a8b052be46108d07a3ced9e2762, < 86588916e1887a5edb8a9161cd7ae81e47a7ed25; >= 11a78b7944963a8b052be46108d07a3ced9e2762, < a29215961d833f4de33a09c3964d31ebc6083033; >= 11a78b7944963a8b052be46…
Fixed in: Linux 57bcd3feffa79544c73a1a1872472389a391cc79, Linux 86588916e1887a5edb8a9161cd7ae81e47a7ed25, Linux 1c04c3a4de8d4bcb9202f94c44f26c57c2572308, Linux 673dafb9a86349a12a93151fd467625614dc7e12, Linux 2211d77892913804d16c28c7415b82804ab1e54c, Linux 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f, Linux 53a76…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31687 being exploited?

There is no confirmed exploitation: CVE-2026-31687 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31687?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31687?

Linux \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 57bcd3feffa79544c73a1a1872472389a391cc79; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 86588916e1887a5edb8a9161cd7ae81e47a7ed25; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< a29215961d833f4de33a09c3964d31ebc6083033; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 1c04c3a4de8d4bcb9202f94c44f26c57c2572308; \>= adc1796eced46b48e23ec200a219d635f33a38ee, \< 673dafb9a86349a12a93151fd467625614dc7e12; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 2211d77892913804d16c28c7415b82804ab1e54c; \>= cd0e0a76e40c2e77bcfc88291d00dca22b00158e, \< a7fa9460b86f810913b6779461d0448e7c11214c; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f; \>= 8d76b2488eb3cc0717ab81b60622cff4a5f90f79, \< 53a76425e0764421ba93bb9045d2e454667d5687; \>= 11a78b7944963a8b052be46108d07a3ced9e2762, \< 730e5ebff40c852e3ea57b71bf02a4b89c69435f; …; Linux 2.6.22.

### Is there a fix for CVE-2026-31687?

Yes. Fixed in Linux 57bcd3feffa79544c73a1a1872472389a391cc79, Linux 86588916e1887a5edb8a9161cd7ae81e47a7ed25, Linux 1c04c3a4de8d4bcb9202f94c44f26c57c2572308, Linux 673dafb9a86349a12a93151fd467625614dc7e12, Linux 2211d77892913804d16c28c7415b82804ab1e54c, Linux 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f, Linux 53a76425e0764421ba93bb9045d2e454667d5687, Linux 730e5ebff40c852e3ea57b71bf02a4b89c69435f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31687?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79>
- patch: <https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25>
- patch: <https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033>
- patch: <https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308>
- patch: <https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12>
- patch: <https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c>
- patch: <https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c>
- patch: <https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f>
- patch: <https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687>
- patch: <https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f>
- patch: <https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31687>

HTML: <https://flawdb.com/CVE-2026-31687> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31687>
