# CVE-2022-48981: drm/shmem-helper: Remove errant put in error path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-10-21T20:05:59.043Z
- Modified: 2026-08-05T08:53:14.133Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2194a63a818db71065ebe09c8104f5f021ca4e7b before 585a07b820059462e0c93b76c7de2cd946b26b40; from 2194a63a818db71065ebe09c8104f5f021ca4e7b before 6a4da05acd062ae7774b6b19cef2b7d922902d36; from 2194a63a818db71065ebe09c8104f5f021ca4e7b before 83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942; from 2194a63a818db71065ebe09c8104f5f021ca4e7b before 586847b98e20ab02212ca5c1fc46680384e68a28; from 2194a63a818db71065ebe09c8104f5f021ca4e7b before 24013314be6ee4ee456114a671e9fa3461323de8; 5.2 (not affected: before 5.2; from 5.4.227 up to 5.4.*; from 5.10.159 up to 5.10.*; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/585a07b820059462e0c93b76c7de2cd946b26b40> (patch)
- <https://git.kernel.org/stable/c/6a4da05acd062ae7774b6b19cef2b7d922902d36> (patch)
- <https://git.kernel.org/stable/c/83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942> (patch)
- <https://git.kernel.org/stable/c/586847b98e20ab02212ca5c1fc46680384e68a28> (patch)
- <https://git.kernel.org/stable/c/24013314be6ee4ee456114a671e9fa3461323de8> (patch)

## Sources

- CVE List: [CVE-2022-48981](https://www.cve.org/CVERecord?id=CVE-2022-48981), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48981](https://nvd.nist.gov/vuln/detail/CVE-2022-48981), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48981 · Whole record: https://cve.day/CVE-2022-48981.json · Rebuilt by cve.day 2026-11-25T22:58:20.015Z
