Kernel memory corruption via zloop teardown use-after-free
Published Aug 22, 2025 · Updated May 11, 2026
Use-after-free in Linux 6.16 allows local users to trigger invalid kernel memory access by removing a zoned loop device. zloop_ctl_remove calls put_disk, which reaches zloop_free_disk and frees the zlo object, then passes zlo->tag_set to blk_mq_free_tag_set. Reaching the flaw requires local low-privileged access and control of zloop-device removal; KASAN reports the resulting kernel bug.
Summary
What happened
Use-after-free in Linux 6.16 allows local users to trigger invalid kernel memory access by removing a zoned loop device. zloop_ctl_remove calls put_disk, which reaches zloop_free_disk and frees the zlo object, then passes zlo->tag_set to blk_mq_free_tag_set. Reaching the flaw requires local low-privileged access and control of zloop-device removal; KASAN reports the resulting kernel bug.
The record
- CVE
- CVE-2025-38620
- Published
- Aug 22, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 22, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.16
- Affected versionversion=eb0570c7df23c2f32fe899fcdaf8fca9a5ecd51e <765761851d89c772f482494d452e266795460278
- Affected versionversion=eb0570c7df23c2f32fe899fcdaf8fca9a5ecd51e <c7c87046b41a9ef28ee7ac476c369da5b5228bc5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo