{"id":"CVE-2026-72063","aliases":["CVE-2026-72063"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: tegra: do not call pinctrl for GPIO direction","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: tegra: do not call pinctrl for GPIO direction\n\ntegra_gpio_direction_input() and tegra_gpio_direction_output() already\nprogram the GPIO controller direction registers directly. The additional\npinctrl_gpio_direction_input/output() calls do not add a Tegra pinctrl\noperation, because the Tegra pinmux ops provide GPIO request/free\nhandling but no gpio_set_direction hook.\n\nThe extra call still enters the pinctrl core and takes pctldev->mutex.\nShared GPIO users can call the direction path while holding their\nper-line spinlock, so this otherwise redundant pinctrl direction call can\nsleep in an atomic context.\n\nThis was found by our static analysis tool and then confirmed by manual\nreview of tegra_gpio_probe(), the Tegra GPIO direction callbacks and the\nTegra pinctrl ops. The reviewed path has a default non-sleeping\nstruct gpio_chip while the direction callback still enters the pinctrl\nmutex path.\n\nA directed runtime validation kept the same non-sleeping chip registration\nand drove:\n\n  gpio_shared_proxy_direction_output()\n  gpiod_direction_output_raw_commit()\n  tegra_gpio_direction_output()\n  pinctrl_gpio_direction_output()\n\nLockdep reported a sleep-in-atomic warning with the shared GPIO spinlock\nheld and pinctrl_get_device_gpio_range() plus tegra_gpio_direction_output()\non the stack.\n\nDo not mark the whole chip as can_sleep to paper over this: can_sleep\ndescribes whether get()/set() may sleep, and Tegra value access is MMIO.\nRemove the redundant pinctrl direction calls and keep pinctrl involvement\nin the existing request/free path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: tegra: do not call pinctrl for GPIO direction\n\ntegra_gpio_direction_input() and tegra_gpio_direction_output() already\nprogram the GPIO controller direction registers directly. The additional\npinctrl_gpio_direction_input/output() calls do not add a Tegra pinctrl\noperation, because the Tegra pinmux ops provide GPIO request/free\nhandling but no gpio_set_direction hook.\n\nThe extra call still enters the pinctrl core and takes pctldev->mutex.\nShared GPIO users can call the direction path while holding their\nper-line spinlock, so this otherwise redundant pinctrl direction call can\nsleep in an atomic context.\n\nThis was found by our static analysis tool and then confirmed by manual\nreview of tegra_gpio_probe(), the Tegra GPIO direction callbacks and the\nTegra pinctrl ops. The reviewed path has a default non-sleeping\nstruct gpio_chip while the direction callback still enters the pinctrl\nmutex path.\n\nA directed runtime validation kept the same non-sleeping chip registration\nand drove:\n\n  gpio_shared_proxy_direction_output()\n  gpiod_direction_output_raw_commit()\n  tegra_gpio_direction_output()\n  pinctrl_gpio_direction_output()\n\nLockdep reported a sleep-in-atomic warning with the shared GPIO spinlock\nheld and pinctrl_get_device_gpio_range() plus tegra_gpio_direction_output()\non the stack.\n\nDo not mark the whole chip as can_sleep to paper over this: can_sleep\ndescribes whether get()/set() may sleep, and Tegra value access is MMIO.\nRemove the redundant pinctrl direction calls and keep pinctrl involvement\nin the existing request/free path.","source":"cvelist"}],"published":"2026-08-15T05:52:17.315Z","modified":"2026-11-06T17:19:35.860Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"89904b4f1dc0f9550c3f206dcdfceed0b7ce7c49","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"d3b92d16e1c4debec7526b6dbb2d98d0aeed796b","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"616188becd4a208afbae1653fc5241e1748bae80","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"e57a4845b0da60a7b9f052160878097826320954","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"cd17c5a1d9f186b57e9e2949be427803b7110a5c","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"ac761e66708d51dac35c4c7f1891ea991dc788f0","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"628c63f96f4564fa145f602af2d41daf9532201f","status":"affected"},{"type":"git","introduced":"11da905412833d9b369a6a09a401f87149d674dc","fixed":"d3e91a95b2b0fc6336dbf3ec90d831a1654d2720","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.10.266","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/89904b4f1dc0f9550c3f206dcdfceed0b7ce7c49","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3b92d16e1c4debec7526b6dbb2d98d0aeed796b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/616188becd4a208afbae1653fc5241e1748bae80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e57a4845b0da60a7b9f052160878097826320954","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd17c5a1d9f186b57e9e2949be427803b7110a5c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac761e66708d51dac35c4c7f1891ea991dc788f0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/628c63f96f4564fa145f602af2d41daf9532201f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3e91a95b2b0fc6336dbf3ec90d831a1654d2720","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:50:54.690Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72063","url":"https://www.cve.org/CVERecord?id=CVE-2026-72063","licence":"CVE Terms of Use","modified":"2026-11-06T16:55:19.123Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72063","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72063","licence":"Public domain","modified":"2026-11-06T17:19:35.860Z"}],"updatedAt":"2026-11-25T22:59:32.990Z","epss":{"score":0.00221,"percentile":0.13458,"date":"2026-12-01T12:00:22.000Z"}}