{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-53171","published":"2025-09-15T14:15:38.940000Z","last_modified":"2026-11-05T21:17:17.777000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.6","version_end_excluding":"5.10.173"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.99"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.2.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00228,"percentile":0.08096,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2023-53171/","html_en":"/en/cve/CVE-2023-53171/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-53171","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-53171"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/046eca5018f8a5dd1dc2cedf87fb5843b9ea3026","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5a271242716846cc016736fb76be2b40ee49b0c3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a6b2aabe664098d5cf877ae0fd96459464a30e17","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b0790dff0760b7734cf0961f497ad64628ca550b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/eafb81c50da899dd80b340c841277acc4a1945b7","tags":["Patch"]}]}}