CVE-2026-43181
gpio: sysfs: fix chip removal with GPIOs exported over sysfs
Mitigation
- Upgrade Linux to 6766f59012301f1bf3f46c6e7149caca45d92309 or later.
Who should check
- Anyone running Linux >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 54f463494eb5bf193ef7d904a493474c451734df; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < a645cc25904b0baf508b77a0402ce151212b9800; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 6766f59012301f1bf3f46c6e7149caca45d92309
- Anyone running Linux 6.17
Vulnerability facts
- Affected
- Linux >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 54f463494eb5bf193ef7d904a493474c451734df; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < a645cc25904b0baf508b77a0402ce151212b9800; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 6766f59012301f1bf3f46c6e7149caca45d92309; Linux 6.17
- Fixed in
- Linux 54f463494eb5bf193ef7d904a493474c451734df, Linux 6766f59012301f1bf3f46c6e7149caca45d92309
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 54f463494eb5bf193ef7d904a493474c451734df; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < a645cc25904b0baf508b77a0402ce151212b9800; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 6766f59012301f1bf3f46c6e7149caca45d92309 | — | cvelist |
| Linux | 6.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-43181. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-43181.md Affected: Linux >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 54f463494eb5bf193ef7d904a493474c451734df; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < a645cc25904b0baf508b77a0402ce151212b9800; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 6766f59012301f1bf3f46c6e7149caca45d92309; Linux 6.17 Fixed in: Linux 54f463494eb5bf193ef7d904a493474c451734df, Linux 6766f59012301f1bf3f46c6e7149caca45d92309 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-43181 being exploited?
There is no confirmed exploitation: CVE-2026-43181 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-43181?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-43181?
Linux >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 54f463494eb5bf193ef7d904a493474c451734df; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < a645cc25904b0baf508b77a0402ce151212b9800; >= 1cd53df733c21ae0d344a2dec941a3e2a06fefd9, < 6766f59012301f1bf3f46c6e7149caca45d92309; Linux 6.17.
Is there a fix for CVE-2026-43181?
Yes. Fixed in Linux 54f463494eb5bf193ef7d904a493474c451734df, Linux 6766f59012301f1bf3f46c6e7149caca45d92309. Upgrade Linux to 6766f59012301f1bf3f46c6e7149caca45d92309 or later.
How do I check if I'm affected by CVE-2026-43181?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.