CVE-2025-38620: Linux kernel · zloop: fix KASAN use-after-free of tag set
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 20 Nov 2026, 01:35 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 19 Nov 2026.
What to do
Affected software
| Product | 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-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-intelpkg:deb/ubuntu/linux-intel?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-oem-6.8pkg:deb/ubuntu/linux-oem-6.8?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 fix is available that reorders the freeing of resources in the zloop device removal code to prevent use-after-free. Users should apply the updated Linux kernel versions that include this fix. No additional mitigations are indicated beyond applying the official patch.
Description
A use-after-free vulnerability was identified and fixed in the Linux kernel's zloop device removal code. The issue occurs when the kernel's KASAN feature reports a use-after-free bug due to improper ordering of memory freeing calls in zloop_ctl_remove(). Specifically, blk_mq_free_tag_set() was called after the memory it accessed was freed, leading to the bug. The fix moves the call to blk_mq_free_tag_set() to occur before the memory is freed, preventing the use-after-free condition.
References
- ubuntu.com/security/CVE-2025-38620 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38620 (opens in a new tab)
- git.kernel.org/linus/765761851d89c772f482494d452e266795460278 (opens in a new tab)
- git.kernel.org/stable/c/765761851d89c772f482494d452e266795460278 (opens in a new tab)
- git.kernel.org/stable/c/c7c87046b41a9ef28ee7ac476c369da5b5228bc5 (opens in a new tab)