{"api_version":"1","generated_at":"2026-05-15T14:52:05+00:00","cve":"CVE-2026-31687","urls":{"html":"https://cve.report/CVE-2026-31687","api":"https://cve.report/api/cve/CVE-2026-31687.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31687","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31687"},"summary":{"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 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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-27 18:16:54","updated_at":"2026-05-06 19:05:57"},"problem_types":["CWE-667"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f","name":"https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79","name":"https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25","name":"https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12","name":"https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687","name":"https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c","name":"https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308","name":"https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f","name":"https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c","name":"https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854","name":"https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033","name":"https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31687","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31687","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 57bcd3feffa79544c73a1a1872472389a391cc79 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 86588916e1887a5edb8a9161cd7ae81e47a7ed25 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 a29215961d833f4de33a09c3964d31ebc6083033 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 1c04c3a4de8d4bcb9202f94c44f26c57c2572308 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected adc1796eced46b48e23ec200a219d635f33a38ee 673dafb9a86349a12a93151fd467625614dc7e12 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 2211d77892913804d16c28c7415b82804ab1e54c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cd0e0a76e40c2e77bcfc88291d00dca22b00158e a7fa9460b86f810913b6779461d0448e7c11214c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d76b2488eb3cc0717ab81b60622cff4a5f90f79 53a76425e0764421ba93bb9045d2e454667d5687 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11a78b7944963a8b052be46108d07a3ced9e2762 730e5ebff40c852e3ea57b71bf02a4b89c69435f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bc82e5f4d7dc8237ae8cabc73aa46fc93c85d98c 03db4dc9ad6eb91e640b517e00373ce877682854 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.22","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.22 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.251 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.201 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.164 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.125 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.126 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.72 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.73 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.11 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.12 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.2 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"31687","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpio/gpio-omap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"57bcd3feffa79544c73a1a1872472389a391cc79","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"86588916e1887a5edb8a9161cd7ae81e47a7ed25","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"a29215961d833f4de33a09c3964d31ebc6083033","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"1c04c3a4de8d4bcb9202f94c44f26c57c2572308","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"673dafb9a86349a12a93151fd467625614dc7e12","status":"affected","version":"adc1796eced46b48e23ec200a219d635f33a38ee","versionType":"git"},{"lessThan":"2211d77892913804d16c28c7415b82804ab1e54c","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"a7fa9460b86f810913b6779461d0448e7c11214c","status":"affected","version":"cd0e0a76e40c2e77bcfc88291d00dca22b00158e","versionType":"git"},{"lessThan":"32f08c3ddd6dda6cbb6c9d715de10f21dccde50f","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"53a76425e0764421ba93bb9045d2e454667d5687","status":"affected","version":"8d76b2488eb3cc0717ab81b60622cff4a5f90f79","versionType":"git"},{"lessThan":"730e5ebff40c852e3ea57b71bf02a4b89c69435f","status":"affected","version":"11a78b7944963a8b052be46108d07a3ced9e2762","versionType":"git"},{"lessThan":"03db4dc9ad6eb91e640b517e00373ce877682854","status":"affected","version":"bc82e5f4d7dc8237ae8cabc73aa46fc93c85d98c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpio/gpio-omap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.22"},{"lessThan":"2.6.22","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.251","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.201","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.164","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.125","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.126","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.72","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.73","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.11","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.12","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.19","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.251","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.201","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.164","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.125","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.126","versionStartIncluding":"6.6.125","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.72","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.73","versionStartIncluding":"6.12.72","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.11","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.12","versionStartIncluding":"6.18.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19","versionStartIncluding":"2.6.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.2","versionStartIncluding":"6.19.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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()."}],"providerMetadata":{"dateUpdated":"2026-04-27T17:32:37.227Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79"},{"url":"https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25"},{"url":"https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033"},{"url":"https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308"},{"url":"https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12"},{"url":"https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c"},{"url":"https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c"},{"url":"https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f"},{"url":"https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687"},{"url":"https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f"},{"url":"https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854"}],"title":"gpio: omap: do not register driver in probe()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31687","datePublished":"2026-04-27T17:32:37.227Z","dateReserved":"2026-03-09T15:48:24.131Z","dateUpdated":"2026-04-27T17:32:37.227Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-27 18:16:54","lastModifiedDate":"2026-05-06 19:05:57","problem_types":["CWE-667"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.22","versionEndExcluding":"5.10.251","matchCriteriaId":"37FB49FC-871B-4978-83B6-4B6AA54014C2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.201","matchCriteriaId":"600A89ED-86F2-48D8-BB7C-5EE7A8832FC5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.164","matchCriteriaId":"6892F74B-3F14-4500-9652-24A2ECB04144"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.125","matchCriteriaId":"74B70CDE-7B74-4280-BBCC-8889B8F28466"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.72","matchCriteriaId":"F1A7E514-FB3C-4B6B-8046-07D5A8F04644"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.11","matchCriteriaId":"7099A9EC-3D54-4424-BF01-7224EF88C79C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*","matchCriteriaId":"17B67AA7-40D6-4AFA-8459-F200F3D7CFD1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*","matchCriteriaId":"C47E4CC9-C826-4FA9-B014-7FE3D9B318B2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*","matchCriteriaId":"F71D92C0-C023-48BD-B3B6-70B638EEE298"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*","matchCriteriaId":"13580667-0A98-40CC-B29F-D12790B91BDB"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*","matchCriteriaId":"CAD1FED7-CF48-47BF-AC7D-7B6FA3C065FC"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*","matchCriteriaId":"3EF854A1-ABB1-4E93-BE9A-44569EC76C0D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*","matchCriteriaId":"F5DC0CA6-F0AF-4DDF-A882-3DADB9A886A7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31687","Ordinal":"1","Title":"gpio: omap: do not register driver in probe()","CVE":"CVE-2026-31687","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31687","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"gpio: omap: do not register driver in probe()"}]}}}