What’s Vulnerable › Vulnerabilities
CVE-2022-48981: drm/shmem-helper: Remove errant put in error path
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
- Weakness: CWE-416
Description
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.
Affected products
- Linux kernel: from 5.2 before 5.4.227; from 5.5 before 5.10.159; from 5.11 before 5.15.83; from 5.16 before 6.0.13; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5, 6.1-rc6 (+2) — fixed in 5.10.159, 5.15.83, 5.4.227, 6.0.13
How to fix
Upgrade to a fixed version: Linux kernel 5.10.159, 5.15.83, 5.4.227, 6.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/24013314be6ee4ee456114a671e9fa3461323de8
- https://git.kernel.org/stable/c/585a07b820059462e0c93b76c7de2cd946b26b40
- https://git.kernel.org/stable/c/586847b98e20ab02212ca5c1fc46680384e68a28
- https://git.kernel.org/stable/c/6a4da05acd062ae7774b6b19cef2b7d922902d36
- https://git.kernel.org/stable/c/83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942
Get alerted when CVE-2022-48981 or the next vulnerability affects your stack