Files
vuln-cve/data/2023/53xxx/CVE-2023-53171.json
T

219 lines
9.9 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-53171",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-15T13:59:19.064Z",
"datePublished": "2025-09-15T14:04:04.544Z",
"dateUpdated": "2026-11-05T20:21:06.077Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T19:39:38.716Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/type1: prevent underflow of locked_vm via exec()\n\nWhen a vfio container is preserved across exec, the task does not change,\nbut it gets a new mm with locked_vm=0, and loses the count from existing\ndma mappings. If the user later unmaps a dma mapping, locked_vm underflows\nto a large unsigned value, and a subsequent dma map request fails with\nENOMEM in __account_locked_vm.\n\nTo avoid underflow, grab and save the mm at the time a dma is mapped.\nUse that mm when adjusting locked_vm, rather than re-acquiring the saved\ntask's mm, which may have changed. If the saved mm is dead, do nothing.\n\nlocked_vm is incremented for existing mappings in a subsequent patch."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/vfio/vfio_iommu_type1.c"
],
"versions": [
{
"version": "73fa0d10d077d9521ee2dace2307ae2c9a965336",
"lessThan": "5a271242716846cc016736fb76be2b40ee49b0c3",
"status": "affected",
"versionType": "git"
},
{
"version": "73fa0d10d077d9521ee2dace2307ae2c9a965336",
"lessThan": "eafb81c50da899dd80b340c841277acc4a1945b7",
"status": "affected",
"versionType": "git"
},
{
"version": "73fa0d10d077d9521ee2dace2307ae2c9a965336",
"lessThan": "a6b2aabe664098d5cf877ae0fd96459464a30e17",
"status": "affected",
"versionType": "git"
},
{
"version": "73fa0d10d077d9521ee2dace2307ae2c9a965336",
"lessThan": "b0790dff0760b7734cf0961f497ad64628ca550b",
"status": "affected",
"versionType": "git"
},
{
"version": "73fa0d10d077d9521ee2dace2307ae2c9a965336",
"lessThan": "046eca5018f8a5dd1dc2cedf87fb5843b9ea3026",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/vfio/vfio_iommu_type1.c"
],
"versions": [
{
"version": "3.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.6",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.173",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.99",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.16",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2.3",
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.6",
"versionEndExcluding": "5.10.173"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.6",
"versionEndExcluding": "5.15.99"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.6",
"versionEndExcluding": "6.1.16"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.6",
"versionEndExcluding": "6.2.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.6",
"versionEndExcluding": "6.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/5a271242716846cc016736fb76be2b40ee49b0c3"
},
{
"url": "https://git.kernel.org/stable/c/eafb81c50da899dd80b340c841277acc4a1945b7"
},
{
"url": "https://git.kernel.org/stable/c/a6b2aabe664098d5cf877ae0fd96459464a30e17"
},
{
"url": "https://git.kernel.org/stable/c/b0790dff0760b7734cf0961f497ad64628ca550b"
},
{
"url": "https://git.kernel.org/stable/c/046eca5018f8a5dd1dc2cedf87fb5843b9ea3026"
}
],
"title": "vfio/type1: prevent underflow of locked_vm via exec()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-53171",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-05T20:19:31.308390Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-05T20:21:06.077Z"
}
}
]
}
}