# CVE-2026-23026: dmaengine: qcom: gpi: Fix memory leak in gpi\_peripheral\_config()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-31 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2026-23026, DEBIAN-CVE-2026-23026
- Record: https://cvemate.com/vulnerability/CVE-2026-23026 · JSON: https://cvemate.com/vulnerability/CVE-2026-23026/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

dmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()

Fix a memory leak in gpi_peripheral_config() where the original memory
pointed to by gchan->config could be lost if krealloc() fails.

The issue occurs when:
1. gchan->config points to previously allocated memory
2. krealloc() fails and returns NULL
3. The function directly assigns NULL to gchan->config, losing the
   reference to the original memory
4. The original memory becomes unreachable and cannot be freed

Fix this by using a temporary variable to hold the krealloc() result
and only updating gchan->config when the allocation succeeds.

Found via static analysis and code review.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.21%, percentile 11.771%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.8-1
- ubuntu linux (Ubuntu): \< 5.15.0-176.186 \| \< 6.8.0-117.117 \| All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1105.112 \| \< 6.8.0-1055.58 \| All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1105.112~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1057.60~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1105.112+fips1 \| \< 6.8.0-1055.58+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1110.119 \| \< 6.8.0-1056.62
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 41)

- <https://git.kernel.org/stable/c/4532f18e4ab36def1f55cd936d0fc002b2ce34c2>
- <https://git.kernel.org/stable/c/694ab1f6f16cb69f7c5ef2452b22ba7b00a3c7c7>
- <https://git.kernel.org/stable/c/6bf4ef078fd11910988889a6c0b3698d2e0c89af>
- <https://git.kernel.org/stable/c/01b1d781394fc9b83015e3a3cd46b17bda842bd8>
- <https://git.kernel.org/stable/c/55a67ba5ac4cebfd54cc8305d4d57a0f1dfe6a85>
- <https://git.kernel.org/stable/c/3f747004bbd641131d9396d87b5d2d3d1e182728>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2026-23026>
- <https://www.cve.org/CVERecord?id=CVE-2026-23026>
- <https://git.kernel.org/linus/3f747004bbd641131d9396d87b5d2d3d1e182728>
- <https://ubuntu.com/security/notices/USN-8162-1>
- <https://ubuntu.com/security/notices/USN-8180-1>
- <https://ubuntu.com/security/notices/USN-8180-2>
- <https://ubuntu.com/security/notices/USN-8186-1>
- <https://ubuntu.com/security/notices/USN-8187-1>
- <https://ubuntu.com/security/notices/USN-8188-1>
- <https://ubuntu.com/security/notices/USN-8180-3>
- <https://ubuntu.com/security/notices/USN-8180-4>
- <https://ubuntu.com/security/notices/USN-8180-5>

---

Data as of 2026-12-05T05:00:12.871Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
