netfs: Fix double put of request
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.15.6
- CVEs
- CVE-2025-38411
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-38411
Kernel
Fixed versions: 6.15.6
Complete source record
{
"id": "88828bf4031e74e9249967f7fe4a8e9aabf08cd00009fece95d4a052c8bc0912",
"url": "https://osv.dev/vulnerability/CVE-2025-38411",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netfs: Fix double put of request",
"summary": "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.",
"evidence": "osv:CVE-2025-38411",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.15.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2025-38411",
"aliases": [
"CVE-2025-38411"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "329ba1cb402ac328224965b8fc7a554a5150908e"
},
{
"fixed": "d18facba5a5795ad44b2a00a052e3db2fa77ab12"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2b1424cd131cfaba4cf7040473133d26cddac088"
},
{
"fixed": "9df7b5ebead649b00bf9a53a798e4bf83a1318fd"
}
]
}
],
"versions": [
"v6.15.5",
"v6.15.4",
"v6.15.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38411.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.15.3"
},
{
"fixed": "6.15.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38411.json"
}
}
],
"modified": "2026-10-28T02:30:49.641867303Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/9df7b5ebead649b00bf9a53a798e4bf83a1318fd",
"https://git.kernel.org/stable/c/d18facba5a5795ad44b2a00a052e3db2fa77ab12",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38411.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38411",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38411.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38411",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517752,
"published_at": "2025-07-25T13:20:15.835+00:00"
}