{"id":"CVE-2026-92482","summary":"pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip","details":"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.","modified":"2026-11-18T19:57:58.142036222Z","published":"2026-09-17T16:09:59.019Z","related":["SUSE-SU-2026:24550-1","SUSE-SU-2026:24619-1","SUSE-SU-2026:24643-1","SUSE-SU-2026:24648-1","SUSE-SU-2026:24651-1","SUSE-SU-2026:24662-1","SUSE-SU-2026:24705-1","SUSE-SU-2026:5091-1","SUSE-SU-2026:5352-1","openSUSE-SU-2026:11893-1","openSUSE-SU-2026:22266-1","openSUSE-SU-2026:22307-1","openSUSE-SU-2026:22309-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92482.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01b5fcdc30c0ab35af960b60508eae1f7f7d32fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13a25cb4f0f0863afded5e915cb3bceede221426"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2490528a90a26f408ec3e95f865bad35454f9ff3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c650317ba553d297f3fc5f0ae40ec53d86f9dab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc6e5d802c88468290fee8826dd3a54cf58da25a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92482.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92482"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a6df410d420aa4ff316797d352f69e7ebae5ff98"},{"fixed":"13a25cb4f0f0863afded5e915cb3bceede221426"},{"fixed":"dc6e5d802c88468290fee8826dd3a54cf58da25a"},{"fixed":"2490528a90a26f408ec3e95f865bad35454f9ff3"},{"fixed":"01b5fcdc30c0ab35af960b60508eae1f7f7d32fd"},{"fixed":"b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b"},{"fixed":"9c650317ba553d297f3fc5f0ae40ec53d86f9dab"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92482.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92482.json"}}],"schema_version":"1.9.2"}