CVE-2022-48981Published Oct 21, 2024 · Oct 21Updated Oct 28
drm/shmem-helper: Remove errant put in error path
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/shmem-helper: Remove errant put in error path
drm_gem_shmem_mmap() doesn't own this reference, resulting in the GEM object getting prematurely freed leading to a later use-after-free.
From the CVE record · Linux
The Linux kernel's drm/shmem-helper can prematurely free a GEM object when drm_gem_shmem_mmap() takes an error path, leading to a later use-after-free. The input does not establish whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the affected drm/shmem-helper code should check their versions; affected versions were not provided.