{"id":"CVE-2026-139285","aliases":["CVE-2026-139285"],"related":[],"kind":"vulnerability","state":"published","title":"gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path\n\nA drive-by review by Sashiko reports that, where the line has not been\nconfigured as an output, gpiod_set_array_value_complex() can return\nwithout freeing potentially alloced bitmaps, thus leaking memory.\n\nCleanup the bitmaps before returning.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path\n\nA drive-by review by Sashiko reports that, where the line has not been\nconfigured as an output, gpiod_set_array_value_complex() can return\nwithout freeing potentially alloced bitmaps, thus leaking memory.\n\nCleanup the bitmaps before returning.","source":"cvelist"}],"published":"2026-11-30T13:33:20.434Z","modified":"2026-11-30T14:18:52.083Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"92ac7de3175e3c17cbb76ae752b598cfb9dadf49","fixed":"d617afb485c111a15eccb687a724e7fb51898425","status":"affected"},{"type":"git","introduced":"92ac7de3175e3c17cbb76ae752b598cfb9dadf49","fixed":"d271dafede0f3ed47827c663feacd47da8234224","status":"affected"},{"type":"git","introduced":"92ac7de3175e3c17cbb76ae752b598cfb9dadf49","fixed":"138d7365c20efe47b4caa92c46f086ec39b81f78","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/d617afb485c111a15eccb687a724e7fb51898425","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d271dafede0f3ed47827c663feacd47da8234224","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/138d7365c20efe47b4caa92c46f086ec39b81f78","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139285","url":"https://www.cve.org/CVERecord?id=CVE-2026-139285","licence":"CVE Terms of Use","modified":"2026-11-30T13:33:20.434Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139285","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139285","licence":"Public domain","modified":"2026-11-30T14:18:52.083Z"}],"updatedAt":"2026-11-30T14:33:01.559Z","epss":{"score":0.00198,"percentile":0.10116,"date":"2026-12-01T12:00:22.000Z"}}