Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2025-38190

medium

In the Linux kernel, the following vulnerability has been resolved: atm: Revert atm_account_tx() if copy_from_iter_full() fails.

Vendor / product: Linux — linux kernel

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~

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-07-04 14:15
Modified: 2026-11-05 21:18
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 21:23 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥2.6.13 <5.4.295, ≥5.5 <5.10.239, ≥5.11 <5.15.186, ≥5.16 <6.1.142, ≥6.2 <6.6.95, ≥6.7 <6.12.35
debian / debian_linux 11.0

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/2252c539c43f9a1431a7e8b34e3c18e9dd77a96d
Patch / mitigation: https://git.kernel.org/stable/c/287b4f085d2ca3375cf1ee672af27410c64777e8
Patch / mitigation: https://git.kernel.org/stable/c/3902205eadf35db59dbc2186c2a98b9e6182efa5
Patch / mitigation: https://git.kernel.org/stable/c/3d828519bd69bfcaabdd942a872679617ef06739
Patch / mitigation: https://git.kernel.org/stable/c/5e0d00992118e234ebf29d5145c1cc920342777e
Patch / mitigation: https://git.kernel.org/stable/c/7851263998d4269125fd6cb3fdbfc7c6db853859
Patch / mitigation: https://git.kernel.org/stable/c/7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685
Patch / mitigation: https://git.kernel.org/stable/c/c12430edd92fd49a4800b0f3fb395b50cb16bcc1

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 21:23 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs