CVE-2024-50241 (GCVE-0-2024-50241)
Vulnerability from cvelistv5 – Published: 2024-11-09 10:14 – Updated: 2026-08-05 11:42
VLAI
EPSS
VEX
Title
NFSD: Initialize struct nfsd4_copy earlier
Summary
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Initialize struct nfsd4_copy earlier
Ensure the refcount and async_copies fields are initialized early.
cleanup_async_copy() will reference these fields if an error occurs
in nfsd4_copy(). If they are not correctly initialized, at the very
least, a refcount underflow occurs.
Severity
7.5 (High)
Assigner
References
6 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
9e52ff544e0bfa09ee339fd7b0937ee3c080c24e , < 059434d23c4578d9d02efb92d848ea21bc640112
(git)
Affected: 43e46ee5efc03990b223f7aa8b77aa9c3d3acfdf , < 7267625baf365a969f1b25ded6f07b64bc90ec5b (git) Affected: 7ea9260874b779637aff6d24c344b8ef4ac862a0 , < c3074003fa6837c2b89a34d8d12d9463b59d22d6 (git) Affected: ae267989b7b7933dfedcd26468d0a88fc3a9da9e , < 421f1a2a1afb47d88de09457ef7687e1df7bc997 (git) Affected: 6a488ad7745b8f64625c6d3a24ce7e448e83f11b , < e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1 (git) Affected: aadc3bbea163b6caaaebfdd2b6c4667fbc726752 , < 63fab04cbd0f96191b6e5beedc3b643b01c15889 (git) Affected: b4e21431a0db4854b5023cd5af001be557e6c3db (git) Affected: 6.10.14 , < 6.11 (semver) |
guessed | |
| Linux | Linux |
Affected:
6.11.3 , < 6.11.7
(semver)
|
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4proc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "059434d23c4578d9d02efb92d848ea21bc640112",
"status": "affected",
"version": "9e52ff544e0bfa09ee339fd7b0937ee3c080c24e",
"versionType": "git"
},
{
"lessThan": "7267625baf365a969f1b25ded6f07b64bc90ec5b",
"status": "affected",
"version": "43e46ee5efc03990b223f7aa8b77aa9c3d3acfdf",
"versionType": "git"
},
{
"lessThan": "c3074003fa6837c2b89a34d8d12d9463b59d22d6",
"status": "affected",
"version": "7ea9260874b779637aff6d24c344b8ef4ac862a0",
"versionType": "git"
},
{
"lessThan": "421f1a2a1afb47d88de09457ef7687e1df7bc997",
"status": "affected",
"version": "ae267989b7b7933dfedcd26468d0a88fc3a9da9e",
"versionType": "git"
},
{
"lessThan": "e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1",
"status": "affected",
"version": "6a488ad7745b8f64625c6d3a24ce7e448e83f11b",
"versionType": "git"
},
{
"lessThan": "63fab04cbd0f96191b6e5beedc3b643b01c15889",
"status": "affected",
"version": "aadc3bbea163b6caaaebfdd2b6c4667fbc726752",
"versionType": "git"
},
{
"status": "affected",
"version": "b4e21431a0db4854b5023cd5af001be557e6c3db",
"versionType": "git"
},
{
"lessThan": "6.11",
"status": "affected",
"version": "6.10.14",
"versionType": "semver"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4proc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "6.11.7",
"status": "affected",
"version": "6.11.3",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.11.7",
"versionStartIncluding": "6.11.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.10.14",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Initialize struct nfsd4_copy earlier\n\nEnsure the refcount and async_copies fields are initialized early.\ncleanup_async_copy() will reference these fields if an error occurs\nin nfsd4_copy(). If they are not correctly initialized, at the very\nleast, a refcount underflow occurs."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.5,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The flaw is in nfsd\u0027s NFSv4.2 `OP_COPY` handler (`fs/nfsd/nfs4proc.c:nfsd4_copy()`), reached purely by sending a COMPOUND over TCP/2049 from a remote NFS client. The `ca_synchronous` flag that selects the vulnerable async branch is decoded directly from the wire in `nfsd4_decode_copy()`.\nAC:L - The attacker fully controls both trigger conditions \u2014 setting `ca_synchronous=false` and issuing more concurrent async COPYs than `sp_nrthreads` (default 8) by first parking several long-running copies. There is no race outside the attacker\u0027s control, no memory-layout dependency, and no unusual kernel configuration needed for the intra-server path.\nPR:N - Under AUTH_SYS \u2014 the default and overwhelmingly common NFS configuration \u2014 the server verifies no secret; a client simply asserts a UID to complete EXCHANGE_ID/CREATE_SESSION and OPEN the source/destination files, so no credentials in the CVSS sense are required. This matches the PR:N assigned to CVE-2024-53073, the companion fix to the identical error path.\nUI:N - The attacker\u0027s own COPY requests drive the entire sequence; no administrator or user on the NFS server has to open a file, mount anything, or take any action.\nS:U - The refcount underflow and leaked allocation are confined to the NFS server kernel\u0027s own memory and security authority, with no crossing into a hypervisor, IOMMU, or sandbox boundary.\nC:N - The underflow is caught by `refcount_warn_saturate()` and the object is simply never freed \u2014 there is no out-of-bounds read, no use-after-free of live data, and nothing from kernel memory is returned to the requesting client.\nI:N - No attacker-controlled write occurs: the leaked `struct nfsd4_copy` is unreachable and its refcount is saturated, so it is never reused or freed, yielding no corruption or control-flow primitive.\nA:H - `WARN_ONCE(\"refcount_t: underflow; use-after-free\")` panics the server outright on the common hardened/cloud setting `panic_on_warn=1`, and absent that, every triggering request permanently leaks a ~0.5 KB slab object, giving an unauthenticated remote client an unbounded kernel memory-exhaustion primitive that drives the NFS server to OOM."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T11:42:42.206Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/059434d23c4578d9d02efb92d848ea21bc640112"
},
{
"url": "https://git.kernel.org/stable/c/7267625baf365a969f1b25ded6f07b64bc90ec5b"
},
{
"url": "https://git.kernel.org/stable/c/c3074003fa6837c2b89a34d8d12d9463b59d22d6"
},
{
"url": "https://git.kernel.org/stable/c/421f1a2a1afb47d88de09457ef7687e1df7bc997"
},
{
"url": "https://git.kernel.org/stable/c/e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1"
},
{
"url": "https://git.kernel.org/stable/c/63fab04cbd0f96191b6e5beedc3b643b01c15889"
}
],
"title": "NFSD: Initialize struct nfsd4_copy earlier",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2024-50241",
"datePublished": "2024-11-09T10:14:51.119Z",
"dateReserved": "2024-10-21T19:36:19.976Z",
"dateUpdated": "2026-08-05T11:42:42.206Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-50241",
"date": "2026-09-18",
"epss": "0.00474",
"percentile": "0.40137"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4proc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "059434d23c4578d9d02efb92d848ea21bc640112",
"status": "affected",
"version": "9e52ff544e0bfa09ee339fd7b0937ee3c080c24e",
"versionType": "git"
},
{
"lessThan": "7267625baf365a969f1b25ded6f07b64bc90ec5b",
"status": "affected",
"version": "43e46ee5efc03990b223f7aa8b77aa9c3d3acfdf",
"versionType": "git"
},
{
"lessThan": "c3074003fa6837c2b89a34d8d12d9463b59d22d6",
"status": "affected",
"version": "7ea9260874b779637aff6d24c344b8ef4ac862a0",
"versionType": "git"
},
{
"lessThan": "421f1a2a1afb47d88de09457ef7687e1df7bc997",
"status": "affected",
"version": "ae267989b7b7933dfedcd26468d0a88fc3a9da9e",
"versionType": "git"
},
{
"lessThan": "e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1",
"status": "affected",
"version": "6a488ad7745b8f64625c6d3a24ce7e448e83f11b",
"versionType": "git"
},
{
"lessThan": "63fab04cbd0f96191b6e5beedc3b643b01c15889",
"status": "affected",
"version": "aadc3bbea163b6caaaebfdd2b6c4667fbc726752",
"versionType": "git"
},
{
"status": "affected",
"version": "b4e21431a0db4854b5023cd5af001be557e6c3db",
"versionType": "git"
},
{
"lessThan": "6.11",
"status": "affected",
"version": "6.10.14",
"versionType": "semver"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4proc.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "6.11.7",
"status": "affected",
"version": "6.11.3",
"versionType": "semver"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "A3DF55BE-3AB2-4FEF-9C96-158917FB1E4C",
"versionEndExcluding": "6.11.7",
"versionStartIncluding": "6.10.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*",
"matchCriteriaId": "7F361E1D-580F-4A2D-A509-7615F73167A1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*",
"matchCriteriaId": "925478D0-3E3D-4E6F-ACD5-09F28D5DF82C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*",
"matchCriteriaId": "3C95E234-D335-4B6C-96BF-E2CEBD8654ED",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*",
"matchCriteriaId": "E0F717D8-3014-4F84-8086-0124B2111379",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*",
"matchCriteriaId": "24DBE6C7-2AAE-4818-AED2-E131F153D2FA",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Initialize struct nfsd4_copy earlier\n\nEnsure the refcount and async_copies fields are initialized early.\ncleanup_async_copy() will reference these fields if an error occurs\nin nfsd4_copy(). If they are not correctly initialized, at the very\nleast, a refcount underflow occurs."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFSD: inicializar struct nfsd4_copy antes Aseg\u00farese de que los campos refcount y async_copies se inicialicen antes. cleanup_async_copy() har\u00e1 referencia a estos campos si se produce un error en nfsd4_copy(). Si no se inicializan correctamente, como m\u00ednimo, se produce un desbordamiento de refcount."
}
],
"id": "CVE-2024-50241",
"lastModified": "2026-08-04T11:21:36.033",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2024-11-09T11:15:09.823",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/059434d23c4578d9d02efb92d848ea21bc640112"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/421f1a2a1afb47d88de09457ef7687e1df7bc997"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Mailing List",
"Patch"
],
"url": "https://git.kernel.org/stable/c/63fab04cbd0f96191b6e5beedc3b643b01c15889"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7267625baf365a969f1b25ded6f07b64bc90ec5b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c3074003fa6837c2b89a34d8d12d9463b59d22d6"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Mailing List",
"Patch"
],
"url": "https://git.kernel.org/stable/c/e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-908"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-09-14T12:24:34+00:00",
"cve": "CVE-2024-50241",
"id": "CVE-2024-50241",
"initial_release_date": "2024-11-09T00:00:00+00:00",
"product_status:known_affected": "42",
"product_status:known_not_affected": "156",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: NFSD: Initialize struct nfsd4_copy earlier",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-50241.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…