{"id":"CVE-2026-23026","aliases":["CVE-2026-23026"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()\n\nFix a memory leak in gpi_peripheral_config() where the original memory\npointed to by gchan->config could be lost if krealloc() fails.\n\nThe issue occurs when:\n1. gchan->config points to previously allocated memory\n2. krealloc() fails and returns NULL\n3. The function directly assigns NULL to gchan->config, losing the\n   reference to the original memory\n4. The original memory becomes unreachable and cannot be freed\n\nFix this by using a temporary variable to hold the krealloc() result\nand only updating gchan->config when the allocation succeeds.\n\nFound via static analysis and code review.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()\n\nFix a memory leak in gpi_peripheral_config() where the original memory\npointed to by gchan->config could be lost if krealloc() fails.\n\nThe issue occurs when:\n1. gchan->config points to previously allocated memory\n2. krealloc() fails and returns NULL\n3. The function directly assigns NULL to gchan->config, losing the\n   reference to the original memory\n4. The original memory becomes unreachable and cannot be freed\n\nFix this by using a temporary variable to hold the krealloc() result\nand only updating gchan->config when the allocation succeeds.\n\nFound via static analysis and code review.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndmaengine: qcom: gpi: Corrección de fuga de memoria en gpi_peripheral_config()\n\nCorrige una fuga de memoria en gpi_peripheral_config() donde la memoria original apuntada por gchan-&gt;config podría perderse si krealloc() falla.\n\nEl problema ocurre cuando:\n1. gchan-&gt;config apunta a memoria previamente asignada\n2. krealloc() falla y devuelve NULL\n3. La función asigna directamente NULL a gchan-&gt;config, perdiendo la referencia a la memoria original\n4. La memoria original se vuelve inalcanzable y no puede ser liberada\n\nCorrige esto utilizando una variable temporal para contener el resultado de krealloc() y actualizando gchan-&gt;config solo cuando la asignación tiene éxito.\n\nEncontrado mediante análisis estático y revisión de código.","source":"nvd"}],"published":"2026-01-31T11:42:05.185Z","modified":"2026-11-10T13:18:33.373Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"4532f18e4ab36def1f55cd936d0fc002b2ce34c2","status":"affected"},{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"694ab1f6f16cb69f7c5ef2452b22ba7b00a3c7c7","status":"affected"},{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"6bf4ef078fd11910988889a6c0b3698d2e0c89af","status":"affected"},{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"01b1d781394fc9b83015e3a3cd46b17bda842bd8","status":"affected"},{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"55a67ba5ac4cebfd54cc8305d4d57a0f1dfe6a85","status":"affected"},{"type":"git","introduced":"5d0c3533a19f48e5e7e73806a3e4b29cd4364130","fixed":"3f747004bbd641131d9396d87b5d2d3d1e182728","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.199","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.67","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.7","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11.1","fixed":"5.15.199"},{"status":"affected","introduced":"5.16","fixed":"6.1.162"},{"status":"affected","introduced":"6.2","fixed":"6.6.122"},{"status":"affected","introduced":"6.7","fixed":"6.12.67"},{"status":"affected","introduced":"6.13","fixed":"6.18.7"},{"status":"affected","version":"5.11"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4532f18e4ab36def1f55cd936d0fc002b2ce34c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/694ab1f6f16cb69f7c5ef2452b22ba7b00a3c7c7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bf4ef078fd11910988889a6c0b3698d2e0c89af","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01b1d781394fc9b83015e3a3cd46b17bda842bd8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55a67ba5ac4cebfd54cc8305d4d57a0f1dfe6a85","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f747004bbd641131d9396d87b5d2d3d1e182728","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23026","url":"https://www.cve.org/CVERecord?id=CVE-2026-23026","licence":"CVE Terms of Use","modified":"2026-11-10T12:41:23.370Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23026","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23026","licence":"Public domain","modified":"2026-11-10T13:18:33.373Z"}],"updatedAt":"2026-11-25T22:59:13.336Z","epss":{"score":0.0021,"percentile":0.11806,"date":"2026-12-01T12:00:22.000Z"}}