CVE-2026-31687 (GCVE-0-2026-31687)
Vulnerability from cvelistv5 – Published: 2026-04-27 17:32 – Updated: 2026-04-27 17:32
VLAI?
Title
gpio: omap: do not register driver in probe()
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().
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
11a78b7944963a8b052be46108d07a3ced9e2762 , < 57bcd3feffa79544c73a1a1872472389a391cc79
(git)
Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < 86588916e1887a5edb8a9161cd7ae81e47a7ed25 (git) Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < a29215961d833f4de33a09c3964d31ebc6083033 (git) Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < 1c04c3a4de8d4bcb9202f94c44f26c57c2572308 (git) Affected: adc1796eced46b48e23ec200a219d635f33a38ee , < 673dafb9a86349a12a93151fd467625614dc7e12 (git) Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < 2211d77892913804d16c28c7415b82804ab1e54c (git) Affected: cd0e0a76e40c2e77bcfc88291d00dca22b00158e , < a7fa9460b86f810913b6779461d0448e7c11214c (git) Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < 32f08c3ddd6dda6cbb6c9d715de10f21dccde50f (git) Affected: 8d76b2488eb3cc0717ab81b60622cff4a5f90f79 , < 53a76425e0764421ba93bb9045d2e454667d5687 (git) Affected: 11a78b7944963a8b052be46108d07a3ced9e2762 , < 730e5ebff40c852e3ea57b71bf02a4b89c69435f (git) Affected: bc82e5f4d7dc8237ae8cabc73aa46fc93c85d98c , < 03db4dc9ad6eb91e640b517e00373ce877682854 (git) |
|||||||
|
|||||||||
{
"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",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-31687",
"date": "2026-05-08",
"epss": "0.00011",
"percentile": "0.01518"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-31687\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-27T18:16:54.143\",\"lastModified\":\"2026-05-06T19:05:57.627\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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().\"}],\"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}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-667\"}]}],\"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\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03db4dc9ad6eb91e640b517e00373ce877682854\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1c04c3a4de8d4bcb9202f94c44f26c57c2572308\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2211d77892913804d16c28c7415b82804ab1e54c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/32f08c3ddd6dda6cbb6c9d715de10f21dccde50f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/53a76425e0764421ba93bb9045d2e454667d5687\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/57bcd3feffa79544c73a1a1872472389a391cc79\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/673dafb9a86349a12a93151fd467625614dc7e12\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/730e5ebff40c852e3ea57b71bf02a4b89c69435f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/86588916e1887a5edb8a9161cd7ae81e47a7ed25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a29215961d833f4de33a09c3964d31ebc6083033\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a7fa9460b86f810913b6779461d0448e7c11214c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…