CVE-2025-22004: Linux kernel · net: atm: fix use after free in lec_send()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.6 High · fixed in 5.4.0-1147.157~18.04.1 : patch Linux kernel soon.
Data as of 28 Oct 2026, 12:45 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +86
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this vulnerability is available and should be applied promptly. Ubuntu has released fixed kernel versions (e.g., 5.4.0-1147.157~18.04.1 and others) that resolve this issue. Users should update their Linux kernel packages to these fixed versions and reboot the system to apply changes. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary. No additional mitigation steps are required beyond applying the official fixes.
Description
A use-after-free vulnerability was identified and fixed in the lec_send() function of the Linux kernel's ATM networking subsystem. The flaw involved improper handling of the socket buffer (skb) length after the ->send() operation, which frees the skb, potentially leading to use-after-free conditions. This vulnerability affects multiple Linux kernel versions prior to the fixed releases. The issue has been addressed in updated kernel versions, and patches are available. The vulnerability has a high severity rating with a CVSS score of 8.6. No known exploits in the wild have been reported.
References
- ubuntu.com/security/CVE-2025-22004 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22004 (opens in a new tab)
- git.kernel.org/linus/f3009d0d6ab78053117f8857b921a8237f4d17b3 (opens in a new tab)
- git.kernel.org/stable/c/326223182e4703cde99fdbd36d07d0b3de9980fb (opens in a new tab)
- git.kernel.org/stable/c/51e8be9578a2e74f9983d8fd8de8cafed191f30c (opens in a new tab)
- git.kernel.org/stable/c/9566f6ee13b17a15d0a47667ad1b1893c539f730 (opens in a new tab)
- git.kernel.org/stable/c/f3009d0d6ab78053117f8857b921a8237f4d17b3 (opens in a new tab)
- git.kernel.org/stable/c/f3271f7548385e0096739965961c7cbf7e6b4762 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)