CVE-2022-48981
kernel: drm/shmem-helper: Remove errant put in error path
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 21, 2024
Updated · September 14, 2026
Description
A flaw was found in the Linux kernel's drm/shmem-helper component. A local attacker with administrative or root privileges could exploit a use-after-free vulnerability. This occurs because the drm_gem_shmem_mmap() function prematurely frees a Graphics Execution Manager (GEM) object due to an incorrect reference handling, potentially leading to system instability or information disclosure.
Statement
This issue is considered to be a moderate impact flaw, as the exploitation for this will need an ADMIN (or ROOT) privilege (PR:H).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-416 · Use After Free