CVE-2025-38015: Linux kernel · dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1046.49~22.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1046.49~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1047.50~22.04.2 +29
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Jun 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.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-100.100?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1046.49?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14@6.14.0-1011.11~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1046.52?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?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 is available and included in official Ubuntu security updates (USN-7699-1). Users should update their Linux kernel packages to the fixed versions and reboot the system to apply the changes. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary. No additional mitigation is required beyond applying the official fix.
Description
A memory leak vulnerability in the Linux kernel's dmaengine idxd_alloc function was fixed. The issue involved allocated memory not being freed if an error occurred during idxd_alloc, potentially leading to resource exhaustion. This vulnerability affects specific linux-hwe-edge kernel versions. The issue has been addressed with a patch that ensures proper memory freeing in error paths. The vulnerability has a medium severity score and no known exploits in the wild. Users should apply the official kernel updates and reboot to mitigate the issue.
References
- ubuntu.com/security/CVE-2025-38015 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38015 (opens in a new tab)
- git.kernel.org/linus/46a5cca76c76c86063000a12936f8e7875295838 (opens in a new tab)
- git.kernel.org/stable/c/46a5cca76c76c86063000a12936f8e7875295838 (opens in a new tab)
- git.kernel.org/stable/c/4f005eb68890698e5abc6a3af04dab76f175c50c (opens in a new tab)
- git.kernel.org/stable/c/64afd9a1f644b27661420257dcc007d5009c99dd (opens in a new tab)
- git.kernel.org/stable/c/6e94a2c3e4c166cd2736ac225fba5889fb1e8ac0 (opens in a new tab)
- git.kernel.org/stable/c/868dbce755ec92855362d213f47e045a8388361a (opens in a new tab)
- ubuntu.com/security/notices/USN-7699-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7699-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7721-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-3 (opens in a new tab)