| From bippy-7c5fe7eed585 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-22004: net: atm: fix use after free in lec_send() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: atm: fix use after free in lec_send() |
| |
| The ->send() operation frees skb so save the length before calling |
| ->send() to avoid a use after free. |
| |
| The Linux kernel CVE team has assigned CVE-2025-22004 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.4.292 with commit 50e288097c2c6e5f374ae079394436fc29d1e88e |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.236 with commit 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.180 with commit 82d9084a97892de1ee4881eb5c17911fcd9be6f6 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.132 with commit 51e8be9578a2e74f9983d8fd8de8cafed191f30c |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.85 with commit 9566f6ee13b17a15d0a47667ad1b1893c539f730 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.21 with commit 326223182e4703cde99fdbd36d07d0b3de9980fb |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.13.9 with commit f3271f7548385e0096739965961c7cbf7e6b4762 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.14 with commit f3009d0d6ab78053117f8857b921a8237f4d17b3 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-22004 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| net/atm/lec.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/50e288097c2c6e5f374ae079394436fc29d1e88e |
| https://git.kernel.org/stable/c/8cd90c7db08f32829bfa1b5b2b11fbc542afbab7 |
| https://git.kernel.org/stable/c/82d9084a97892de1ee4881eb5c17911fcd9be6f6 |
| https://git.kernel.org/stable/c/51e8be9578a2e74f9983d8fd8de8cafed191f30c |
| https://git.kernel.org/stable/c/9566f6ee13b17a15d0a47667ad1b1893c539f730 |
| https://git.kernel.org/stable/c/326223182e4703cde99fdbd36d07d0b3de9980fb |
| https://git.kernel.org/stable/c/f3271f7548385e0096739965961c7cbf7e6b4762 |
| https://git.kernel.org/stable/c/f3009d0d6ab78053117f8857b921a8237f4d17b3 |