{"id":"CVE-2026-99149","summary":"drm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl\n\nWhen amdgpu_hmm_range_alloc() fails amdgpu_gem_userptr_ioctl() returns\n-ENOMEM right away and skips the cleanup every other error path goes\nthrough. The GEM object, the bo-\u003eparent reference on the VM root and the\nMMU notifier registration are all left behind.\n\nUse release_object here, not user_pages_done, range is still NULL at\nthis point.\n\n(cherry picked from commit bbe739e407a542073ec1a7872b14843566b4919e)","modified":"2026-10-30T02:47:23.127084215Z","published":"2026-10-28T10:35:05.015Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99149.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3c516a5646285442e1cd71dff2584b77eb4fc421"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64a6d40156ae98caafc922c6d79fe202b0acd836"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99149.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99149"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e095b55155ef69a8ae0eb114a7fd2a381c012f33"},{"fixed":"64a6d40156ae98caafc922c6d79fe202b0acd836"},{"fixed":"3c516a5646285442e1cd71dff2584b77eb4fc421"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99149.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99149.json"}}],"schema_version":"1.9.2"}