CVE-2022-48981

drm/shmem-helper: Remove errant put in error path

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 08:05 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.835.16 ≤ v < 6.0.135.2 ≤ v < 5.10.1595.2 ≤ v < 5.15.835.2 ≤ v < 5.4.2275.2 ≤ v < 6.0.135.2 ≤ v < 6.15.5 ≤ v < 5.10.1592194a63a818db71065ebe09c8104f5f021ca4e7b6.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc66.1 rc76.1 rc8
Vendor states this is fixed in 24013314be6ee4ee456114a671e9fa3461323de8 (fixed)
Vendor states this is fixed in 585a07b820059462e0c93b76c7de2cd946b26b40 (fixed)
Vendor states this is fixed in 586847b98e20ab02212ca5c1fc46680384e68a28 (fixed)
Vendor states this is fixed in 6a4da05acd062ae7774b6b19cef2b7d922902d36 (fixed)
Vendor states this is fixed in 83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942 (fixed)
Vendor states this is fixed in 5.10.159 (unaffected)
Vendor states this is fixed in 5.15.83 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.227 (unaffected)
Vendor states this is fixed in 6.0.13 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24013314be6ee4ee456114a671e9fa3461323de8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/585a07b820059462e0c93b76c7de2cd946b26b40
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/586847b98e20ab02212ca5c1fc46680384e68a28
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a4da05acd062ae7774b6b19cef2b7d922902d36
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card