CVE-2025-38190

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

MEDIUM
5.5
CVSS Score
Published: July 4, 2025 at 01:37 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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~

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 5.10.2392.6.12 ≤ v < 5.15.1862.6.12 ≤ v < 5.4.2952.6.12 ≤ v < 6.1.1422.6.12 ≤ v < 6.12.352.6.12 ≤ v < 6.15.42.6.12 ≤ v < 6.162.6.12 ≤ v < 6.6.952.6.13 ≤ v < 5.4.2955.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1425.5 ≤ v < 5.10.2396.13 ≤ v < 6.15.46.2 ≤ v < 6.6.956.7 ≤ v < 6.12.351da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.122.6.12 rc22.6.12 rc32.6.12 rc42.6.12 rc56.16 rc16.16 rc2
Vendor states this is fixed in 2252c539c43f9a1431a7e8b34e3c18e9dd77a96d (fixed)
Vendor states this is fixed in 287b4f085d2ca3375cf1ee672af27410c64777e8 (fixed)
Vendor states this is fixed in 3902205eadf35db59dbc2186c2a98b9e6182efa5 (fixed)
Vendor states this is fixed in 3d828519bd69bfcaabdd942a872679617ef06739 (fixed)
Vendor states this is fixed in 5e0d00992118e234ebf29d5145c1cc920342777e (fixed)
Vendor states this is fixed in 7851263998d4269125fd6cb3fdbfc7c6db853859 (fixed)
Vendor states this is fixed in 7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685 (fixed)
Vendor states this is fixed in c12430edd92fd49a4800b0f3fb395b50cb16bcc1 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 5.4.295 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2252c539c43f9a1431a7e8b34e3c18e9dd77a96d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/287b4f085d2ca3375cf1ee672af27410c64777e8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3902205eadf35db59dbc2186c2a98b9e6182efa5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d828519bd69bfcaabdd942a872679617ef06739
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e0d00992118e234ebf29d5145c1cc920342777e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7851263998d4269125fd6cb3fdbfc7c6db853859
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c12430edd92fd49a4800b0f3fb395b50cb16bcc1

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card