CVE Database
/

CVE-2025-38190

Back to search

CVE-2025-38190

Published: Jul 4, 2025

Modified: May 11, 2026

PUBLISHED

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~

VendorProductVersions

Linux

Linux

affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 5e0d00992118e234ebf29d5145c1cc920342777e
affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < c12430edd92fd49a4800b0f3fb395b50cb16bcc1
affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 287b4f085d2ca3375cf1ee672af27410c64777e8
affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 2252c539c43f9a1431a7e8b34e3c18e9dd77a96d
affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 3902205eadf35db59dbc2186c2a98b9e6182efa5

+3 more versions

Linux

Linux

affected
2.6.12
unaffected
0 - < 2.6.12
unaffected
5.4.295 - <= 5.4.*
unaffected
5.10.239 - <= 5.10.*
unaffected
5.15.186 - <= 5.15.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now