CVE-2026-72063
gpio: tegra: do not call pinctrl for GPIO direction
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: tegra: do not call pinctrl for GPIO direction tegra_gpio_direction_input() and tegra_gpio_direction_output() already program the GPIO controller direction registers directly. The additional pinctrl_gpio_direction_input/output() calls do not add a Tegra pinctrl operation, because the Tegra pinmux ops provide GPIO request/free handling but no gpio_set_direction hook. The extra call still enters the pinctrl core and takes pctldev->mutex. Shared GPIO users can call the direction path while holding their per-line spinlock, so this otherwise redundant pinctrl direction call can sleep in an atomic context. This was found by our static analysis tool and then confirmed by manual review of tegra_gpio_probe(), the Tegra GPIO direction callbacks and the Tegra pinctrl ops. The reviewed path has a default non-sleeping struct gpio_chip while the direction callback still enters the pinctrl mutex path. A directed runtime validation kept the same non-sleeping chip registration and drove: gpio_shared_proxy_direction_output() gpiod_direction_output_raw_commit() tegra_gpio_direction_output() pinctrl_gpio_direction_output() Lockdep reported a sleep-in-atomic warning with the shared GPIO spinlock held and pinctrl_get_device_gpio_range() plus tegra_gpio_direction_output() on the stack. Do not mark the whole chip as can_sleep to paper over this: can_sleep describes whether get()/set() may sleep, and Tegra value access is MMIO. Remove the redundant pinctrl direction calls and keep pinctrl involvement in the existing request/free path.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Remove redundant pinctrl direction calls.
- Keep pinctrl involvement in request/free path.
- Ensure GPIO direction registers are programmed directly.
- Review Tegra pinctrl and GPIO driver code.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72063.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72063 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72063
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72063 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72063 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'e57a4845b0da60a7b9f052160878097826320954', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'cd17c5a1d9f186b57e9e2949be427803b7110a5c', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'ac761e66708d51dac35c4c7f1891ea991dc788f0', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': '628c63f96f4564fa145f602af2d41daf9532201f', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'd3e91a95b2b0fc6336dbf3ec90d831a1654d2720', 'versionType': 'git'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'e57a4845b0da60a7b9f052160878097826320954', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'cd17c5a1d9f186b57e9e2949be427803b7110a5c', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'ac761e66708d51dac35c4c7f1891ea991dc788f0', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': '628c63f96f4564fa145f602af2d41daf9532201f', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'd3e91a95b2b0fc6336dbf3ec90d831a1654d2720', 'versionType': 'git'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'e57a4845b0da60a7b9f052160878097826320954', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'cd17c5a1d9f186b57e9e2949be427803b7110a5c', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'ac761e66708d51dac35c4c7f1891ea991dc788f0', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': '628c63f96f4564fa145f602af2d41daf9532201f', 'versionType': 'git'}, {'status': 'affected', 'version': '11da905412833d9b369a6a09a401f87149d674dc', 'lessThan': 'd3e91a95b2b0fc6336dbf3ec90d831a1654d2720', 'versionType': 'git'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpio/gpio-tegra.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: gpio: tegra: do not call pinctrl for GPIO direction tegra_gpio_direction_input() and tegra_gpio_direction_output() already program the GPIO controller direction registers directly. The additional pinctrl_gpio_direction_input/output() calls do not add a Tegra pinctrl operation, because the Tegra pinmux ops provide GPIO request/free handling but no gpio_set_direction hook. The extra call still enters the pinctrl core and takes pctldev->mutex. Shared GPIO users can call the direction path while holding their per-line spinlock, so this otherwise redundant pinctrl direction call can sleep in an atomic context. This was found by our static analysis tool and then confirmed by manual review of tegra_gpio_probe(), the Tegra GPIO direction callbacks and the Tegra pinctrl ops. The reviewed path has a default non-sleeping struct gpio_chip while the direction callback still enters the pinctrl mutex path. A directed runtime validation kept the same non-sleeping chip registration and drove: gpio_shared_proxy_direction_output() gpiod_direction_output_raw_commit() tegra_gpio_direction_output() pinctrl_gpio_direction_output() Lockdep reported a sleep-in-atomic warning with the shared GPIO spinlock held and pinctrl_get_device_gpio_range() plus tegra_gpio_direction_output() on the stack. Do not mark the whole chip as can_sleep to paper over this: can_sleep describes whether get()/set() may sleep, and Tegra value access is MMIO. Remove the redundant pinctrl direction calls and keep pinctrl involvement in the existing request/free path. Added Reference https://git.kernel.org/stable/c/628c63f96f4564fa145f602af2d41daf9532201f Added Reference https://git.kernel.org/stable/c/ac761e66708d51dac35c4c7f1891ea991dc788f0 Added Reference https://git.kernel.org/stable/c/cd17c5a1d9f186b57e9e2949be427803b7110a5c Added Reference https://git.kernel.org/stable/c/d3e91a95b2b0fc6336dbf3ec90d831a1654d2720 Added Reference https://git.kernel.org/stable/c/e57a4845b0da60a7b9f052160878097826320954