CVE-2025-38411
published critical CVSS 3.1 · 9.8netfs: Fix double put of request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux329ba1cb402ac328224965b8fc7a554a5150908e to < d18facba5a5795ad44b2a00a052e3db2fa77ab12 · 2b1424cd131cfaba4cf7040473133d26cddac088 to < 9df7b5ebead649b00bf9a53a798e4bf83a1318fd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15.3 to < 6.15.6 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.14 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-aws-6.14-cloud-tools-6.14.0-1015 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-aws-6.14-headers-6.14.0-1015 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-aws-6.14-tools-6.14.0-1015 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
Show 92 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.14 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-azure-6.14-cloud-tools-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-azure-6.14-headers-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-azure-6.14-tools-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-azure-nvidia-6.14 | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-azure-nvidia-6.14-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-azure-nvidia-6.14-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-azure-nvidia-6.14-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-gcp-6.14 | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-gcp-6.14-headers-6.14.0-1018 | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-gcp-6.14-tools-6.14.0-1018 | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-headers-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-headers-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-headers-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-headers-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-headers-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-headers-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-headers-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-headers-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-headers-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-headers-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-lib-rust-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-modules-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-modules-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-modules-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-modules-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-modules-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-modules-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-modules-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-modules-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-modules-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-modules-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-modules-ipu6-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-modules-ipu7-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-modules-usbio-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-modules-vision-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-oem-6.14 | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-oem-6.14-headers-6.14.0-1014 | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-oem-6.14-tools-6.14.0-1014 | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-oracle-6.14 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-oracle-6.14-headers-6.14.0-1015 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-oracle-6.14-tools-6.14.0-1015 | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-realtime-6.14 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-realtime-6.14-cloud-tools-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-realtime-6.14-headers-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-realtime-6.14-tools-6.14.0-1014 | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-tools-6.14.0-1007-azure-nvidia | Advisory build | 6.14.0-1007.7 | USN-7834-1 |
| Ubuntu | noble | linux-tools-6.14.0-1014-azure | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7834-1 |
| Ubuntu | noble | linux-tools-6.14.0-1014-oem | Advisory build | 6.14.0-1014.14 | USN-7833-1 |
| Ubuntu | noble | linux-tools-6.14.0-1014-realtime | Advisory build | 6.14.0-1014.14~24.04.1 | USN-7833-2 |
| Ubuntu | noble | linux-tools-6.14.0-1015-aws | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-tools-6.14.0-1015-aws-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-3 |
| Ubuntu | noble | linux-tools-6.14.0-1015-oracle | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-tools-6.14.0-1015-oracle-64k | Advisory build | 6.14.0-1015.15~24.04.1 | USN-7833-1 |
| Ubuntu | noble | linux-tools-6.14.0-1018-gcp | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
| Ubuntu | noble | linux-tools-6.14.0-1018-gcp-64k | Advisory build | 6.14.0-1018.19~24.04.1 | USN-7833-4 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The pause loop is entered only when `NETFS_RREQ_PAUSE` is set, which happens in `netfs_read_subreq_terminated()`/`netfs_write_collection()` in response to subrequest errors, short reads or retry conditions produced by the remote file server (cifs/SMB, 9p, AFS, Ceph). A malicious, compromised, or MITM'd server drives the entire trigger sequence over the network with no local access. AC:L - The remote server controls both halves of the sequence — it chooses which subrequest to fail (setting PAUSE) and when to complete the remaining subrequests, so it can reliably make the request finish while the app thread is in the pause loop. Nothing depends on conditions outside the attacker's influence, and the attempt can be repeated on every read/write until it lands. PR:N - The attacker is the network peer itself (the file server or an on-path attacker on an unsigned/unencrypted SMB/9p connection) and needs no account, credentials, or privileges on the victim client. All processing happens in the client's normal I/O path with no capability check between the received response and the double put. UI:N - Once a share is mounted — an ordinary pre-existing system configuration, not a per-attack action — any routine read, readahead, direct I/O or write-through by any process on the client triggers the path. No victim interaction is needed at exploitation time, consistent with the adjacent netfs collection-path CVEs. S:U - The corrupted object is a kernel heap allocation (`struct netfs_io_request`) and the impact stays within the kernel's own security authority. There is no crossing of a VM, IOMMU, or sandbox boundary. C:H - The double `netfs_put_request()` drives the refcount to zero while the issuing thread still dereferences the request, reading `rreq->error`, `->transferred`, `->origin`, `->submitted` and `->len` out of freed slab memory. Because `netfs_io_request` comes from a dedicated mempool that can be re-filled by attacker-paced requests, the reclaimed contents can be groomed to leak arbitrary kernel data. I:H - The premature free yields a use-after-free write — a `refcount_dec` and a second `queue_work()` on `rreq->cleanup_work` inside an object that has been reallocated — which corrupts workqueue list pointers and gives a controllable write primitive suitable for control-flow hijack. The second collector pass additionally re-invokes `->ki_complete()` and `inode_dio_end()`, double-completing an AIO/io_uring request and underflowing `i_dio_count`. A:H - Even without grooming, the refcount underflow, double free and use-after-free reliably produce a refcount WARN, slab corruption, or kernel oops/panic, and the double `inode_dio_end()` underflow can wedge subsequent direct I/O on the inode. A hostile server can trigger it repeatedly to keep the client down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 329ba1cb402ac328224965b8fc7a554a5150908e to < d18facba5a5795ad44b2a00a052e3db2fa77ab12 (affected · git)2b1424cd131cfaba4cf7040473133d26cddac088 to < 9df7b5ebead649b00bf9a53a798e4bf83a1318fd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15.3 to < 6.15.6 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
netfs: Fix double put of request
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 594e22155e384325dbd990b9d4c6a97afb5a38ffbd6be6d48a316c5fb96e377a
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record