{"id":"CVE-2022-2991","state":"PUBLISHED","title":"A heap-based buffer overflow was found in the Linux kernel's LightNVM subsystem. The issue results from the lack of proper validation of the length of user-supplied data prior to c","description":"A heap-based buffer overflow was found in the Linux kernel's LightNVM subsystem. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. This vulnerability allows a local attacker to escalate privileges and execute arbitrary code in the context of the kernel. The attacker must first obtain the ability to execute high-privileged code on the target system to exploit this vulnerability.","publishedAt":"2022-08-25T17:24:41.000Z","updatedAt":"2024-08-03T00:53:00.474Z","severity":null,"assigner":"redhat","products":["n/a kernel"],"affected":[{"vendor":"n/a","product":"kernel","versions":[{"version":"Fixed in kernel 5.15-rc1","status":"affected"}]}],"references":["https://www.zerodayinitiative.com/advisories/ZDI-22-960/","https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/lightnvm/Kconfig?h=v5.10.114&id=549209caabc89f2877ad5f62d11fca5c052e0e8"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:50:01.354Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/2xxx/CVE-2022-2991.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-2991","state":"PUBLISHED","datePublished":"2022-08-25T17:24:41.000Z","dateUpdated":"2024-08-03T00:53:00.474Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-08-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A heap-based buffer overflow was found in the Linux kernel's LightNVM subsystem. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. This vulnerability allows a local attacker to escalate privileges and execute arbitrary code in the context of the kernel. The attacker must first obtain the ability to execute high-privileged code on the target system to exploit this vulnerability."}],"affected":[{"vendor":"n/a","product":"kernel","versions":[{"version":"Fixed in kernel 5.15-rc1","status":"affected"}]}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-960/","tags":["x_refsource_MISC"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/lightnvm/Kconfig?h=v5.10.114&id=549209caabc89f2877ad5f62d11fca5c052e0e8","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-25T17:24:41.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2022-2991","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"kernel","version":{"version_data":[{"version_value":"Fixed in kernel 5.15-rc1"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A heap-based buffer overflow was found in the Linux kernel's LightNVM subsystem. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. This vulnerability allows a local attacker to escalate privileges and execute arbitrary code in the context of the kernel. The attacker must first obtain the ability to execute high-privileged code on the target system to exploit this vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-122"}]}]},"references":{"reference_data":[{"name":"https://www.zerodayinitiative.com/advisories/ZDI-22-960/","refsource":"MISC","url":"https://www.zerodayinitiative.com/advisories/ZDI-22-960/"},{"name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/lightnvm/Kconfig?h=v5.10.114&id=549209caabc89f2877ad5f62d11fca5c052e0e8","refsource":"MISC","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/lightnvm/Kconfig?h=v5.10.114&id=549209caabc89f2877ad5f62d11fca5c052e0e8"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-960/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/lightnvm/Kconfig?h=v5.10.114&id=549209caabc89f2877ad5f62d11fca5c052e0e8","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T00:53:00.474Z"}}]}}}