{"id":"CVE-2022-48981","summary":"drm/shmem-helper: Remove errant put in error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/shmem-helper: Remove errant put in error path\n\ndrm_gem_shmem_mmap() doesn't own this reference, resulting in the GEM\nobject getting prematurely freed leading to a later use-after-free.","modified":"2026-04-11T12:43:22.912227Z","published":"2024-10-21T20:05:59.043Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4364-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48981.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24013314be6ee4ee456114a671e9fa3461323de8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/585a07b820059462e0c93b76c7de2cd946b26b40"},{"type":"WEB","url":"https://git.kernel.org/stable/c/586847b98e20ab02212ca5c1fc46680384e68a28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a4da05acd062ae7774b6b19cef2b7d922902d36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48981.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48981"},{"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":"2194a63a818db71065ebe09c8104f5f021ca4e7b"},{"fixed":"585a07b820059462e0c93b76c7de2cd946b26b40"},{"fixed":"6a4da05acd062ae7774b6b19cef2b7d922902d36"},{"fixed":"83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942"},{"fixed":"586847b98e20ab02212ca5c1fc46680384e68a28"},{"fixed":"24013314be6ee4ee456114a671e9fa3461323de8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48981.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.4.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48981.json"}}],"schema_version":"1.7.5"}