cve-2021-47168
Vulnerability from cvelistv5
Published
2024-03-25 09:16
Modified
2024-12-19 07:36
Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
NFS: fix an incorrect limit in filelayout_decode_layout()
The "sizeof(struct nfs_fh)" is two bytes too large and could lead to
memory corruption. It should be NFS_MAXFHSIZE because that's the size
of the ->data[] buffer.
I reversed the size of the arguments to put the variable on the left.
References
Impacted products
Vendor | Product | Version | |||||||
---|---|---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 Version: 16b374ca439fb406e46e071f75428f5b033056f8 |
||||||
|
{ "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" } ] } ], "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." } ], "providerMetadata": { "dateUpdated": "2024-12-19T07:36:29.175Z", "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-5f407fcff5a0" } } }, "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": "2024-12-19T07:36:29.175Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-47168\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-03-25T10:15:08.773\",\"lastModified\":\"2024-11-21T06:35:32.533\",\"vulnStatus\":\"Awaiting Analysis\",\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"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\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.927Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47168\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:54:34.857777Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:19.338Z\"}}], \"cna\": {\"title\": \"NFS: fix an incorrect limit in filelayout_decode_layout()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"9d280ab53df1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"b287521e9e94\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"f299522eda15\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"945ebef99722\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"e411df81cd86\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"9b367fe770b1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"d34fb628f6ef\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"16b374ca439f\", \"lessThan\": \"769b01ea68b6\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/nfs/filelayout/filelayout.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.37\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.37\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.271\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.271\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.235\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.193\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.124\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.42\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/nfs/filelayout/filelayout.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-9e1c9544281a\"}, \"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.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-11-04T12:00:43.949Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2021-47168\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-04T12:00:43.949Z\", \"dateReserved\": \"2024-03-25T09:12:14.111Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-03-25T09:16:20.778Z\", \"assignerShortName\": \"Linux\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.