CVE-2026-23026 dmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()

Medium 5.5 Published Updated

A memory leak in the Qualcomm GPI DMA driver can lead to resource exhaustion and denial of service in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23026?

CVE-2026-23026 is a medium-severity denial of service vulnerability in Linux kernel, published on 31 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-401

Which versions are affected by CVE-2026-23026?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-23026?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-23026 being exploited?

There is no known exploitation of CVE-2026-23026 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-23026, DEBIAN-CVE-2026-23026, GHSA-r4rx-4jr3-hmp7, ROOT-OS-DEBIAN-12-CVE-2026-23026, ROOT-OS-DEBIAN-13-CVE-2026-23026, ROOT-OS-UBUNTU-2204-CVE-2026-23026 and 2 more.

Is CVE-2026-23026 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free