CVE-2026-43181
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.17
and later are affected. Fixed in
6.18.16,
6.19.6,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-43181 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/54f463494eb5bf193ef7d904a493474c451734df
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6766f59012301f1bf3f46c6e7149caca45d92309
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a645cc25904b0baf508b77a0402ce151212b9800
Frequently asked questions
-
What is CVE-2026-43181?
CVE-2026-43181 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.17 onward and has been patched in 6.18.16, 6.19.6 and 7.0. CVE-2026-43181 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-43181?
CVE-2026-43181 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-43181?
Yes — CVE-2026-43181 has been patched. Fixed versions include 6.18.16, 6.19.6 and 7.0. If you are running Linux kernel 6.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-43181 actively exploited?
No — CVE-2026-43181 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.