CVE Database›Document archive›CVE-2022-50756

CVE-2022-50756

kernel: nvme-pci: fix mempool alloc size

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · October 30, 2026

Description

A flaw was addressed in the Linux kernel’s nvme-pci driver related to how the driver calculated the worst-case number of PRP (Physical Region Page) lists required for a given I/O request. The implementation previously rounded the allocation to one list instead of correctly converting the maximum size into bytes before computing the divisor. Under certain rare conditions (for example, a 4 MiB transfer split across many physical segments on a queue that does not support SGLs), this calculation error could result in memory being corrupted beyond the size provided by the mempool. This memory corruption has been observed using kfence

Statement

This vulnerability is rated as Moderate impact for Red Hat Enterprise Linux because triggering the flaw requires local access and highly unusual I/O transfer conditions that are difficult to induce intentionally. An attacker or unprivileged local user would need to generate a specific large I/O payload across fragmented physical segments on non-SGL NVMe queues to trigger the out-of-bounds memory write. Consequently, the primary operational blast radius is confined to local denial of service via kernel panic or memory corruption rather than arbitrary code execution.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

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

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer