nvme-pci: fix mempool alloc size
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.163, 5.15.87, 6.0.17, 6.1.3
- CVEs
- CVE-2022-50756
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-50756
Kernel
Fixed versions: 5.10.163, 5.15.87, 6.0.17, 6.1.3
Complete source record
{
"id": "4a9129633c2fa6164aee8bb5ef72fa00f6468ca5c9df3972300a0e4a8267c2e9",
"url": "https://osv.dev/vulnerability/CVE-2022-50756",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "nvme-pci: fix mempool alloc size",
"summary": "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.",
"evidence": "osv:CVE-2022-50756",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.163",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.87",
"evidence": "/affected/1/ranges"
},
{
"value": "6.0.17",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2022-50756",
"aliases": [
"CVE-2022-50756"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "943e942e6266f22babee5efeb00f8f672fbff5bd"
},
{
"fixed": "dfb6d54893d544151e7f480bc44cfe7823f5ad23"
},
{
"fixed": "9141144b37f30e3e7fa024bcfa0a13011e546ba9"
},
{
"fixed": "e1777b4286e526c58b4ee699344b0ad85aaf83a0"
},
{
"fixed": "b1814724e0d7162bdf4799f2d565381bc2251c63"
},
{
"fixed": "c89a529e823d51dd23c7ec0c047c7a454a428541"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50756.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.18.0"
},
{
"fixed": "5.10.163"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.87"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.0.17"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50756.json"
}
}
],
"modified": "2026-10-28T02:30:49.154764177Z",
"provider": "osv",
"references": [
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50756.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50756",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50756.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50756",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517234,
"published_at": "2025-12-24T13:05:49.635+00:00"
}