Double Free in Linux

CVE-2025-38411

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix double put of request If a netfs request finishes during the pause loop, it will have the ref that belongs to the IN_PROGRESS flag removed at that point - however, if it then goes to the final wait loop, that will *also* put the ref because it sees that the IN_PROGRESS flag is clear and incorrectly assumes that this happened when it called the collector. In fact, since IN_PROGRESS is clear, we shouldn't call the collector again since it's done all the cleanup, such as calling ->ki_complete(). Fix this by making netfs_collect_in_app() just return, indicating that we're done if IN_PROGRESS is removed.

Vulnerability class: Double Free

EPSS: 0.002 (5.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions 329ba1cb402ac328224965b8fc7a554a5150908e, 2b1424cd131cfaba4cf7040473133d26cddac088, 6.15.3
  • Linux Linux_kernel — versions 6.16

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-38411?
CVE-2025-38411 is a critical-severity vulnerability in Linux, classified under Double Free. CVSS score: 9.8/10. Published 2025-07-25.
How severe is CVE-2025-38411?
Critical severity. CVSS v3 base score is 9.8 out of 10.