CVE-2022-50756
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/12/2025
Last modified:
24/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nvme-pci: fix mempool alloc size<br />
<br />
Convert the max size to bytes to match the units of the divisor that<br />
calculates the worst-case number of PRP entries.<br />
<br />
The result is used to determine how many PRP Lists are required. The<br />
code was previously rounding this to 1 list, but we can require 2 in the<br />
worst case. In that scenario, the driver would corrupt memory beyond the<br />
size provided by the mempool.<br />
<br />
While unlikely to occur (you&#39;d need a 4MB in exactly 127 phys segments<br />
on a queue that doesn&#39;t support SGLs), this memory corruption has been<br />
observed by kfence.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/9141144b37f30e3e7fa024bcfa0a13011e546ba9
- https://git.kernel.org/stable/c/b1814724e0d7162bdf4799f2d565381bc2251c63
- https://git.kernel.org/stable/c/c89a529e823d51dd23c7ec0c047c7a454a428541
- https://git.kernel.org/stable/c/dfb6d54893d544151e7f480bc44cfe7823f5ad23
- https://git.kernel.org/stable/c/e1777b4286e526c58b4ee699344b0ad85aaf83a0



