Public vulnerability disclosure

CVE-2026-72063

gpio: tegra: do not call pinctrl for GPIO direction

published

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.

Technical severityUnscoredNo score in collected sources
Published2026-08-15Source updated 2026-11-06
Collected2026-11-062 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ 11da905412833d9b369a6a09a401f87149d674dc; < 89904b4f1dc0f9550c3f206dcdfceed0b7ce7c49 (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < d3b92d16e1c4debec7526b6dbb2d98d0aeed796b (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < 616188becd4a208afbae1653fc5241e1748bae80 (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < e57a4845b0da60a7b9f052160878097826320954 (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < cd17c5a1d9f186b57e9e2949be427803b7110a5c (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < ac761e66708d51dac35c4c7f1891ea991dc788f0 (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < 628c63f96f4564fa145f602af2d41daf9532201f (affected, git)
≥ 11da905412833d9b369a6a09a401f87149d674dc; < d3e91a95b2b0fc6336dbf3ec90d831a1654d2720 (affected, git)
Other versions: unaffected
CNA: Linux
Linux
Linux
5.1 (affected)
≥ 0; < 5.1 (unaffected, semver)
≥ 5.10.266; ≤ 5.10.* (unaffected, semver)
≥ 5.15.217; ≤ 5.15.* (unaffected, semver)
≥ 6.1.184; ≤ 6.1.* (unaffected, semver)
≥ 6.6.148; ≤ 6.6.* (unaffected, semver)
≥ 6.12.97; ≤ 6.12.* (unaffected, semver)
≥ 6.18.40; ≤ 6.18.* (unaffected, semver)
≥ 7.1.5; ≤ 7.1.* (unaffected, semver)
≥ 7.2; ≤ * (unaffected, original_commit_for_fix)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide