CVE-2026-43138: reset: gpio: suppress bind attributes in sysfs
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-43138 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit cee544a40e4426040946e685988b1489f13e6600 and fixed in 6.12.75 with commit 09d6efc6abd42809956d598906c222ccd1c8ae92 Issue introduced in 6.9 with commit cee544a40e4426040946e685988b1489f13e6600 and fixed in 6.18.16 with commit 76801c3dfca0ac6339a23e9615b5f23e25b8644c Issue introduced in 6.9 with commit cee544a40e4426040946e685988b1489f13e6600 and fixed in 6.19.6 with commit 1d7d869f074f98c34fe23f6a56e5f3acc1f95a2b Issue introduced in 6.9 with commit cee544a40e4426040946e685988b1489f13e6600 and fixed in 7.0 with commit 16de4c6a8fe9ff497ca1aba33ef0dbee09f11952
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43138
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/reset/reset-gpio.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/09d6efc6abd42809956d598906c222ccd1c8ae92 https://git.kernel.org/stable/c/76801c3dfca0ac6339a23e9615b5f23e25b8644c https://git.kernel.org/stable/c/1d7d869f074f98c34fe23f6a56e5f3acc1f95a2b https://git.kernel.org/stable/c/16de4c6a8fe9ff497ca1aba33ef0dbee09f11952