{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50454","id":"CVE-2022-50454","title":"drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()","description":"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 th","descriptionLong":"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.","published":"2025-10-01T11:45:27.337Z","updated":"2026-10-28T02:30:40.813765924Z","reserved":"2025-10-01T11:38:45.640Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"56ee9577915dc06f55309901012a9ef68dbdb5a8","status":"affected","versionType":"git"},{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"5d6093c49c098d86c7b136aba9922df44aeb6944","status":"affected","versionType":"git"},{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"861f085f81fd569b02cc2c11165a9e6cca144424","status":"affected","versionType":"git"},{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"3aeda2fe6517cc52663d4ce3588dd43f0d4124a7","status":"affected","versionType":"git"},{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"7d80473e9f12548ac05b36af4fb9ce80f2f73509","status":"affected","versionType":"git"},{"version":"019cbd4a4feb3aa3a917d78e7110e3011bbff6d5","lessThan":"540dfd188ea2940582841c1c220bd035a7db0e51","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.4.220","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.150","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.75","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.17","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0.3","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/56ee9577915dc06f55309901012a9ef68dbdb5a8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5d6093c49c098d86c7b136aba9922df44aeb6944","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/861f085f81fd569b02cc2c11165a9e6cca144424","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3aeda2fe6517cc52663d4ce3588dd43f0d4124a7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7d80473e9f12548ac05b36af4fb9ce80f2f73509","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/540dfd188ea2940582841c1c220bd035a7db0e51","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50454.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50454","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00164,"epssPercentile":0.05638,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50454","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50454","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50454","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50454","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}