Skip to main content

Linux Kernel CVE-2026-43181

| EUVDEUVD-2026-27743 MEDIUM
2026-05-06 Linux GHSA-gvr9-3x96-5w99
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Export GPIO pin via /sys/class/gpio/export
  2. Delivery
    Trigger GPIO controller driver unbind or physical removal
  3. Exploit
    gpiod_unexport() fails to drop final sysfs reference
  4. Execution
    Stale /sys/class/gpio entries accumulate
  5. Impact
    Kernel reference leak causes availability impact

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local system access with low-privileged credentials on a Linux kernel build between commit 1cd53df733c21ae0d344a2dec941a3e2a06fefd9 and the respective fix commits. Two specific conditions must hold concurrently: (1) the GPIO sysfs interface must be in active use - at least one GPIO pin must have been exported via /sys/class/gpio/export - and (2) the parent GPIO controller device must subsequently be unbound or physically removed while those exports remain active. Systems where the GPIO sysfs interface is not used (the majority of server and desktop deployments) are not practically exposed. The attack vector is strictly local (AV:L per CVSS), and the vulnerability cannot be triggered remotely. Unbinding GPIO controllers typically requires root or elevated privileges in standard Linux configurations, which partially limits the realistic trigger surface even if the export action itself required only low privileges.

Impact

The NVD-assigned CVSS 3.1 score of 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately captures the threat model: local access and at least low-privilege credentials are required, impact is exclusively availability, and there is no confidentiality or integrity exposure. The EPSS score of 0.02% at the 4th percentile signals negligible real-world exploitation interest, consistent with the absence of KEV listing and the absence of any public proof-of-concept. The CVSS availability rating of High reflects a potential kernel-level crash or resource exhaustion when the reference leak accumulates, but triggering this requires an uncommon event sequence (GPIO exported, controller unbound). Practical risk is concentrated in embedded Linux, industrial control, and IoT environments where GPIO sysfs is actively used and controller hot-removal or dynamic driver unbinding is routine; standard server and desktop deployments are not practically exposed. No conflicting signals between data sources were identified.

Exploit ScenarioDerived

A low-privileged local user or automated daemon on an embedded Linux system exports one or more GPIO pins via echo N > /sys/class/gpio/export. A subsequent administrative or hotplug event unbinds the GPIO controller driver (e.g., via /sys/bus/platform/drivers/<driver>/unbind or physical removal of the hardware). The kernel's gpiod_unexport() cannot resolve the descriptor-to-device association and exits without decrementing the reference count, leaving a stale sysfs attribute; repeated occurrences or subsequent kernel operations on the leaked object can cause a kernel crash or availability degradation. No public exploit code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

GPIO sysfs teardown in the Linux kernel fails to drop the final sysfs attribute reference when a GPIO controller is unbound while pins remain exported, leaving stale /sys/class/gpio entries and causing a kernel availability impact on affected systems. Kernels from commit 1cd53df733c21ae0d344a2dec941a3e2a06fefd9 through the fix are affected, with patched stable releases at 6.18.16, 6.19.6, and 7.0; Red Hat and SUSE downstream kernels incorporating the affected range are similarly impacted. No public exploit exists and the EPSS score is 0.02% (4th percentile), making this primarily a stability concern for embedded Linux deployments actively using the GPIO sysfs interface.

RemediationAI

Upgrade to Linux kernel 6.18.16, 6.19.6, or 7.0, which incorporate the corrective commits for the gpio/sysfs teardown path. Patch commits are available directly at the kernel.org stable repository links listed above. Red Hat and SUSE customers should apply updated kernel packages from their respective security channels once available; neither vendor advisory was present in the provided references, so monitor vendor security portals for errata. Where immediate patching is not feasible on embedded or industrial systems, a targeted compensating control is to unexport all GPIO pins via /sys/class/gpio/unexport before initiating any GPIO controller driver unbind or hardware removal procedure; this eliminates the precondition for the reference leak. Alternatively, avoid use of the GPIO sysfs interface entirely and use the GPIO character device (/dev/gpiochipN) instead, which is not affected by this code path. Note that restricting GPIO sysfs access via udev rules does not protect already-exported pins.

Affected VersionsENISA

Linux 1cd53df733c21ae0d344a2dec941a3e2a06fefd9 <54f463494eb5bf193ef7d904a493474c451734df
Linux patch: 6.18.16
Linux patch: 0
Linux 6.17
Linux patch: 7.0
Linux 1cd53df733c21ae0d344a2dec941a3e2a06fefd9 <a645cc25904b0baf508b77a0402ce151212b9800
Linux 1cd53df733c21ae0d344a2dec941a3e2a06fefd9 <6766f59012301f1bf3f46c6e7149caca45d92309
Linux patch: 6.19.6

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel GPIO subsystem exposes a sysfs interface under /sys/class/gpio that allows userspace to export, control, and monitor GPIO pins via the virtual filesystem. The kernel tracks exported pins using reference-counted descriptors tied to their parent GPIO controller device. The defect lies in the teardown path in gpio/sysfs: when the parent GPIO controller is unbound - whether by explicit driver unbind via sysfs or physical device removal - gpiod_unexport() can no longer associate the descriptor with the now-removed parent device, so it exits without dropping the final sysfs attribute reference. This is a missing resource release flaw (analogous to CWE-772) rooted in a race between device unregistration and sysfs attribute lifetime management; CWE is listed as N/A by NVD. The fix introduces an unlocked variant of gpiod_unexport() and forces cleanup of all exported GPIOs under sysfs_lock before the parent device is fully unregistered, closing the window where new exports could race against teardown. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector and low privileges required to export GPIOs via sysfs; sole impact is availability via kernel reference leak; no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 11, 2026 - 21:07 NVD
5.5 (MEDIUM)
Patch available
May 06, 2026 - 13:32 EUVD
CVE Published
May 06, 2026 - 11:27 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

gpio: sysfs: fix chip removal with GPIOs exported over sysfs

Currently if we export a GPIO over sysfs and unbind the parent GPIO controller, the exported attribute will remain under /sys/class/gpio because once we remove the parent device, we can no longer associate the descriptor with it in gpiod_unexport() and never drop the final reference.

Rework the teardown code: provide an unlocked variant of gpiod_unexport() and remove all exported GPIOs with the sysfs_lock taken before unregistering the parent device itself. This is done to prevent any new exports happening before we unregister the device completely.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel underlies nearly all servers, cloud, and embedded systems
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy