{"id":"CVE-2025-38190","title":"atm: Revert atm_account_tx() if copy_from_iter_full() fails.","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\natm: Revert atm_account_tx() if copy_from_iter_full() fails.\n\nIn vcc_sendmsg(), we account skb->truesize to sk->sk_wmem_alloc by\natm_account_tx().\n\nIt is expected to be…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5e0d00992118e234ebf29d5145c1cc920342777e","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c12430edd92fd49a4800b0f3fb395b50cb16bcc1","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 287b4f085d2ca3375cf1ee672af27410c64777e8","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2252c539c43f9a1431a7e8b34e3c18e9dd77a96d","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3902205eadf35db59dbc2186c2a98b9e6182efa5","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3d828519bd69bfcaabdd942a872679617ef06739","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7851263998d4269125fd6cb3fdbfc7c6db853859","Linux 2.6.12"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:50:55.432970Z"},"published":"2025-07-04","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:52:18.709Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38190","references":[{"url":"https://git.kernel.org/stable/c/5e0d00992118e234ebf29d5145c1cc920342777e"},{"url":"https://git.kernel.org/stable/c/c12430edd92fd49a4800b0f3fb395b50cb16bcc1"},{"url":"https://git.kernel.org/stable/c/287b4f085d2ca3375cf1ee672af27410c64777e8"},{"url":"https://git.kernel.org/stable/c/2252c539c43f9a1431a7e8b34e3c18e9dd77a96d"},{"url":"https://git.kernel.org/stable/c/3902205eadf35db59dbc2186c2a98b9e6182efa5"},{"url":"https://git.kernel.org/stable/c/3d828519bd69bfcaabdd942a872679617ef06739"},{"url":"https://git.kernel.org/stable/c/7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685"},{"url":"https://git.kernel.org/stable/c/7851263998d4269125fd6cb3fdbfc7c6db853859"}],"tags":["cve.org"],"epss":0.00205,"epssPercentile":0.1058,"ingestedAt":"2026-11-05T22:38:31.929Z","slug":"CVE-2025-38190","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\natm: Revert atm_account_tx() if copy_from_iter_full() fails.\n\nIn vcc_sendmsg(), we account skb->truesize to sk->sk_wmem_alloc by\natm_account_tx().\n\nIt is expected to be reverted by atm_pop_raw() later called by\nvcc->dev->ops->send(vcc, skb).\n\nHowever, vcc_sendmsg() misses the same revert when copy_from_iter_full()\nfails, and then we will leak a socket.\n\nLet's factorise the revert part as atm_return_tx() and call it in\nthe failure path.\n\nNote that the corresponding sk_wmem_alloc operation can be found in\nalloc_tx() as of the blamed commit.\n\n  $ git blame -L:alloc_tx net/atm/common.c c55fa3cccbc2c~\n\n## Affected\n\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5e0d00992118e234ebf29d5145c1cc920342777e`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c12430edd92fd49a4800b0f3fb395b50cb16bcc1`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 287b4f085d2ca3375cf1ee672af27410c64777e8`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2252c539c43f9a1431a7e8b34e3c18e9dd77a96d`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3902205eadf35db59dbc2186c2a98b9e6182efa5`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3d828519bd69bfcaabdd942a872679617ef06739`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7d6bc28cfe5c8e3a279b4b4bdeed6698b2702685`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7851263998d4269125fd6cb3fdbfc7c6db853859`\n- `Linux 2.6.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}