{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31687","id":"CVE-2026-31687","title":"gpio: omap: do not register driver in probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: omap: do not register driver in probe()\n\nCommit 11a78b794496 (\"ARM: OMAP: MPUIO wake updates\") registers the\nomap_mpuio_driver from omap_mpuio_init(), which is called from\nomap_gpio_probe().\n\nHowever, it neither makes sense to register drivers from probe()\ncallbacks of other drivers, nor does the driver core allow registeri","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: omap: do not register driver in probe()\n\nCommit 11a78b794496 (\"ARM: OMAP: MPUIO wake updates\") registers the\nomap_mpuio_driver from omap_mpuio_init(), which is called from\nomap_gpio_probe().\n\nHowever, it neither makes sense to register drivers from probe()\ncallbacks of other drivers, nor does the driver core allow registering\ndrivers with a device lock already being held.\n\nThe latter was revealed by commit dc23806a7c47 (\"driver core: enforce\ndevice_lock for driver_match_device()\") leading to a potential deadlock\ncondition described in [1].\n\nAdditionally, the omap_mpuio_driver is never unregistered from the\ndriver core, even if the module is unloaded.\n\nHence, register the omap_mpuio_driver from the module initcall and\nunregister it in module_exit().","published":"2026-04-27T17:32:37.227Z","updated":"2026-11-17T07:03:34.201980167Z","reserved":"2026-03-09T15:48:24.131Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"57bcd3feffa79544c73a1a1872472389a391cc79","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"86588916e1887a5edb8a9161cd7ae81e47a7ed25","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"a29215961d833f4de33a09c3964d31ebc6083033","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"1c04c3a4de8d4bcb9202f94c44f26c57c2572308","status":"affected","versionType":"git"},{"version":"adc1796eced46b48e23ec200a219d635f33a38ee","lessThan":"673dafb9a86349a12a93151fd467625614dc7e12","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"2211d77892913804d16c28c7415b82804ab1e54c","status":"affected","versionType":"git"},{"version":"cd0e0a76e40c2e77bcfc88291d00dca22b00158e","lessThan":"a7fa9460b86f810913b6779461d0448e7c11214c","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"32f08c3ddd6dda6cbb6c9d715de10f21dccde50f","status":"affected","versionType":"git"},{"version":"8d76b2488eb3cc0717ab81b60622cff4a5f90f79","lessThan":"53a76425e0764421ba93bb9045d2e454667d5687","status":"affected","versionType":"git"},{"version":"11a78b7944963a8b052be46108d07a3ced9e2762","lessThan":"730e5ebff40c852e3ea57b71bf02a4b89c69435f","status":"affected","versionType":"git"},{"version":"bc82e5f4d7dc8237ae8cabc73aa46fc93c85d98c","lessThan":"03db4dc9ad6eb91e640b517e00373ce877682854","status":"affected","versionType":"git"},{"version":"6.6.125","lessThan":"6.6.126","status":"affected","versionType":"semver"},{"version":"6.12.72","lessThan":"6.12.73","status":"affected","versionType":"semver"},{"version":"6.18.11","lessThan":"6.18.12","status":"affected","versionType":"semver"},{"version":"6.19.1","lessThan":"6.19.2","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.22","status":"affected"},{"version":"0","lessThan":"2.6.22","status":"unaffected","versionType":"semver"},{"version":"5.10.251","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.201","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.164","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.125","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.6.126","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.72","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.12.73","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.11","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.18.12","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.2","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31687.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31687","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00096,"epssPercentile":0.00688,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31687","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31687","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31687","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31687","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}