gpio: virtuser: fix interrupt leak and UAF

Summary

CVECVE-2026-143055
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:34 UTC
Updated2026-12-03 10:17:34 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix interrupt leak and UAF When configuring interrupt handlers for GPIOs requested by virtual users, we never verify if an interrupt has been previously requested and just leak it if it was. We also never free the interrupts at device unbind. This is both a leak and a potential UAF bug. We use atomic_t for the irq field for now reason, it can't be modifying or read from atomic context. Let's repurpose the existing consumer_lock mutex and serialize access to the irq field. Let's add sanitization of input and schedule a tear-down action.

Risk And Classification

EPSS: 0.002090000 probability, percentile 0.116650000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 91581c4b3f29e2e22aeb1a62e842d529ca638b2d 1d82149635177c4a87f603853d58c3105df25242 git Not specified
CNA Linux Linux affected 91581c4b3f29e2e22aeb1a62e842d529ca638b2d e7c506ae22ca46ecadcf05d408977965c0ecdb90 git Not specified
CNA Linux Linux affected 91581c4b3f29e2e22aeb1a62e842d529ca638b2d 1e94d6b3c7c9bad8acfe9a1e9fe1f34ee4354fa5 git Not specified
CNA Linux Linux affected 91581c4b3f29e2e22aeb1a62e842d529ca638b2d 24cafd9580627f9f066296f4a6ce1b282a3f425d git Not specified
CNA Linux Linux affected 6.11 Not specified
CNA Linux Linux unaffected 6.11 semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1e94d6b3c7c9bad8acfe9a1e9fe1f34ee4354fa5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e7c506ae22ca46ecadcf05d408977965c0ecdb90 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1d82149635177c4a87f603853d58c3105df25242 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/24cafd9580627f9f066296f4a6ce1b282a3f425d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report