{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48899","id":"CVE-2022-48899","title":"drm/virtio: Fix GEM handle creation UAF","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Fix GEM handle creation UAF\n\nUserspace can guess the handle value and try to race GEM object creation\nwith handle close, resulting in a use-after-free if we dereference the\nobject after dropping the handle's reference.  For that reason, dropping\nthe handle's reference must be done *after* we are done dereferencing\nthe","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Fix GEM handle creation UAF\n\nUserspace can guess the handle value and try to race GEM object creation\nwith handle close, resulting in a use-after-free if we dereference the\nobject after dropping the handle's reference.  For that reason, dropping\nthe handle's reference must be done *after* we are done dereferencing\nthe object.","published":"2024-08-21T06:10:31.936Z","updated":"2026-10-28T02:31:05.165408924Z","reserved":"2024-08-21T06:06:23.291Z","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":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","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":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"19ec87d06acfab2313ee82b2a689bf0c154e57ea","status":"affected","versionType":"git"},{"version":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73","status":"affected","versionType":"git"},{"version":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"68bcd063857075d2f9edfed6024387ac377923e2","status":"affected","versionType":"git"},{"version":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"011ecdbcd520c90c344b872ca6b4821f7783b2f8","status":"affected","versionType":"git"},{"version":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"adc48e5e408afbb01d261bd303fd9fbbbaa3e317","status":"affected","versionType":"git"},{"version":"62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257","lessThan":"52531258318ed59a2dc5a43df2eaf0eb1d65438e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","lessThan":"4.4","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.164","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.89","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.7","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/19ec87d06acfab2313ee82b2a689bf0c154e57ea","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/68bcd063857075d2f9edfed6024387ac377923e2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/011ecdbcd520c90c344b872ca6b4821f7783b2f8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/adc48e5e408afbb01d261bd303fd9fbbbaa3e317","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/52531258318ed59a2dc5a43df2eaf0eb1d65438e","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48899.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48899","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":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00245,"epssPercentile":0.15918,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48899","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48899","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48899","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-48899","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}