CVE-2025-38411: Linux Kernel netfs - Double Put Use-After-Free
- Cve: CVE-2025-38411
- Name: Linux Kernel netfs - Double Put Use-After-Free
- 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.
- Impact: Attackers can cause a double put of the request reference, potentially leading to use-after-free and kernel crash or memory corruption.
- Remediation: Update to the latest kernel version containing the fix.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirements: A netfs request must finish during the pause loop
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0038
- Epss percentile: 0.32438
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2025-07-25T14:15:32Z
- Age in days: 487
- Modified at: 2026-07-30T06:23:12Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-38411
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-415 | Double Free |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/9df7b5ebead649b00bf9a53a798e4bf83a1318fd | nvd | Patch |
| https://git.kernel.org/stable/c/d18facba5a5795ad44b2a00a052e3db2fa77ab12 | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.16 rc1; = 6.16 rc2; = 6.16 rc3; = 6.16 rc4; >= 6.15.3, < 6.15.6 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports