{"id":"CVE-2022-50756","aliases":["CVE-2022-50756"],"related":[],"kind":"vulnerability","state":"published","title":"nvme-pci: fix mempool alloc size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-pci: fix mempool alloc size\n\nConvert the max size to bytes to match the units of the divisor that\ncalculates the worst-case number of PRP entries.\n\nThe result is used to determine how many PRP Lists are required. The\ncode was previously rounding this to 1 list, but we can require 2 in the\nworst case. In that scenario, the driver would corrupt memory beyond the\nsize provided by the mempool.\n\nWhile unlikely to occur (you'd need a 4MB in exactly 127 phys segments\non a queue that doesn't support SGLs), this memory corruption has been\nobserved by kfence.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-pci: fix mempool alloc size\n\nConvert the max size to bytes to match the units of the divisor that\ncalculates the worst-case number of PRP entries.\n\nThe result is used to determine how many PRP Lists are required. The\ncode was previously rounding this to 1 list, but we can require 2 in the\nworst case. In that scenario, the driver would corrupt memory beyond the\nsize provided by the mempool.\n\nWhile unlikely to occur (you'd need a 4MB in exactly 127 phys segments\non a queue that doesn't support SGLs), this memory corruption has been\nobserved by kfence.","source":"cvelist"}],"published":"2025-12-24T13:05:49.635Z","modified":"2026-10-15T22:17:33.853Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"943e942e6266f22babee5efeb00f8f672fbff5bd","fixed":"dfb6d54893d544151e7f480bc44cfe7823f5ad23","status":"affected"},{"type":"git","introduced":"943e942e6266f22babee5efeb00f8f672fbff5bd","fixed":"9141144b37f30e3e7fa024bcfa0a13011e546ba9","status":"affected"},{"type":"git","introduced":"943e942e6266f22babee5efeb00f8f672fbff5bd","fixed":"e1777b4286e526c58b4ee699344b0ad85aaf83a0","status":"affected"},{"type":"git","introduced":"943e942e6266f22babee5efeb00f8f672fbff5bd","fixed":"b1814724e0d7162bdf4799f2d565381bc2251c63","status":"affected"},{"type":"git","introduced":"943e942e6266f22babee5efeb00f8f672fbff5bd","fixed":"c89a529e823d51dd23c7ec0c047c7a454a428541","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.17","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.3","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dfb6d54893d544151e7f480bc44cfe7823f5ad23","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9141144b37f30e3e7fa024bcfa0a13011e546ba9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1777b4286e526c58b4ee699344b0ad85aaf83a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1814724e0d7162bdf4799f2d565381bc2251c63","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c89a529e823d51dd23c7ec0c047c7a454a428541","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:32:29.362Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50756","url":"https://www.cve.org/CVERecord?id=CVE-2022-50756","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:23.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50756","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50756","licence":"Public domain","modified":"2026-10-15T22:17:33.853Z"}],"updatedAt":"2026-11-25T22:58:21.349Z","epss":{"score":0.00216,"percentile":0.12735,"date":"2026-12-01T12:00:22.000Z"}}