CVE-2022-50756

HIGHCVSS 7.8/10EPSS 0.21%

Last modified

CVE-2022-50756 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.21%

11.8th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 943e942e6266f22babee5efeb00f8f672fbff5bd, < dfb6d54893d544151e7f480bc44cfe7823f5ad23; >= 943e942e6266f22babee5efeb00f8f672fbff5bd, < 9141144b37f30e3e7fa024bcfa0a13011e546ba9; >= 943e942e6266f22babee5efeb00f8f672fbff5bd, < e1777b4286e526c58b4ee699344b0ad85aaf83a0; >= 943e942e6266f22babee5efeb00f8f672fbff5bd, < b1814724e0d7162bdf4799f2d565381bc2251c63; >= 943e942e6266f22babee5efeb00f8f672fbff5bd, < c89a529e823d51dd23c7ec0c047c7a454a428541
LinuxLinux4.18

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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.
How severe is CVE-2022-50756?
CVE-2022-50756 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.21% probability of exploitation in the next 30 days.
How do I fix CVE-2022-50756?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2022

Are you affected by CVE-2022-50756?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST