CVE-2026-31687
MediumIn 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().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2026-31687 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.6.125,
6.12.72,
6.18.11,
6.19.1,
2.6.22
and later are affected. Fixed in
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.2,
6.19
and their respective stable series.
References
The following references provide additional information about CVE-2026-31687 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c
Frequently asked questions
-
What is CVE-2026-31687?
CVE-2026-31687 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 6.6.125 onward and has been patched in 5.10.251, 5.15.201, 6.1.164 and others. CVE-2026-31687 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31687?
CVE-2026-31687 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31687?
Yes — CVE-2026-31687 has been patched. Fixed versions include 5.10.251, 5.15.201, 6.1.164 and others. If you are running Linux kernel 6.6.125 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31687 actively exploited?
No — CVE-2026-31687 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →