CVE-2025-38190 atm: Revert atm_account_tx() if copy_from_iter_full() fails.

Medium 5.5 Published Updated

A missing resource reversion in the Linux kernel ATM subsystem allows attackers to leak sockets, potentially causing denial of service.

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-2025-38190?

CVE-2025-38190 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 4 Jul 2025. 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:

atm: Revert atm_account_tx() if copy_from_iter_full() fails.

In vcc_sendmsg(), we account skb->truesize to sk->sk_wmem_alloc by atm_account_tx().

It is expected to be reverted by atm_pop_raw() later called by vcc->dev->ops->send(vcc, skb).

However, vcc_sendmsg() misses the same revert when copy_from_iter_full() fails, and then we will leak a socket.

Let's factorise the revert part as atm_return_tx() and call it in the failure path.

Note that the corresponding sk_wmem_alloc operation can be found in alloc_tx() as of the blamed commit.

$ git blame -L:alloc_tx net/atm/common.c c55fa3cccbc2c~

Which versions are affected by CVE-2025-38190?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38190?

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-2025-38190 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-64761, BELL-CVE-2025-38190, DEBIAN-CVE-2025-38190, GHSA-pj7v-5fgv-5fg6, ROOT-OS-DEBIAN-11-CVE-2025-38190, ROOT-OS-DEBIAN-12-CVE-2025-38190 and 3 more.

Is CVE-2025-38190 in your software?

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

Check your SBOMs for free