CVE-2022-50492 drm/msm: fix use-after-free on probe deferral

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's DRM MSM driver allows attackers to corrupt memory and potentially execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50492?

CVE-2022-50492 is a high-severity use after free vulnerability in Linux kernel, published on 4 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm: fix use-after-free on probe deferral

The bridge counter was never reset when tearing down the DRM device so that stale pointers to deallocated structures would be accessed on the next tear down (e.g. after a second late bind deferral).

Given enough bridges and a few probe deferrals this could currently also lead to data beyond the bridge array being corrupted.

Patchwork: https://patchwork.freedesktop.org/patch/502665/

Weakness: CWE-416

Which versions are affected by CVE-2022-50492?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-50492?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-50492 being exploited?

There is no known exploitation of CVE-2022-50492 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-75134, DEBIAN-CVE-2022-50492, GHSA-j42x-ghgc-wq35, ROOT-OS-DEBIAN-11-CVE-2022-50492, ROOT-OS-UBUNTU-2204-CVE-2022-50492, UBUNTU-CVE-2022-50492.

Is CVE-2022-50492 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free