CVE-2022-50756
In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix mempool alloc size Convert the max size to bytes to match the units of the divisor that calculates the worst-case number of PRP entries. The result is used to determine how many PRP Lists are required. The code was previously rounding this to 1 list, but we can require 2 in the worst case. In that scenario, the driver would corrupt memory beyond the size provided by the mempool. While unlikely to occur (you'd need a 4MB in exactly 127 phys segments on a queue that doesn't support SGLs), this memory corruption has been observed by kfence.
Affected versions
Linux kernel versions
4.18
and later are affected. Fixed in
5.10.163,
5.15.87,
6.0.17,
6.1.3,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2022-50756 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9141144b37f30e3e7fa024bcfa0a13011e546ba9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b1814724e0d7162bdf4799f2d565381bc2251c63
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c89a529e823d51dd23c7ec0c047c7a454a428541
Frequently asked questions
-
What is CVE-2022-50756?
CVE-2022-50756 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.18 onward and has been patched in 5.10.163, 5.15.87, 6.0.17 and others. CVE-2022-50756 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50756?
Yes — CVE-2022-50756 has been patched. Fixed versions include 5.10.163, 5.15.87, 6.0.17 and others. If you are running Linux kernel 4.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50756 actively exploited?
No — CVE-2022-50756 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.