---
id: CVE-2026-92482
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip

  The gpio_chip is allocated with device-managed memory but registered with
  the non-managed gpiochip_add_da…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip

  The gpio_chip is allocated with device-managed memory but registered with
  the non-managed gpiochip_add_da…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= a6df410d420aa4ff316797d352f69e7ebae5ff98 <
    b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b
  - >-
    Linux >= a6df410d420aa4ff316797d352f69e7ebae5ff98 <
    9c650317ba553d297f3fc5f0ae40ec53d86f9dab
  - Linux 4.1
published: '2026-09-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:18:04.487'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92482'
references:
  - url: 'https://git.kernel.org/stable/c/01b5fcdc30c0ab35af960b60508eae1f7f7d32fd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9c650317ba553d297f3fc5f0ae40ec53d86f9dab'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92482.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-92482'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536371'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-92482'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92482'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-92482.mbox
  - url: 'https://git.kernel.org/stable/c/dc6e5d802c88468290fee8826dd3a54cf58da25a'
  - url: 'https://git.kernel.org/stable/c/2490528a90a26f408ec3e95f865bad35454f9ff3'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00209
epssPercentile: 0.10945
ingestedAt: '2026-09-17T16:21:47.788Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-825
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip

The gpio_chip is allocated with device-managed memory but registered with
the non-managed gpiochip_add_data(). This was harmless while the drivers
were built-in, but once they can be built as modules and unbound/rmmod'd,
devm frees the gpio_chip's memory while it is still registered, causing a
use-after-free.

Register it with devm_gpiochip_add_data() so it shares the same
device-managed lifecycle, which also lets the manual gpiochip_remove()
error paths go away.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92482.json)
