CVE-2026-31687 json
gpio: omap: do not register driver in probe()
published 2026-04-27 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-25884
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 0%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 5.10.251, 5.15.201, 6.1.164, 6.6.125, 6.6.126, 6.12.72, 6.12.73, 6.18.11, 6.18.12, 6.19, 6.19.2
- linux Debian 12 6.1.164-1
- linux Debian 13 6.12.73-1
- linux Debian 14 6.18.12-1
debian advisories DEBIAN-CVE-2026-31687
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux Ubuntu 24.04 LTS 6.8.0-134.134
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-aws Ubuntu 24.04 LTS 6.8.0-1060.63
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1063.69
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-gke Ubuntu 24.04 LTS 6.8.0-1058.64
ubuntu advisories UBUNTU-CVE-2026-31687
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-51.1
- kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-51.1
- kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-51.1
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-51.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-51.1
- kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.37.1
- kernel-rt Linux Micro 6.2 6.12.0-160000.37.1
- kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.37.1
suse advisories SUSE-SU-2026:23244-1SUSE-SU-2026:23241-1SUSE-SU-2026:23194-1SUSE-SU-2026:23193-1SUSE-SU-2026:23237-1SUSE-SU-2026:23068-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.37.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-azure openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.37.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.37.1
opensuse advisories openSUSE-SU-2026:21555-1
- git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79 commit
- git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25 commit
- git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033 commit
- git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308 commit
- git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12 commit
- git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c commit
- git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c commit
- git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f commit
- git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687 commit
- git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-31687 updated
kernel: gpio: omap: do not register driver in probe()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.10% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
git.kernel.org
/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79
patch
-
git.kernel.org
/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25
patch
-
git.kernel.org
/stable/c/a29215961d833f4de33a09c3964d31ebc6083033
patch
-
git.kernel.org
/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308
patch
-
git.kernel.org
/stable/c/673dafb9a86349a12a93151fd467625614dc7e12
patch
-
git.kernel.org
/stable/c/2211d77892913804d16c28c7415b82804ab1e54c
patch
-
git.kernel.org
/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c
patch
-
git.kernel.org
/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f
patch
-
git.kernel.org
/stable/c/53a76425e0764421ba93bb9045d2e454667d5687
patch
-
git.kernel.org
/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f
patch
-
git.kernel.org
/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854
patch
Sources
- CVE List CVE-2026-31687
- NVD CVE-2026-31687
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.