# CVE-2025-22004: net: atm: fix use after free in lec\_send()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-04-03T07:19:06.022Z
- **Modified:** 2026-08-05T11:55:57.189Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50e288097c2c6e5f374ae079394436fc29d1e88e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82d9084a97892de1ee4881eb5c17911fcd9be6f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51e8be9578a2e74f9983d8fd8de8cafed191f30c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9566f6ee13b17a15d0a47667ad1b1893c539f730; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 326223182e4703cde99fdbd36d07d0b3de9980fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3271f7548385e0096739965961c7cbf7e6b4762; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3009d0d6ab78053117f8857b921a8237f4d17b3
- Anyone running Linux 2.6.12

## 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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50e288097c2c6e5f374ae079394436fc29d1e88e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82d9084a97892de1ee4881eb5c17911fcd9be6f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51e8be9578a2e74f9983d8fd8de8cafed191f30c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9566f6ee13b17a15d0a47667ad1b1893c539f730; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 326223182e4703cde99fdbd36d07d0b3de9980fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3271f7548385e0096739965961c7cbf7e6b4762; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3009d0d6ab78053117f8857b921a8237f4d17b3 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-22004. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22004.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 50e288097c2c6e5f374ae079394436fc29d1e88e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 82d9084a97892de1ee4881eb5c17911fcd9be6f6; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 50e288097c2c6e5f374ae079394436fc29d1e88e, Linux 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7, Linux 82d9084a97892de1ee4881eb5c17911fcd9be6f6, Linux 51e8be9578a2e74f9983d8fd8de8cafed191f30c, Linux 9566f6ee13b17a15d0a47667ad1b1893c539f730, Linux 326223182e4703cde99fdbd36d07d0b3de9980fb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-22004 being exploited?

There is no confirmed exploitation: CVE-2025-22004 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-22004?

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-22004?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50e288097c2c6e5f374ae079394436fc29d1e88e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82d9084a97892de1ee4881eb5c17911fcd9be6f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51e8be9578a2e74f9983d8fd8de8cafed191f30c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9566f6ee13b17a15d0a47667ad1b1893c539f730; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 326223182e4703cde99fdbd36d07d0b3de9980fb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3271f7548385e0096739965961c7cbf7e6b4762; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f3009d0d6ab78053117f8857b921a8237f4d17b3; Linux 2.6.12.

### Is there a fix for CVE-2025-22004?

Yes. Fixed in Linux 50e288097c2c6e5f374ae079394436fc29d1e88e, Linux 8cd90c7db08f32829bfa1b5b2b11fbc542afbab7, Linux 82d9084a97892de1ee4881eb5c17911fcd9be6f6, Linux 51e8be9578a2e74f9983d8fd8de8cafed191f30c, Linux 9566f6ee13b17a15d0a47667ad1b1893c539f730, Linux 326223182e4703cde99fdbd36d07d0b3de9980fb. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-22004?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/51e8be9578a2e74f9983d8fd8de8cafed191f30c>
- patch: <https://git.kernel.org/stable/c/9566f6ee13b17a15d0a47667ad1b1893c539f730>
- patch: <https://git.kernel.org/stable/c/326223182e4703cde99fdbd36d07d0b3de9980fb>
- patch: <https://git.kernel.org/stable/c/f3271f7548385e0096739965961c7cbf7e6b4762>
- patch: <https://git.kernel.org/stable/c/f3009d0d6ab78053117f8857b921a8237f4d17b3>
- other: <https://git.kernel.org/stable/c/50e288097c2c6e5f374ae079394436fc29d1e88e>
- other: <https://git.kernel.org/stable/c/8cd90c7db08f32829bfa1b5b2b11fbc542afbab7>
- other: <https://git.kernel.org/stable/c/82d9084a97892de1ee4881eb5c17911fcd9be6f6>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-22004>

HTML: <https://flawdb.com/CVE-2025-22004> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-22004>
