{"id":"CVE-2026-99162","state":"PUBLISHED","title":"gpio: shared: fix use-after-free bug when adding shared proxies","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: shared: fix use-after-free bug when adding shared proxies\n\nThe GPIO lookup table can stay alive for longer than the kobject whose\nname string's address we're assigning to lookup->dev_id. Fix a potential\nUAF by duplicating the string.","publishedAt":"2026-10-28T10:35:14.755Z","updatedAt":"2026-10-28T10:35:14.755Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a060b8c511abb0997381b397e52149a5e3e5259a","status":"affected","lessThan":"8861491f8501516429e0e6c9d7a056480047227c","versionType":"git"},{"version":"a060b8c511abb0997381b397e52149a5e3e5259a","status":"affected","lessThan":"bd22f7e63509fa758cf500d9af3e88a3d3df96be","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib-shared.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib-shared.c"]}],"references":["https://git.kernel.org/stable/c/8861491f8501516429e0e6c9d7a056480047227c","https://git.kernel.org/stable/c/bd22f7e63509fa758cf500d9af3e88a3d3df96be"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99162.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99162","state":"PUBLISHED","datePublished":"2026-10-28T10:35:14.755Z","dateUpdated":"2026-10-28T10:35:14.755Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.397Z"},"containers":{"cna":{"title":"gpio: shared: fix use-after-free bug when adding shared proxies","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: shared: fix use-after-free bug when adding shared proxies\n\nThe GPIO lookup table can stay alive for longer than the kobject whose\nname string's address we're assigning to lookup->dev_id. Fix a potential\nUAF by duplicating the string."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a060b8c511abb0997381b397e52149a5e3e5259a","status":"affected","lessThan":"8861491f8501516429e0e6c9d7a056480047227c","versionType":"git"},{"version":"a060b8c511abb0997381b397e52149a5e3e5259a","status":"affected","lessThan":"bd22f7e63509fa758cf500d9af3e88a3d3df96be","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib-shared.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib-shared.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8861491f8501516429e0e6c9d7a056480047227c"},{"url":"https://git.kernel.org/stable/c/bd22f7e63509fa758cf500d9af3e88a3d3df96be"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-28T10:35:14.755Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}