CVE-2022-50767 fbdev: smscufx: Fix several use-after-free bugs

Not scored Published Updated

A use-after-free vulnerability in the Linux kernel smscufx driver allows local attackers to execute arbitrary code or escalate privileges by physically removing a USB device.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-50767?

CVE-2022-50767 is an use after free vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

fbdev: smscufx: Fix several use-after-free bugs

Several types of UAFs can occur when physically removing a USB device.

Adds ufx_ops_destroy() function to .fb_destroy of fb_ops, and in this function, there is kref_put() that finally calls ufx_free().

This fix prevents multiple UAFs.

Which versions are affected by CVE-2022-50767?

How do I fix CVE-2022-50767?

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-50767 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-50767, GHSA-gvc9-3fj4-7qr5, UBUNTU-CVE-2022-50767.

Is CVE-2022-50767 in your software?

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

Check your SBOMs for free