{"id":"CVE-2022-50454","aliases":["CVE-2022-50454"],"related":[],"kind":"vulnerability","state":"published","title":"drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()\n\nnouveau_bo_init() is backed by ttm_bo_init() and ferries its return code\nback to the caller. On failures, ttm will call nouveau_bo_del_ttm() and\nfree the memory.Thus, when nouveau_bo_init() returns an error, the gem\nobject has already been released. Then the call to nouveau_bo_ref() will\nuse the freed \"nvbo->bo\" and lead to a use-after-free bug.\n\nWe should delete the call to nouveau_bo_ref() to avoid the use-after-free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()\n\nnouveau_bo_init() is backed by ttm_bo_init() and ferries its return code\nback to the caller. On failures, ttm will call nouveau_bo_del_ttm() and\nfree the memory.Thus, when nouveau_bo_init() returns an error, the gem\nobject has already been released. Then the call to nouveau_bo_ref() will\nuse the freed \"nvbo->bo\" and lead to a use-after-free bug.\n\nWe should delete the call to nouveau_bo_ref() to avoid the use-after-free.","source":"cvelist"}],"published":"2025-10-01T11:45:27.337Z","modified":"2026-08-05T08:58:51.159Z","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"},{"scorer":"NVD","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":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"56ee9577915dc06f55309901012a9ef68dbdb5a8","status":"affected"},{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"5d6093c49c098d86c7b136aba9922df44aeb6944","status":"affected"},{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"861f085f81fd569b02cc2c11165a9e6cca144424","status":"affected"},{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"3aeda2fe6517cc52663d4ce3588dd43f0d4124a7","status":"affected"},{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"7d80473e9f12548ac05b36af4fb9ce80f2f73509","status":"affected"},{"type":"git","introduced":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","fixed":"540dfd188ea2940582841c1c220bd035a7db0e51","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.4.220"},{"status":"affected","introduced":"5.5","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/56ee9577915dc06f55309901012a9ef68dbdb5a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d6093c49c098d86c7b136aba9922df44aeb6944","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/861f085f81fd569b02cc2c11165a9e6cca144424","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3aeda2fe6517cc52663d4ce3588dd43f0d4124a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d80473e9f12548ac05b36af4fb9ce80f2f73509","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/540dfd188ea2940582841c1c220bd035a7db0e51","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50454","url":"https://www.cve.org/CVERecord?id=CVE-2022-50454","licence":"CVE Terms of Use","modified":"2026-08-05T08:58:51.159Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50454","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50454","licence":"Public domain","modified":"2026-08-04T10:18:17.227Z"}],"updatedAt":"2026-11-25T22:58:21.225Z","epss":{"score":0.0017,"percentile":0.06694,"date":"2026-12-01T12:00:22.000Z"}}