CVE-2021-47168 (GCVE-0-2021-47168)
Vulnerability from cvelistv5 – Published: 2024-03-25 09:16 – Updated: 2026-08-05 08:46| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
16b374ca439fb406e46e071f75428f5b033056f8 , < 9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040
(git)
Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1 (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < f299522eda1566cbfbae4b15c82970fc41b03714 (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < 945ebef997227ca8c20bad7f8a8358c8ee57a84a (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < e411df81cd862ef3d5b878120b2a2fef0ca9cdb1 (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < 9b367fe770b1b80d7bf64ed0d177544a44405f6e (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < d34fb628f6ef522f996205a9e578216bbee09e84 (git) Affected: 16b374ca439fb406e46e071f75428f5b033056f8 , < 769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 (git) |
guessed | |
| Linux | Linux |
Affected:
2.6.37
Unaffected: 0 , < 2.6.37 (semver) Unaffected: 4.4.271 , ≤ 4.4.* (semver) Unaffected: 4.9.271 , ≤ 4.9.* (semver) Unaffected: 4.14.235 , ≤ 4.14.* (semver) Unaffected: 4.19.193 , ≤ 4.19.* (semver) Unaffected: 5.4.124 , ≤ 5.4.* (semver) Unaffected: 5.10.42 , ≤ 5.10.* (semver) Unaffected: 5.12.9 , ≤ 5.12.* (semver) Unaffected: 5.13 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:24:39.927Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47168",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-10T15:54:34.857777Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-09-11T17:33:52.333Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "f299522eda1566cbfbae4b15c82970fc41b03714",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "945ebef997227ca8c20bad7f8a8358c8ee57a84a",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "e411df81cd862ef3d5b878120b2a2fef0ca9cdb1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "9b367fe770b1b80d7bf64ed0d177544a44405f6e",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "d34fb628f6ef522f996205a9e578216bbee09e84",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "769b01ea68b6c49dc3cde6adf7e53927dacbd3a8",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.37"
},
{
"lessThan": "2.6.37",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"version": "4.4.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.235",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.124",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.42",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"version": "5.12.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.13",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.4.271",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.271",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.235",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.193",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.124",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.42",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.9",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.13",
"versionStartIncluding": "2.6.37",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: fix an incorrect limit in filelayout_decode_layout()\n\nThe \"sizeof(struct nfs_fh)\" is two bytes too large and could lead to\nmemory corruption. It should be NFS_MAXFHSIZE because that\u0027s the size\nof the -\u003edata[] buffer.\n\nI reversed the size of the arguments to put the variable on the left."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The bug is reached when the NFSv4.1 pNFS filelayout client parses a LAYOUTGET layout blob from a remote metadata server over NFS/RPC; a malicious or compromised MDS (or MITM) delivers the oversized filehandle over the network.\nAC:L - The attacker fully controls the LAYOUTGET XDR and can set fh size to 129\u2013130 to pass the incorrect sizeof check and deterministically overflow; no race or special victim-side memory layout is required.\nPR:N - Exploitation requires no privileges on the victim client\u2014the attacker only needs to be (or impersonate) the NFS metadata server sending protocol responses after a normal pNFS mount/session.\nUI:N - In the highest-impact deployment\u2014an already-mounted enterprise/HPC/cloud pNFS share (fstab/autofs)\u2014routine file I/O or LAYOUTGET-on-OPEN triggers the decode path with no further interactive victim action.\nS:U - The heap overflow corrupts memory only within the client kernel\u2019s security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - This is attacker-controlled heap memory corruption (OOB write of up to two bytes past the allocated nfs_fh, with oversized fh-\u003esize reused on later encode/copy paths), which can be leveraged for kernel information disclosure.\nI:H - The out-of-bounds write into the heap-allocated nfs_fh object is memory corruption suitable for adjacent-object/control-flow primitives; the same class of 1\u20132 byte NFS fh overflow (CVE-2021-4157) was assessed as privilege-escalation capable.\nA:H - Heap corruption in kernel context can cause oops/panic (and is reliably fatal under KASAN/debug allocators), fully denying availability of the client host."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T08:46:28.312Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
},
{
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
}
],
"title": "NFS: fix an incorrect limit in filelayout_decode_layout()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47168",
"datePublished": "2024-03-25T09:16:20.778Z",
"dateReserved": "2024-03-25T09:12:14.111Z",
"dateUpdated": "2026-08-05T08:46:28.312Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2021-47168",
"date": "2026-12-06",
"epss": "0.00766",
"percentile": "0.56905"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "f299522eda1566cbfbae4b15c82970fc41b03714",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "945ebef997227ca8c20bad7f8a8358c8ee57a84a",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "e411df81cd862ef3d5b878120b2a2fef0ca9cdb1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "9b367fe770b1b80d7bf64ed0d177544a44405f6e",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "d34fb628f6ef522f996205a9e578216bbee09e84",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "769b01ea68b6c49dc3cde6adf7e53927dacbd3a8",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.37"
},
{
"lessThan": "2.6.37",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"version": "4.4.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.235",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.124",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.42",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"version": "5.12.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.13",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "AA9C0516-0AB8-4BC5-8058-1896E469EB2D",
"versionEndExcluding": "4.4.271",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "1E7DAE3A-78E9-45DB-96D8-4541CD7DC26B",
"versionEndExcluding": "4.9.271",
"versionStartIncluding": "4.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "03A23445-0C1A-42AB-AC5C-768360DDF32C",
"versionEndExcluding": "4.14.235",
"versionStartIncluding": "4.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "C8DEF3EC-88D9-4B89-8CF9-64BD6C863C9D",
"versionEndExcluding": "4.19.193",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "06FE0F99-F7A9-462A-8355-30E2EDA9826B",
"versionEndExcluding": "5.4.124",
"versionStartIncluding": "4.20",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "C3E7E799-1C8A-45FB-9E07-4731996144C9",
"versionEndExcluding": "5.10.42",
"versionStartIncluding": "5.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "2C8A1D02-81A7-44E5-ACFD-CC6A6694F930",
"versionEndExcluding": "5.12.9",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*",
"matchCriteriaId": "0CBAD0FC-C281-4666-AB2F-F8E6E1165DF7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*",
"matchCriteriaId": "96AC23B2-D46A-49D9-8203-8E1BEDCA8532",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*",
"matchCriteriaId": "DA610E30-717C-4700-9F77-A3C9244F3BFD",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: fix an incorrect limit in filelayout_decode_layout()\n\nThe \"sizeof(struct nfs_fh)\" is two bytes too large and could lead to\nmemory corruption. It should be NFS_MAXFHSIZE because that\u0027s the size\nof the -\u003edata[] buffer.\n\nI reversed the size of the arguments to put the variable on the left."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFS: corrige un l\u00edmite incorrecto en filelayout_decode_layout() El \"sizeof(struct nfs_fh)\" es dos bytes demasiado grande y podr\u00eda provocar da\u00f1os en la memoria. Deber\u00eda ser NFS_MAXFHSIZE porque ese es el tama\u00f1o del b\u00fafer -\u0026gt;datos[]. Invert\u00ed el tama\u00f1o de los argumentos para poner la variable a la izquierda."
}
],
"id": "CVE-2021-47168",
"lastModified": "2026-08-04T10:16:50.143",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"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"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2021-47168",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-10T15:54:34.857777Z",
"version": "2.0.3"
}
}
]
},
"published": "2024-03-25T10:15:08.773",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-23T17:59:08+00:00",
"cve": "CVE-2021-47168",
"id": "CVE-2021-47168",
"initial_release_date": "2021-01-01T00:00:00+00:00",
"product_status:known_affected": "90",
"product_status:known_not_affected": "109",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: NFS: fix an incorrect limit in filelayout_decode_layout()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47168.json",
"version": "3"
},
"vulnrichment": {
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:24:39.927Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47168",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-10T15:54:34.857777Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-09-11T12:42:19.338Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "f299522eda1566cbfbae4b15c82970fc41b03714",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "945ebef997227ca8c20bad7f8a8358c8ee57a84a",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "e411df81cd862ef3d5b878120b2a2fef0ca9cdb1",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "9b367fe770b1b80d7bf64ed0d177544a44405f6e",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "d34fb628f6ef522f996205a9e578216bbee09e84",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
},
{
"lessThan": "769b01ea68b6c49dc3cde6adf7e53927dacbd3a8",
"status": "affected",
"version": "16b374ca439fb406e46e071f75428f5b033056f8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/nfs/filelayout/filelayout.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.37"
},
{
"lessThan": "2.6.37",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"version": "4.4.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.235",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.124",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.42",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"version": "5.12.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.13",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.4.271",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.271",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.235",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.193",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.124",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.42",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.9",
"versionStartIncluding": "2.6.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.13",
"versionStartIncluding": "2.6.37",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: fix an incorrect limit in filelayout_decode_layout()\n\nThe \"sizeof(struct nfs_fh)\" is two bytes too large and could lead to\nmemory corruption. It should be NFS_MAXFHSIZE because that\u0027s the size\nof the -\u003edata[] buffer.\n\nI reversed the size of the arguments to put the variable on the left."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The bug is reached when the NFSv4.1 pNFS filelayout client parses a LAYOUTGET layout blob from a remote metadata server over NFS/RPC; a malicious or compromised MDS (or MITM) delivers the oversized filehandle over the network.\nAC:L - The attacker fully controls the LAYOUTGET XDR and can set fh size to 129\u2013130 to pass the incorrect sizeof check and deterministically overflow; no race or special victim-side memory layout is required.\nPR:N - Exploitation requires no privileges on the victim client\u2014the attacker only needs to be (or impersonate) the NFS metadata server sending protocol responses after a normal pNFS mount/session.\nUI:N - In the highest-impact deployment\u2014an already-mounted enterprise/HPC/cloud pNFS share (fstab/autofs)\u2014routine file I/O or LAYOUTGET-on-OPEN triggers the decode path with no further interactive victim action.\nS:U - The heap overflow corrupts memory only within the client kernel\u2019s security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - This is attacker-controlled heap memory corruption (OOB write of up to two bytes past the allocated nfs_fh, with oversized fh-\u003esize reused on later encode/copy paths), which can be leveraged for kernel information disclosure.\nI:H - The out-of-bounds write into the heap-allocated nfs_fh object is memory corruption suitable for adjacent-object/control-flow primitives; the same class of 1\u20132 byte NFS fh overflow (CVE-2021-4157) was assessed as privilege-escalation capable.\nA:H - Heap corruption in kernel context can cause oops/panic (and is reliably fatal under KASAN/debug allocators), fully denying availability of the client host."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T08:46:28.312Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040"
},
{
"url": "https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1"
},
{
"url": "https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714"
},
{
"url": "https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a"
},
{
"url": "https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1"
},
{
"url": "https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e"
},
{
"url": "https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84"
},
{
"url": "https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8"
}
],
"title": "NFS: fix an incorrect limit in filelayout_decode_layout()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47168",
"datePublished": "2024-03-25T09:16:20.778Z",
"dateReserved": "2024-03-25T09:12:14.111Z",
"dateUpdated": "2026-08-05T08:46:28.312Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
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.
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.