{"id":"CVE-2026-92482","aliases":["CVE-2026-92482"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip\n\nThe gpio_chip is allocated with device-managed memory but registered with\nthe non-managed gpiochip_add_data(). This was harmless while the drivers\nwere built-in, but once they can be built as modules and unbound/rmmod'd,\ndevm frees the gpio_chip's memory while it is still registered, causing a\nuse-after-free.\n\nRegister it with devm_gpiochip_add_data() so it shares the same\ndevice-managed lifecycle, which also lets the manual gpiochip_remove()\nerror paths go away.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip\n\nThe gpio_chip is allocated with device-managed memory but registered with\nthe non-managed gpiochip_add_data(). This was harmless while the drivers\nwere built-in, but once they can be built as modules and unbound/rmmod'd,\ndevm frees the gpio_chip's memory while it is still registered, causing a\nuse-after-free.\n\nRegister it with devm_gpiochip_add_data() so it shares the same\ndevice-managed lifecycle, which also lets the manual gpiochip_remove()\nerror paths go away.","source":"cvelist"}],"published":"2026-09-17T16:09:59.019Z","modified":"2026-10-30T13:20:54.903Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"13a25cb4f0f0863afded5e915cb3bceede221426","status":"affected"},{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"dc6e5d802c88468290fee8826dd3a54cf58da25a","status":"affected"},{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"2490528a90a26f408ec3e95f865bad35454f9ff3","status":"affected"},{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"01b5fcdc30c0ab35af960b60508eae1f7f7d32fd","status":"affected"},{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b","status":"affected"},{"type":"git","introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98","fixed":"9c650317ba553d297f3fc5f0ae40ec53d86f9dab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/13a25cb4f0f0863afded5e915cb3bceede221426","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc6e5d802c88468290fee8826dd3a54cf58da25a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2490528a90a26f408ec3e95f865bad35454f9ff3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01b5fcdc30c0ab35af960b60508eae1f7f7d32fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c650317ba553d297f3fc5f0ae40ec53d86f9dab","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92482","url":"https://www.cve.org/CVERecord?id=CVE-2026-92482","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:37.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92482","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92482","licence":"Public domain","modified":"2026-10-30T13:20:54.903Z"}],"updatedAt":"2026-11-25T22:59:39.418Z","epss":{"score":0.00213,"percentile":0.12402,"date":"2026-12-01T12:00:22.000Z"}}