# CVE-2025-38411: netfs: Fix double put of request

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-07-25T13:20:15.835Z
- Modified: 2026-08-05T12:01:40.641Z
- Weaknesses: CWE-415
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 329ba1cb402ac328224965b8fc7a554a5150908e before d18facba5a5795ad44b2a00a052e3db2fa77ab12; from 2b1424cd131cfaba4cf7040473133d26cddac088 before 9df7b5ebead649b00bf9a53a798e4bf83a1318fd; from 6.15.3 before 6.15.6
- linux linux_kernel: from 6.15.3 before 6.15.6; 6.16

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/d18facba5a5795ad44b2a00a052e3db2fa77ab12> (patch)
- <https://git.kernel.org/stable/c/9df7b5ebead649b00bf9a53a798e4bf83a1318fd> (patch)

## Sources

- CVE List: [CVE-2025-38411](https://www.cve.org/CVERecord?id=CVE-2025-38411), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38411](https://nvd.nist.gov/vuln/detail/CVE-2025-38411), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38411 · Whole record: https://cve.day/CVE-2025-38411.json · Rebuilt by cve.day 2026-11-25T22:59:01.699Z
